[05:03:08] when i as setting up mediawiki in my laptop it says like this http://imgur.com/a/F4KhZ . what should i do now ? [05:07:01] downloaded mediawiki from the mediawiki site and extracted it accordingly and can we viewd in /var/www/ like this http://imgur.com/a/X7fAh [05:14:08] aniketh_: you've tried installing that PHP extension, of course? [05:14:29] A quick question regarding coding convention. Is $foo[$bar] is better or $foo[ $bar ]? [05:14:39] legoktm: ^ [05:15:21] Amir1: $foo[$bar] in general. [05:15:21] Hi [05:15:26] Amir1: https://www.mediawiki.org/wiki/Manual:Coding_conventions/PHP#Spaces [05:15:35] thanks [05:15:36] I think there are a few cases where $foo[ $bar ] is more readable, but that's rare [05:15:55] I am a Computer Science and Engineering undergraduate at University of Moratuwa Sri Lanka and I would like to participate in the Round 13 of the Outreachy program? I am quite new to Wikipedia and any help on how to begin would be highly appreciated [05:16:16] *wikimedia [05:16:18] Awesome, thanks legoktm and enterprisey [05:16:59] riyafa_: hi, have you read through https://www.mediawiki.org/wiki/Outreach_programs/Life_of_a_successful_project ? [05:17:00] riyafa_: searched around mediawiki.org a bit and found https://www.mediawiki.org/wiki/Outreach_programs [05:17:49] aniketh_: still around? [05:18:22] enterprisey: thanks. I havent installed php extension called mbstring [05:18:52] enterprisey: installed it. now its working [05:18:56] aniketh_: wonderful! [05:19:57] Yeah I went through those and found that only one project is listed for Round-13: https://phabricator.wikimedia.org/tag/possible-tech-projects/ . Would more projects be added? [05:21:10] so, I'm not 100% sure how these sorts of things are run [05:21:18] Maybe? It depends upon mentors stepping up [05:21:22] but I personally know of loads of projects that could be done as part of an Outreachy-like thing [05:21:32] Pywikibot, for example, usually does lots of GSoC stuff [05:22:08] quite a few of the open community tech requests don't require super-intimate knowledge of relevant systems, so those would work fine too [09:12:07] hiya [11:07:35] Is good day [11:07:48] Just bought my most expensive domain ever [11:08:06] Whopping ~ 43€ / annum [11:09:32] I need to find out about the Wikimedia-tech way of doing http and https connections being separated so that there is no accidental leaking of user data if s/he chooses to https but sometimes by accident goes in unencrypted [11:09:49] Is #mediawiki or #wikimedia-tech better to ask about this kind of stuff? [11:10:04] another [11:10:51] if I start with only one lang.. can I name put it to the main domain? [11:12:03] the domain I bought is wiki.study btw .. gonna move this Business Study Wiki http://globba12.si/wiki/ over there and make it a generalist study resource and not only that right wing crap they push in the business school [11:22:05] yep.. [11:22:25] not gonna call the english server en.wiki.study .. is gonna be our.wiki.study [11:22:42] lets just hope someone else cares about copyleft learning materials besides me [11:23:04] for this one I probably want the Wiki Family approach? [11:23:42] I gather the Wikimedia cluster is too heavy to use the Wiki Family but that the Wiki Family would be good for few to few dozens of low volume wikis ? [12:25:59] What are jobs by the job_cmd "enqueue" doing? In DefaultSettings.php they are defined as "local queue for multi-DC setups". I ask because I get thousands of these per hour for job_title "Main_Page" [12:27:11] https://upload.wikimedia.org/wikipedia/mediawiki/b/b1/Capture_09092016_170355.png [12:36:18] Subfader: The code for what it does is here at least: https://doc.wikimedia.org/mediawiki-core/1.25.5/php/EnqueueJob_8php_source.html [12:38:02] Hmh. I disabled all "enqueue" jobs since I don't have a "multi-DC" and I see no harm yet. [12:38:14] I guess multi-DC = multi data center? [12:38:22] Probably. [12:38:35] Might be useful to figure out where all those jobs are being generated tho. [12:38:46] You could try searching your install for "enqueue". [12:39:01] Yep. Had no luck. It feels like it's generated on every page hit [12:39:36] Must be referenced *somewhere* in there. [12:39:39] My job table was flooded with 3M entries. I flushed it and disabled "enqueue" jobs to go into the table [12:40:33] I tried to grep "enqueue" for when it gets defined as job_cmd but no luck [12:42:42] Could also be a blind runner for having no ID and falling back to id=1. But 0 would be more reasonable. [12:43:40] Yeah, sounds rather weird. [12:43:56] Also notice these have no job_token_* [12:44:13] Nor timestamp. [12:44:26] Sorry, that's associated with the token. [12:44:33] ;) [12:44:49] Does sound a lot like something messing up badly enough that defaults are used, yeah. [12:45:09] You're not running any weird extensions or anything? [12:51:25] I run many 3rd party extensions, yeah. I only have it in my live wiki. Currently updating to 1.27.1 and I don't get these yet, but I didn#t merge all extensions yet. [12:53:00] ./includes/DefaultSettings.php:7182: 'enqueue' => 'EnqueueJob', // local queue for multi-DC setups [12:53:06] !class EnqueueJob [12:53:06] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classEnqueueJob.html [12:54:31] !class IDatabase [12:54:31] See https://doc.wikimedia.org/mediawiki-core/master/php/html/classIDatabase.html [12:55:14] Subfader: Well, keep a close watch. If they start showing up again, you can probably figure out what extension is causing it. [12:56:17] Yep. My goal was to find out what jobs by the type "enqueue" are tho. Nobody knows and disabling thjem doesn't hurt. Alright! :) [12:57:38] Could be every task that was no queued :O Anyway. [12:57:43] ** not [14:04:03] Has anyone else had problems with ConfirmEdit and 1.27? For me it is complaining that "onRegistration" isn't a valid callback. [17:39:37] AnnaMK: saper@saper.info :) [19:25:59] hello