[00:00:29] depends. is it raining frogs? [00:00:49] Always. [00:00:50] Don't worry Isarra, we're here to guide you in the process. [00:00:52] ooooooori! [00:01:06] * Isarra hug-tackles ori-l off a ledge. [00:01:22] like holmes and moriarty [00:01:49] So Isarra, what do you want to achieve, and where are you blocked? [00:01:50] * Isarra hugs Dereckson as well, but is slightly more careful this time. [00:02:08] I need to calm down and figure out how to get the files off the server and onto gerrit. [00:02:16] * Isarra bounces excitedly. [00:02:58] Are these files the last commit of your Git repository? [00:03:32] Nonono it's all somewhere else entirely at the moment. [00:03:41] Getting it... into... git... yes. That. Should do that. [00:04:03] You see, you find the way :) [00:04:19] How do you back up a server? [00:04:42] And make it back up onto other servers? [00:04:45] And stuff? [00:05:08] lots of floppies [00:05:14] 03(mod) Set wgContentNamespaces for hrwiki - 10https://bugzilla.wikimedia.org/40732 +comment (10SpeedyGonsales) [00:05:20] with a collection of scripts, tailored to your needs (ie getting and compressing the interesting files, then sending them to other servers) [00:05:59] getting isn't as always easy as "cp", for example a SQL dump (mysqldump) could be useful, in addition or replacement to a mysql directory backup [00:06:15] o.o [00:06:27] i´d use dd. ÑP [00:06:32] :P [00:06:39] No, there isn't any easy answer to "how to backup a server" [00:06:47] Aye... [00:06:57] the general way is (1) identify what to backup (2) glue that together (3) send them somewhere [00:06:59] But... er... one thing at a time. Yes. Thingy! Push a thingy! [00:07:03] I can do that! [00:07:08] WHEEEEEE! [00:07:09] well, good ol' dd *will* do the job. [00:07:34] by the way, version control system like Git work nice to backup config files and web directories [00:09:03] Another tip I use: when I install a server, I prepare an installation manual. So, I know how to reinstall each components. This could be interesting for complex systems. But when it's time to backup, this document is also a checklist to be sure nothing has been forgotten. [00:11:50] The problem is, when you lose the server and the manual and the other server... [00:11:53] Uh... [00:12:03] Well, actually, that really shouldn't have happened. *shifty eyes* [00:12:18] But this time it'll actually work out. Yes. [00:16:42] The solution is redundance. [00:16:50] Several backup on two continents work well. [00:19:48] Aye. >.< [00:24:47] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [00:27:15] 03(mod) WikiEditor interface overflows out of bodyContent div - 10https://bugzilla.wikimedia.org/40608 (10Isarra) [00:28:17] New review: MarkAHershberger; "could you add release notes for this?" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40349 [00:29:52] New review: MarkAHershberger; "I mean https://www.mediawiki.org/wiki/MediaWiki_1.21 if you think it is worth it." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40349 [00:29:58] New review: Ori.livneh; "I did." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40349 [01:34:10] !export [01:34:10] To export pages from a wiki, navigate to Special:Export on the wiki, type in the names of the pages to export, and hit "export". See for an example of this form. See also: !import [01:34:26] ugh [01:34:28] !exporting [01:34:36] oh well. [01:47:28] 03(mod) New import sources for sewiki - 10https://bugzilla.wikimedia.org/43411 +shell; +comment (10Dereckson) [02:31:30] 03(mod) murmur3() error handling of bad parameters - 10https://bugzilla.wikimedia.org/39542 +comment (10Ori Livneh) [02:34:33] New review: Ori.livneh; "Physikerwelt, are the changes contained in this commit so interdependent that they cannot be broken ..." [mediawiki/extensions/Math] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/30177 [02:50:07] 03(NEW) Make Details/Permalink-URL really permanent - 10https://bugzilla.wikimedia.org/43415 normal; MediaWiki extensions: ArticleFeedbackv5; () [02:51:08] 03(mod) AFTv5 not visible with "Always show the stable version" checked (and no "patrolled" but only "reviewed" versions) - 10https://bugzilla.wikimedia.org/42791 (10se4598) [02:57:03] 03(mod) Another Upload Request - 10https://bugzilla.wikimedia.org/42427 +comment (10Fastily) [03:10:03] 03(mod) PostgreSQL: job_attempts, job_sha1 & Co. are missing - 10https://bugzilla.wikimedia.org/41196 (10Tim Landscheidt) [03:11:32] 03(mod) PostgreSQL: job_sha1 & Co. are missing - 10https://bugzilla.wikimedia.org/41196 summary (10Tim Landscheidt) [03:16:08] 03(NEW) PostgreSQL: job_attempts is missing - 10https://bugzilla.wikimedia.org/43416 normal; MediaWiki: Database; () [03:20:49] New review: Tim Landscheidt; "Yes, of course, but ATM core isn't working in PostgreSQL, so I need to fix that first." [mediawiki/extensions/AbuseFilter] (master) C: -1; - https://gerrit.wikimedia.org/r/23933 [03:23:33] 03(mod) North america upload caches aren't responding to squid purges - 10https://bugzilla.wikimedia.org/41130 +comment (10Betacommand) [03:30:49] 03(mod) Divide wikis into database lists by approximate size for performance engineering - 10https://bugzilla.wikimedia.org/39667 +comment (10MZMcBride) [03:34:54] 03(mod) disambiguationspage should ship with [[ ]] - 10https://bugzilla.wikimedia.org/19183 +comment (10Tim Landscheidt) [03:37:04] 03(mod) PostgreSQL: job_attempts is missing - 10https://bugzilla.wikimedia.org/43416 (10Tim Landscheidt) [03:37:07] 03(mod) PostgreSQL/pgsql support (tracking) - 10https://bugzilla.wikimedia.org/384 (10Tim Landscheidt) [03:51:34] 03(mod) Enable Article Feedback Tool v4 on it.wikivoyage - 10https://bugzilla.wikimedia.org/43328 +comment (10Emanuele Raoli) [03:53:13] 03(mod) Enable Transwiki import on it.wikivoyage - 10https://bugzilla.wikimedia.org/43310 +comment (10Emanuele Raoli) [04:28:37] New patchset: Tim Landscheidt; "Add column job_attempts and index job_cmd_token_id to PostgreSQL." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40558 [04:47:00] New review: Mattflaschen; "The pull request is at https://github.com/jeff-optimizely/Guiders-JS/pull/80 ." [mediawiki/extensions/GuidedTour/guiders] (upgrade_jquery) - https://gerrit.wikimedia.org/r/40341 [05:00:32] New review: Mattflaschen; "I instead submitted https://gerrit.wikimedia.org/r/#/c/40341/ to upgrade jQuery. It is a small bran..." [mediawiki/extensions/GuidedTour/guiders] (master); V: 0 C: -2; - https://gerrit.wikimedia.org/r/39514 [05:02:57] 03(mod) PostgreSQL: job_attempts is missing - 10https://bugzilla.wikimedia.org/43416 +comment (10Tim Landscheidt) [05:33:37] New patchset: Tim Landscheidt; "Reenable tests in HttpTest.php." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/24628 [05:52:01] New patchset: Yurik; "API list=alltemplates module This module is almost identical to the list=alllinks except that it lists every page ever embedded into another page, even if the embedded page is missing." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40559 [06:01:12] New patchset: Aaron Pramana; "Watchlist grouping" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/16419 [06:04:30] long time missing module list=alltemplates is now in api, needs review https://gerrit.wikimedia.org/r/#/c/40559/ [06:04:39] New review: Aaron Pramana; "Rebased changes. Also fixed some errors caused by the most recent changes to the WatchlistGroup clas..." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/16419 [06:32:18] New patchset: Yurik; "API list=alltemplates module, remove continue+from restriction This module is almost identical to the list=alllinks except that it lists every page ever embedded into another page, even if the embedded page is missing. Also, users may now submit both 'con" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40559 [07:10:32] New patchset: Parent5446; "Cleaned up and optimized wfBaseConvert();" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40552 [07:27:54] 03(NEW) More abuse filters for article feedback - 10https://bugzilla.wikimedia.org/43417 normal; MediaWiki extensions: ArticleFeedback; () [07:30:15] 03(NEW) Simpler moderation tools for Article Feedback v5 - 10https://bugzilla.wikimedia.org/43418 normal; MediaWiki extensions: ArticleFeedbackv5; () [07:30:32] 03(mod) Simpler moderation tools for Article Feedback v5 - 10https://bugzilla.wikimedia.org/43418 (10Fabrice Florin) [07:30:58] 03(mod) More abuse filters for article feedback - 10https://bugzilla.wikimedia.org/43417 (10Fabrice Florin) [07:33:07] 03(NEW) Remove reader tools for editors in feedback page - 10https://bugzilla.wikimedia.org/43419 normal; MediaWiki extensions: ArticleFeedbackv5; () [07:33:19] 03(mod) Remove reader tools for editors in feedback page - 10https://bugzilla.wikimedia.org/43419 (10Fabrice Florin) [07:34:46] 03(NEW) Feedback page filters for AFTv5 - 10https://bugzilla.wikimedia.org/43420 normal; MediaWiki extensions: ArticleFeedbackv5; () [07:35:42] 03(mod) Feedback page filters for AFTv5 - 10https://bugzilla.wikimedia.org/43420 (10Fabrice Florin) [07:36:42] 03(NEW) Auto-archive comments on article feedback pages - 10https://bugzilla.wikimedia.org/43421 normal; MediaWiki extensions: ArticleFeedbackv5; () [07:36:54] 03(mod) Auto-archive comments on article feedback pages - 10https://bugzilla.wikimedia.org/43421 (10Fabrice Florin) [07:38:38] 03(mod) Remove reader tools for editors in feedback page - 10https://bugzilla.wikimedia.org/43419 (10MZMcBride) [07:38:39] 03(mod) Simpler moderation tools for Article Feedback v5 - 10https://bugzilla.wikimedia.org/43418 (10MZMcBride) [07:54:23] Someone here..? [08:32:43] New review: Amire80; "Niklas complains about the usage of !important. I don't like it either. The reason I added them is t..." [mediawiki/extensions/Translate] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/40299 [08:41:14] 03(mod) Enable $wgAllowCopyUploads (upload by URL) - 10https://bugzilla.wikimedia.org/20512 +comment (10Yann Forget) [09:13:43] 03(mod) Update some old account data for the user now known as YOLO Swag - 10https://bugzilla.wikimedia.org/42903 (10od_mishehu) [10:34:17] 03(mod) Enable $wgAllowCopyUploads (upload by URL) - 10https://bugzilla.wikimedia.org/20512 +comment (10Ryan Kaldari) [10:54:22] @trusted [10:54:22] I trust: petan\|w!.*@wikimedia/Petrb (2admin), .*@wikimedia/.* (2trusted), .*@wikipedia/.* (2trusted), .*@mediawiki/..* (2trusted), .*@wikipedia/MZMcBride (2admin), .*@wikimedia/Krinkle (2admin), .*@fsf/.* (2trusted), [10:54:31] !bugzilla del [10:54:32] Successfully removed bugzilla [10:54:41] !bugzilla is https://bugzilla.wikimedia.org/$1 [10:54:41] Key was added [10:54:42] !bug del [10:54:43] Successfully removed bug [10:54:46] !bug alias bugzilla [10:54:46] Created new alias for this key [11:06:50] 03(NEW) Upload by URL from Flickr does not work with Chrome - 10https://bugzilla.wikimedia.org/43422 normal; Wikimedia: Media storage; () [11:07:09] 03(mod) Upload by URL from Flickr does not work with Chrome - 10https://bugzilla.wikimedia.org/43422 (10Yann Forget) [11:08:39] 03(mod) Enable $wgAllowCopyUploads (upload by URL) - 10https://bugzilla.wikimedia.org/20512 +comment (10Yann Forget) [11:10:13] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [11:27:05] Change merged: jenkins-bot; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/39831 [11:40:47] hi all! [11:41:39] Howdy! [11:42:27] its been a while since i last used irc :) it feels like 10 years ago (and i like it!) [11:43:26] Well you know, all the cool kids still use it ;) [11:44:30] haha [12:11:43] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [12:13:32] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [12:18:17] i have no idea why but it seems that i can't import ldap properties properlly [12:18:23] the ldap authentication works fine [12:19:01] but attributes such as email and cn (well all of tehem) are not found in the user property tab [12:19:12] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [12:28:33] 03(NEW) Unable to return to a non-existent page after logging in - 10https://bugzilla.wikimedia.org/43423 normal; MediaWiki: User login; () [12:31:06] 03(NEW) In category display, optionally also include subcategories in alphabetic listing - 10https://bugzilla.wikimedia.org/43424 enhancement; MediaWiki: Categories; () [12:43:45] 03(mod) In category display, optionally also include subcategories in alphabetic listing - 10https://bugzilla.wikimedia.org/43424 +comment (10Bawolff (Brian Wolff)) [12:55:29] 03(mod) Message documentation language should not be fuzzied when key is fuzzied - 10https://bugzilla.wikimedia.org/42987 +comment (10Siebrand) [13:24:56] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [14:08:47] MaxSem: around? [14:09:38] is it possible to view server performance somewhere? [14:10:01] i mean all mediawiki installations (wikipedia, etc) [14:10:36] like all the perf counters [14:11:23] https://graphite.wikimedia.org/dashboard/ is one [14:14:03] does it use labs acct? [14:14:11] yeas [14:17:48] 03(mod) Bombarding PHP with signals every 2 milliseconds breaks things - 10https://bugzilla.wikimedia.org/43034 +comment (10Brad Jorsch) [14:19:22] thanks! is there any docs? :) seems like tons of info there [14:21:07] haven't seen any [14:22:05] 03(mod) Another Upload Request - 10https://bugzilla.wikimedia.org/42427 +comment (10Sam Reed (reedy)) [14:24:50] like in everything/API, the main dir has count,tavg,tp50,tp90,tp99. Plus there is * dir with all previous items, plus int dir also with previous items. A bit confusing [14:25:57] i am guessing tp50 = top50 %, etc, but the * and [14:42:12] 03(mod) Update some old account data for the user now known as YOLO Swag - 10https://bugzilla.wikimedia.org/42903 +comment (10Dereckson) [14:43:01] I closed that as RESO WONTFIX, now he wants we add log entries for the 2005 era! [14:43:25] (once upon a time, some actions weren't recorded in public logs) [14:44:01] I sympathize with the user, but there are a lot of other solutions to fix the *social* problem. [14:46:11] 03(mod) Editing a template doesn't cause pages transcluding redirects to be added to job queue - 10https://bugzilla.wikimedia.org/31389 +comment (10Dereckson) [14:51:56] 03(mod) Unable to return to a non-existent page after logging in - 10https://bugzilla.wikimedia.org/43423 +comment (10Dereckson) [14:56:04] 03(mod) Upload by URL from Flickr does not work with Chrome - 10https://bugzilla.wikimedia.org/43422 +comment (10Dereckson) [14:56:23] 03(mod) Auto-archive comments on article feedback pages - 10https://bugzilla.wikimedia.org/43421 normal->15enhancement (10Dereckson) [14:56:38] 03(mod) Feedback page filters for AFTv5 - 10https://bugzilla.wikimedia.org/43420 normal->15enhancement (10Dereckson) [14:56:50] 03(mod) Remove reader tools for editors in feedback page - 10https://bugzilla.wikimedia.org/43419 normal->15enhancement (10Dereckson) [14:57:00] 03(mod) Simpler moderation tools for Article Feedback v5 - 10https://bugzilla.wikimedia.org/43418 normal->15enhancement (10Dereckson) [14:57:09] 03(mod) More abuse filters for article feedback - 10https://bugzilla.wikimedia.org/43417 normal->15enhancement (10Dereckson) [14:58:21] 03(mod) PostgreSQL: job_attempts is missing - 10https://bugzilla.wikimedia.org/43416 +comment (10Dereckson) [15:01:21] New review: Nasqueron; "Style issue in commit message." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/40558 [15:01:30] arg [15:01:48] I used the bot account I created yesterday to play with Gerrit queries instead my account. [15:01:57] Annoying. [15:03:10] Well, as the only reason I had to go to the interface with this account were set the SSH key, it's not as it's a problem who still occur. [15:03:47] And the mail account is dereckson+nasqueron, so the origin is clear. [15:06:49] New review: Dereckson; "Commit message could be improved." [mediawiki/core] (master) C: -1; - https://gerrit.wikimedia.org/r/40558 [15:07:22] 03(mod) Make Details/Permalink-URL really permanent - 10https://bugzilla.wikimedia.org/43415 normal->15enhancement (10Dereckson) [15:07:48] 03(mod) Marking thread read on NewMessages on iPad doesn't work - 10https://bugzilla.wikimedia.org/43414 (10Dereckson) [15:07:56] 03(mod) Marking thread read on NewMessages on iPad doesn't work - 10https://bugzilla.wikimedia.org/43414 (10Dereckson) [15:08:38] 03(mod) multibyte problem in the body of user notification messages (0.2.0) - 10https://bugzilla.wikimedia.org/43413 +i18n; +comment (10Dereckson) [15:09:09] 03(mod) hardcoded message in code (0.2.0) - 10https://bugzilla.wikimedia.org/43412 +easy +i18n; +comment (10Dereckson) [15:12:49] @sourcecode [15:12:54] Hello temp. [15:13:15] @source [15:13:20] !source [15:13:20] There are multiple keys, refine your input: sourcecode, sourceforge, [15:13:23] !sourcecode [15:13:23] temp: http://www.mediawiki.org/wiki/Download_from_Git is what you need [15:13:24] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=tree [15:13:27] Dereckson: whazat about logs? [15:14:12] my watchlist is too big :/ [15:14:21] Dantman: ? [15:14:39] 03(mod) New import sources for sewiki - 10https://bugzilla.wikimedia.org/43411 +patch-in-gerrit; +comment (10Dereckson) [15:15:03] I closed that as RESO WONTFIX, now he wants we add log entries for the 2005 era! [15:16:27] Dantman: https://bugzilla.wikimedia.org/42903 [15:16:59] It would seem this is an issue with a sock puppet account with a name similar to a renamed account from a legit user. [15:17:32] 03(mod) Gerrit should have a link to the HEAD revision treeview on gitweb - 10https://bugzilla.wikimedia.org/43385 summary; +comment (10Huji) [15:17:37] So someone digging into logs could think this legit user has a blocking history. [15:17:44] 03(mod) Update some old account data for the user now known as YOLO Swag - 10https://bugzilla.wikimedia.org/42903 (10Daniel Friesen) [15:19:45] New patchset: Jeroen De Dauw; "bug 42324 Better support for sqlite" [mediawiki/extensions/SemanticMediaWiki] (master) - https://gerrit.wikimedia.org/r/34572 [15:20:15] 03(mod) Enable Transwiki import on it.wikivoyage - 10https://bugzilla.wikimedia.org/43310 +comment (10Dereckson) [15:37:09] 03(mod) API imageinfo query returns no imageinfo data when asking for redirect and redirect target - 10https://bugzilla.wikimedia.org/31849 +comment (10Brad Jorsch) [15:54:50] New patchset: Anomie; "(bug 31849) API imageinfo correctly handle redirects" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40562 [15:56:59] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [15:57:34] 03(mod) API imageinfo query returns no imageinfo data when asking for redirect and redirect target - 10https://bugzilla.wikimedia.org/31849 +comment (10Brad Jorsch) [15:57:48] 03(mod) API imageinfo query returns no imageinfo data when asking for redirect and redirect target - 10https://bugzilla.wikimedia.org/31849 (10Brad Jorsch) [15:58:37] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [15:59:13] 03(mod) Enable Transwiki import on it.wikivoyage - 10https://bugzilla.wikimedia.org/43310 +patch-in-gerrit; +comment (10Dereckson) [16:05:46] 03(NEW) Wide images are distorted - 10https://bugzilla.wikimedia.org/43425 normal; MediaWiki extensions: MobileFrontend; () [16:05:58] 03(NEW) Special:Import should allow GET and/or /interwiki:Page "subpage" in URL - 10https://bugzilla.wikimedia.org/43426 enhancement; MediaWiki: Special pages; () [16:09:37] 03(NEW) Unable to set label for _LEDT in #ask - 10https://bugzilla.wikimedia.org/43427 normal; MediaWiki extensions: Semantic MediaWiki; () [16:11:27] New review: btongminh; "Very clever." [mediawiki/core] (master) C: 1; - https://gerrit.wikimedia.org/r/40562 [16:15:09] anyone i can poke about the API around? [16:15:10] MaxSem: ^ [16:16:23] yessir [16:16:51] MaxSem: i'm having a weird API fail [16:16:56] i'm sending in a multipart upload [16:17:06] and the API is acting as if it is not getting any parameters at all [16:17:15] gives me back the default error page (aka documentation page) [16:17:57] do you have a dump? [16:18:00] MaxSem: where can I poke in api.php or ApiMain.php to see what I'm doing wrong? [16:18:04] I think I do [16:18:05] wait [16:18:28] but it worked for you before, no? [16:20:04] 03(mod) Move transcoded vIdeos out of thumbs containers - 10https://bugzilla.wikimedia.org/43343 (10Rob Lanphier) [16:20:12] 03(mod) Move transcoded vIdeos out of thumbs containers - 10https://bugzilla.wikimedia.org/43343 (10Rob Lanphier) [16:21:01] MaxSem: http://pastebin.com/TZ2DgZAX [16:21:04] MaxSem: in java, yes [16:21:09] i'm doing this in python [16:23:41] MaxSem: response is just the usual response to /w/api.php if there's no params given (docs) [16:28:02] api.php outputs help when it gets no action [16:28:21] however, action is present in your request [16:28:38] 6 bytes is "upload", I assume [16:28:42] yes [16:28:46] i tried sending them as text/plain too [16:28:47] same result [16:29:04] why action goes the last? [16:29:23] that's the way requests is parsing it (the http library i'm using [16:29:25] ) [16:29:37] should that make a difference? [16:29:43] it is generally recommended to first submit action and format, and token the last [16:29:59] yeah, I saw that (for reasons of data fidelity, etc) [16:30:06] but would that make a difference here? [16:30:39] one moment, changing network. brb [16:30:41] there were reports of freak accidents with truncated requests [16:36:27] MaxSem: back [16:36:36] [20:30:41] there were reports of freak accidents with truncated requests [16:38:27] this doesn't work even when i hit my lcoal mediawiki [16:39:34] does this library fully support multipart requests? [16:40:19] yes, it does [16:40:27] and looking at the dump I don't see how which part is wrong [16:41:31] try moving action to the GET part [16:41:45] let's see how it reacts [16:43:14] i just moved action to the top. same reaction [16:44:00] MaxSem: moving action to GET has same reaction [16:44:12] is there something I can do on the mediawiki side to debug? [16:44:19] i am testing this on my localwiki only [16:44:51] dump $_REQUEST [16:44:54] this is just so confusing. [16:45:02] right [16:45:10] programming sucks, I know:) [16:48:07] MaxSem: none of the multipart stuff is there [16:48:17] i see only the cookies in $_REQUEST [16:48:17] delicious [16:48:32] followed by the docs [16:49:03] 03(mod) jquery.tablesorter: Add support for a "fixed" column - 10https://bugzilla.wikimedia.org/40618 +comment (10Bartosz Dziewoński) [16:49:17] Gerrit doesn't like multi dependencies. [16:50:05] git checkout master ; git checkout -b letsplaywithdeps ; git cherry-pick commit1 ; git cherry-pick commit2 ; myfavoriteeditor thefile ; git commit -a ; git push gerrit HEAD:refs/for/master/atopic [16:50:16] That only creates a dep for commit2, not commit1. [16:50:54] Dereckson: that's because commit2 depends on commit1? [16:51:09] Dereckson: if you want to have a commit which has multiple dependencies itself, you have to make it a merge commit [16:51:40] git merge commit1 --no-commit; git merge commit2 --no-commit; myfavoriteeditor thefile ; git commit -a [16:51:45] Ok. [16:51:47] I note that. [16:51:52] which is also going ot break in various interesting ways later ~ [16:52:01] like the dependencies magically disappearing when you rebase [16:52:09] changes not wanting to be merged [16:52:18] My need is very small here: it.wikivoyage asks an import source from es.wikivoyage [16:52:24] but, well, you can do it [16:52:38] I so wanted to make that depends of it.wikivoyage creation, in addition to the other import sources config change [16:52:39] and if you don't rebase too much, it's going to work reasonably well [16:52:47] MaxSem: any way for me to dump what apache is receiving? [16:52:55] i have a commit with 2 deps right now on gerrit [16:53:02] https://gerrit.wikimedia.org/r/#/c/40290/ [16:53:30] and here's the bug about disappearing deps: https://bugzilla.wikimedia.org/show_bug.cgi?id=40454 [16:53:33] yuvipanda, you think there's something between your script and local apache? [16:53:51] Another stuff I noticed: Gerrit changed the topic of commit1. [16:53:56] (to match atopic) [16:53:56] shouldn't be, but why would $_REQUEST be empty? [16:54:15] * MaxSem assumes it's something with request [16:54:40] MaxSem: i just went over the request again, it looks okay to me... [16:54:48] i'm sure there's something small there that i'm missing [16:54:50] Your interactions with Gerrit, the puzzle to solve! [16:54:55] Dereckson: well, this shouldn't be too surprising, i guess? you pushed them both to the same branch/topic [16:55:05] so they got the same topic [16:55:05] MaxSem: i send it to httpbin and it gets them correctly and echoes them back [16:55:19] MatmaRex: yes, but the previous change were already pushed under another topic [16:55:22] and since you changed the parent by cheryr-picking, the sha1 changes, and gerrit updated everything, including the topic [16:55:32] lol, I had a crappy-shit-in-the-middle incident today myself: images on my brother's site were mangled by antivirus [16:55:39] if you only cherry-picked commit2 on top of commit1, it's topic wouldn't change [16:55:41] (probably) [16:55:44] Oh! https://gerrit.wikimedia.org/r/#/c/38054/ [16:55:46] its topic* [16:55:47] It added a new patchset [16:55:50] images? lol [16:55:55] Now I understand better. [16:55:59] the last time I was uploading stuff, squid played spoilsport [16:56:20] cherry-picking here has similar consequences to rebasing [16:57:54] We created an huge opportunity to create a community of people more intime with how Gerrit branches work. [16:58:08] New patchset: Yurik; "API list=alltemplates, removed unique+gen & continue restrict * list=alltemplates added to enumerate every instance of page embedding * list=alllinks & alltemplates now allow both 'from' and 'continue' in the same query. When both are present, 'from' is" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40559 [16:58:20] (the huge opportunity being our Gerrit workflow) [16:59:19] Hey Yurik, someone on Bugzilla would like to have an API call to read a template, and get parameters. [16:59:37] 03(mod) Enable $wgAllowCopyUploads (upload by URL) - 10https://bugzilla.wikimedia.org/20512 (10ChrisiPK) [17:00:43] Yurik: this is https://bugzilla.wikimedia.org/show_bug.cgi?id=40664 - Unable to get template arguments through AP [17:01:08] 03(mod) Unable to get template arguments through API - 10https://bugzilla.wikimedia.org/40664 (10Dereckson) [17:01:42] 03(mod) Unable to get template arguments through API - 10https://bugzilla.wikimedia.org/40664 (10Dereckson) [17:03:36] 03(mod) ApiMain assumes MWException - 10https://bugzilla.wikimedia.org/42949 +comment (10Dereckson) [17:06:38] MaxSem: i think… i found it [17:07:07] Dereckson: will take a look, thx. As for gerrit workflow - its an opportunity and a pain at the same time ;) [17:09:21] yuvipanda, ... [17:10:00] MaxSem: got rid of the 'filename' for the other parts in the request [17:10:01] works now [17:10:03] 03(mod) gettoken should go die in a fire - 10https://bugzilla.wikimedia.org/35993 +comment (10Dereckson) [17:10:03] Is Beau still active? [17:10:13] (Szymon Świerkosz) [17:11:00] anyone wants to review a new api module list=alltemplates ? As well as fixes to list=alllinks (its the same code) [17:11:15] https://gerrit.wikimedia.org/r/#/c/40559/ [17:11:21] oO [17:11:42] Oh it's HISTORY, I were distracted. [17:12:03] (I were worried a moment we didn't keep former versions release notes) [17:14:09] Yurik: I fix release notes, as it seems Beau isn't active anymore, and I look that. [17:14:32] MaxSem: so i guess apache was interpreting all my params as files, and hence getting confused [17:15:08] * MaxSem imagines a bunch of several-byte files [17:16:17] Dereckson: sorta kinda active [17:16:41] MaxSem: thanks :) [17:16:49] appears from time to time [17:17:00] :) [17:17:25] Do we maintain release notes erratum? [17:17:38] uh? [17:18:01] New patchset: Dereckson; "(bug 35933) API gettoken parameter is deprecated (release notes complement)" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40566 [17:18:24] There are documents like that: [17:18:25] http://www.freebsd.org/releases/4.3R/errata.html [17:18:50] They include any correction in release notes made after the file has been packaged in a released version. [17:19:07] Well a more nice document to read is http://www.freebsd.org/releases/9.0R/errata.html [17:19:20] the DocBook template were ugly at 4.x time [17:19:33] none i know of, but you should ask someone more experienced :) [17:20:36] hi yuvipanda , will you find some time to _launch_ mediawiki-india officially? [17:20:58] ah, yes! qgil [17:21:08] tomorrow? Knee deep in code right now. sorry! [17:21:22] yuvipanda, sure no problem. Just pinging. :) [17:21:33] 03(mod) gettoken should go die in a fire - 10https://bugzilla.wikimedia.org/35993 +comment (10Dereckson) [17:24:02] 03(mod) Wide images are distorted - 10https://bugzilla.wikimedia.org/43425 +comment (10Brion Vibber) [17:28:52] 03(NEW) input type=checkbox|default=yes doesn't work - 10https://bugzilla.wikimedia.org/43428 normal; MediaWiki extensions: SemanticForms; () [17:29:44] New review: Dereckson; "Typo" [mediawiki/core] (master) C: -1; - https://gerrit.wikimedia.org/r/40559 [17:32:46] Yurik: http://mediawiki.dereckson.be/api.php?action=query&list=alltemplates [17:32:53] Is that expected I've duplicate entries? [17:33:19] New review: Cmcmahon; "maintenance" [qa/browsertests] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/39764 [17:33:19] Change merged: Cmcmahon; [qa/browsertests] (master) - https://gerrit.wikimedia.org/r/39764 [17:33:52] http://mediawiki.dereckson.be/api.php?action=query&list=alltemplates&atprop=ids|title [17:33:55] Dereckson: yes [17:34:08] because the same template is embedded into multiple pages [17:34:14] you can ask for unique [17:34:59] New patchset: Cmcmahon; "Added MobileFrontend repositories to Jenkins job template" [qa/browsertests] (master) - https://gerrit.wikimedia.org/r/39826 [17:34:59] alltemplates and alllinks is basically a dump of pagelinks & templates tables [17:35:25] i meant templatelinks [17:35:27] 03(mod) Enable Transwiki import on it.wikivoyage - 10https://bugzilla.wikimedia.org/43310 +comment (10Emanuele Raoli) [17:35:32] Ok, I now understand the "Only show unique templates." meaning [17:35:35] 03(mod) Wide images are distorted - 10https://bugzilla.wikimedia.org/43425 +comment (10Brion Vibber) [17:36:19] New review: Cmcmahon; "support for MobileFrontend tests in Jenkins" [qa/browsertests] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/39826 [17:36:19] Change merged: Cmcmahon; [qa/browsertests] (master) - https://gerrit.wikimedia.org/r/39826 [17:36:29] if i was designing it again, i might have enforced that IDS are always shown with non-unique query [17:36:37] otherwise it doesn't make muchsense [17:37:00] once API versioning is introduced, i might readdress this [17:37:15] Ok. [17:37:46] api.php?action=query&generator=alltemplates&gatunique=&gatfrom=B -> so for generator, the options receive a g prefix? [17:38:27] 03(mod) Version the api - 10https://bugzilla.wikimedia.org/39592 (10Dereckson) [17:38:31] <-- I added you as cc of our API versionning bug. [17:38:42] yes, always [17:38:56] any time a generator is introduced, its parameters always begin with an extra g [17:38:59] thx [17:39:31] i think i have implemented most of the versioning core. I had a long discussion on api disc list [17:39:57] it will be basically action=query2 instead of action=query [17:40:43] Dereckson: i'm still new to gerrit, do i need to do anything about your comment? [17:43:56] how do i view "inline comments" [17:44:14] go to diff view [17:44:50] New review: Dereckson; "Thank you for your first core submission in Gerrit." [mediawiki/core] (master) C: -1; - https://gerrit.wikimedia.org/r/40559 [17:45:36] On the list of files in the patchset you have a "side by side" [17:45:44] that offers you a diff view (Gerrit has a very nice diff viewer) [17:46:03] (this is probably one of the rareful Gerrit feature I would qualify of awesome) [17:46:08] ... which doesn't work in Opera :( [17:46:57] You can see and add code comments. [17:47:23] (there is one from MatmaRex in commit message, and 3 from me in includes/api/ApiQueryAllLinks.php) [17:47:27] found it, thx [17:47:54] * MaxSem just posted one more [17:48:08] * Yurik polishing [17:48:22] s/MatmaRex/MaxSem/ :) [17:49:08] tab error. [17:55:44] Hi I'm trying to add some javascript before the /body tag to every page (not google analytics). I can't figure out the RightWay(TM) amongst all the plugins and I can't find common.js either. Any ideas? [17:57:48] steve: [[MediaWiki:Common.js]] on your wiki [17:58:27] ah-ha! :-) [17:58:59] So I'm being really stupid, is it on the filesystem somewhere or do I use the web interface as admin to edit it? [17:59:28] the latter [17:59:51] thanks [18:00:19] next dumb question, how do I figure out my admin username (as it's not admin) as I can't remember what the default was [18:00:32] Thanks for the help [18:01:11] steve: e.g. here's the one for enwiki: https://en.wikipedia.org/wiki/MediaWiki:Common.js [18:01:19] steve: you have to choose the default one afaik [18:01:27] (i mean ,you chose it during installation) [18:01:52] steve: try [[Special:Listusers]] [18:02:39] awesome thank you [18:03:29] New review: CSteipp; "I'm not familiar with the codebase enough to marge this, but it looks about right, and it would be g..." [mediawiki/extensions/TimedMediaHandler] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/40555 [18:04:12] MatmaRex, giftpflanze, thanks again, saved me a bunch of time [18:09:10] 03(mod) input type=checkbox|default=yes doesn't work - 10https://bugzilla.wikimedia.org/43428 +comment (10Yaron Koren) [18:27:12] New patchset: Yurik; "API list=alltemplates, removed unique+gen & continue restrict" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40559 [18:27:17] Dereckson, MaxSem done [18:27:53] 03(mod) Multiple / unclear landing pages for QA & testing - 10https://bugzilla.wikimedia.org/42540 +comment (10Chris McMahon) [18:36:00] 03(mod) Wide images are distorted - 10https://bugzilla.wikimedia.org/43425 (10Jon) [18:38:10] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [18:39:43] 03(mod) Gerrit should have a link to the HEAD revision treeview on gitweb - 10https://bugzilla.wikimedia.org/43385 +comment (10Chad H.) [18:42:53] 03(mod) CSSMin::minify should leave string property values untouched - 10https://bugzilla.wikimedia.org/35492 +comment (10Dereckson) [18:43:12] 03(mod) CSSMin::minify should leave string property values untouched - 10https://bugzilla.wikimedia.org/35492 +comment (10Dereckson) [18:50:03] 03(mod) Use ResourceLoader for message delivery - 10https://bugzilla.wikimedia.org/43409 +comment (10Jon) [18:51:42] 03(mod) Version the api - 10https://bugzilla.wikimedia.org/39592 +comment (10Yuri Astrakhan) [18:54:50] 03(mod) Use ResourceLoader for message delivery - 10https://bugzilla.wikimedia.org/43409 +comment (10Max Semenik) [19:02:12] yuvipanda fyi https://www.mediawiki.org/wiki/Groups#Local_vs_regional Thank you for contributing to the definition of requirements for regional MediaWiki mailing lists [19:02:24] 03(mod) Version the API - 10https://bugzilla.wikimedia.org/39592 summary (10Dereckson) [19:03:15] I'm trying to run an external file as a hook for when someone saves an article. exec() doesn't seem to be able to work. [19:03:30] any advice? [19:05:57] New patchset: Dereckson; "Script to help to maintain CREDITS file" [mediawiki/tools/release] (master) - https://gerrit.wikimedia.org/r/40080 [19:07:12] New patchset: Matthias Mullie; "Refactor AFT backend" [mediawiki/extensions/ArticleFeedbackv5] (master) - https://gerrit.wikimedia.org/r/24264 [19:07:53] 03(mod) Gerrit should have a link to the HEAD revision treeview on gitweb - 10https://bugzilla.wikimedia.org/43385 +comment (10Huji) [19:07:57] New review: Dereckson; "PS5: adding a little fix to allow credits-altname to contain entries to fill (A instead AB), wh..." [mediawiki/tools/release] (master) C: 0; - https://gerrit.wikimedia.org/r/40080 [19:10:13] 03(mod) Multiple / unclear landing pages for QA & testing - 10https://bugzilla.wikimedia.org/42540 +comment (10Quim Gil) [19:11:20] 03(mod) Settings background colour on Windows Phone 7 - 10https://bugzilla.wikimedia.org/43242 (10Jon) [19:12:37] theKaramanukian: for what purpose? [19:21:04] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [19:22:23] Betacommand: maybe you have solution for that too. I want to run an external python file that performs some pretty complicated text processing. [19:22:29] 03(mod) Settings background colour on Windows Phone 7 - 10https://bugzilla.wikimedia.org/43242 +comment (10Jon) [19:24:01] 03(mod) List of languages incomplete - 10https://bugzilla.wikimedia.org/41458 +comment (10Jon) [19:24:02] theKaramanukian: why not make it a Bot that runs as a user? [19:24:13] 03(mod) MediaWiki API 2.0 (tracking) - 10https://bugzilla.wikimedia.org/38891 +comment (10Yuri Astrakhan) [19:24:55] 03(mod) Stop parsing HTML twice - 10https://bugzilla.wikimedia.org/41569 major->normal (10Jon) [19:26:05] A hook seems simpler. [19:26:39] Betacommand: isn't it possible to complete with a hook? [19:26:56] 03(mod) Use ResourceLoader for message delivery - 10https://bugzilla.wikimedia.org/43409 +comment (10Jon) [19:27:14] 03(mod) Stop parsing HTML twice - 10https://bugzilla.wikimedia.org/41569 +comment (10Arthur Richards) [19:27:53] I've never completed a bot. [19:28:27] 03(mod) action=mobileview doesn't convert page title, section names to language variants - 10https://bugzilla.wikimedia.org/41995 (10Jon) [19:28:52] theKaramanukian: what kind of server are you running? [19:28:52] New review: Brion VIBBER; "Appears to do what it says on the tin." [mediawiki/core] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/39162 [19:28:54] Change merged: Brion VIBBER; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/39162 [19:31:39] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [19:32:54] New patchset: MaxSem; "Add PageImages" [mediawiki/tools/release] (master) - https://gerrit.wikimedia.org/r/40572 [19:32:59] Betacommand: linux [19:33:19] yes with apache. [19:33:24] what are the file permissions set on the python script? [19:34:10] read write [19:34:56] need to enable the webserver to execute the script :P [19:35:56] New patchset: Pginer; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [19:37:24] I have a dump of wiktionary, 394M, loading with sublime or firefox is freezing PC, so processing them using python is neither good idea, how can I parse to get title, meaning ?. I don't want to use api here, since i want to access content offline [19:37:27] brb [19:38:08] kracekumar: how are you doing the python processing? [19:38:19] kracekumar: obviously you probably *shouldn't* load the entire thing into memory at once [19:38:45] kracekumar: using python is a good idea [19:39:26] * Betacommand is using python to parse a copy of enwiki [19:39:51] * MatmaRex uses Ruby to process dumps of plwiki [19:39:51] 3.7M pages in just a few hours [19:40:14] MatmaRex, I am using beautifulsoup, handler = open(filename).xreadlines(); handler = BeautifulSoup(handler), this will freeze interpreter [19:40:22] oh [19:40:24] yeah, it will [19:40:35] you're trying to load 400 MB of text into memory, then parse it as XML [19:40:55] you should somehow handle it in chunks [19:41:11] Betacommand, python is best bet, [19:41:14] i don't know how to od it using python, i can share my glorified grep script wrriten in Ruby [19:41:18] do it* [19:41:23] kracekumar: see pywikipedia [19:42:15] cat tawiktionary-latest-pages-articles.xml | grep '[^[:space:][:punct:]]*' | sed 's:.*\(.*\).*:\1:' > words, I don't want to use grep, sed [19:42:31] kracekumar: http://users.v-lo.krakow.pl/~matmarex/wiki_dump_scanner.rb [19:42:41] above is example to get list of words [19:42:49] kracekumar: consider this script public domain [19:43:03] it's a glorified grep for mediawiki XML dumps files [19:43:04] another set of eyes requested for https://gerrit.wikimedia.org/r/#/c/40559/3 [19:43:15] for me, it handles ~1.5M pages in about 20 minutes [19:44:01] kracekumar: give me about 2 minutes and Ill post a easy way to parse enwiki [19:44:14] Betacommand, sure, :-) [19:45:23] New patchset: CSteipp; "Lock multiple CentralAuth accounts at once" [mediawiki/extensions/CentralAuth] (master) - https://gerrit.wikimedia.org/r/40332 [19:45:33] MatmaRex, I am thinking of converting XML to SQL, to make querying easier, then loading this junk will freeze any interpreter, let me look your script [19:45:42] 03(mod) Modification of link content in wiki links with tail does not work - 10https://bugzilla.wikimedia.org/43089 +comment (10Mark Holmquist) [19:46:28] kracekumar: http://pastebin.com/wjS8pGDr [19:46:57] kracekumar: my script loads and parses one page at a time [19:47:08] kracekumar: i regularly scan 5 GB dumps with it :) [19:47:16] MatmaRex, but I have dump in a single file [19:47:29] kracekumar: thats how all dumps are [19:47:34] kracekumar: yes, and it reads it one page at a time [19:47:45] Betacommand, ok [19:49:11] kracekumar: I am in the process of parsing the whole enwiki dump and its not taking that long [19:49:15] kracekumar: (my script requires the nokogiri and binary_search gems, you can get them via `gem install ` if you have ruby installed) [19:49:44] MatmaRex, I found that in begining of the program [19:50:01] 03(mod) North america upload caches aren't responding to squid purges - 10https://bugzilla.wikimedia.org/41130 +comment (10Rob Lanphier) [19:50:08] Betacommand, let me try with my example and ping you soon [19:50:21] kracekumar: :) [19:50:24] kracekumar: you need pywikipedia too [19:50:57] http://toolserver.org/~pywikipedia/nightly/package/pywikipedia/pywikipedia-nightly.zip [19:51:19] just extract to a directory, throw my script in there and have fun [19:51:23] nightly? livin' on the edge [19:51:54] MatmaRex: pywiki really doesnt have any other releases [19:52:36] that's because we are working on the rewrite branch ;) [19:53:09] Betacommand, it should be pip install pywikipedia, [19:53:19] make such changes in future [19:53:23] Yurik: the rewrite should rot in hell [19:53:47] in that case we shall start rewrite of the rewrite! [19:53:52] rewrite? nice [19:54:08] pywikipedia was kinda awful when i tried using it back in 2009 or so ;) [19:54:28] MatmaRex: it all depends on what your goal is [19:54:30] hehe, that's what i see now too - time to kick into gear - python3, api only, etc etc [19:54:37] now pywikipedia rocks" [19:54:38] New patchset: IAlex; "Also delete the page information cache when invalidating cache of a non-existing page" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40574 [19:54:47] it does? [19:54:51] damit [19:55:11] 03(NEW) Removing link trail doesn't affect the output - 10https://bugzilla.wikimedia.org/43429 normal; Parsoid: JS/serializer; () [19:55:14] Betacommand: read and save pages :) [19:55:19] Betacommand: i've wrriten my own library since [19:55:21] MatmaRex: I once it 5,000 edits per hour on enwiki using pywikibot [19:55:28] *hit [19:56:02] last time i looked, there was 30+ libraries listed publically, and I would guess there are 10 times more that are not.. I guess its not as simple as one would hope :) [19:56:22] ( http://rubygems.org/gems/sunflower , should anybody be interested) [19:56:25] I use a modified version of pywiki [19:56:26] either that or people don't want to do anything productive and would much rather write libraries [19:57:04] 4.06M pages parsed [19:57:10] http://www.mediawiki.org/wiki/API:Client_code [19:57:12] New patchset: MaxSem; "Add PageImages" [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40575 [19:57:16] post it there [19:57:27] why isn't there no setup.py at all? was it deliberately left out, [19:57:27] Yurik: it's kinda permanently alpha [19:57:43] LOL, so are all of them i think [19:58:02] Yurik: yeah, but the other ones don't have obvious bugs that arent noted anywhere :P [19:58:07] Yurik: pywiki trunk is very not alpha and is very stable [19:58:27] Yurik: usually whenever i write a new bot script, i publish a new version of sunflowr to fix bugs i've encountered ;) [19:58:37] Betacommand: did anyone considered using cython? Or it's much more complicated than simple py? [19:58:53] Betacommand: true, but it is far outdated as far as api use - it is very inefficient in a number of scenarious [19:58:54] Alchimista: never brought up [19:59:37] Yurik: it uses the API almost exclusively now, with fallbacks for older versions of mw [19:59:46] Yurik: also, it has no tests, and it badly needs them :( [19:59:51] Alchimista, cython - no, I don't want to write c extensions for python, if speed is the concern benchmark python + pypy and then think of cython [20:00:07] Betacommand: yes, i know, but it does not do it efficiently [20:00:19] Yurik: {{sofixit}} [20:00:42] Betacommand: look at the mailing lists - that's exactly what i have just started =) [20:00:44] :_ [20:01:15] Yurik: which list? I subscribe to about 30 of them [20:01:22] kracekumar: i never tryed cython, just saw some docs, and got curious [20:01:23] among those "fixit" - i'm developing the new api2 as well [20:02:30] Alchimista, Acc to me most ppl use it for performance critical code like writing postgres-driver [20:02:40] Betacommand: wikitech [20:03:07] uh, or not [20:03:38] * MatmaRex got lost in the conversation [20:03:41] 03(mod) North america upload caches aren't responding to squid purges - 10https://bugzilla.wikimedia.org/41130 +comment (10Betacommand) [20:04:32] New patchset: IAlex; "Normalise inline comment markers to "//" in WikiPage.php" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/40577 [20:04:47] 03(NEW) Add a chevron above the notifications flyout - 10https://bugzilla.wikimedia.org/43430 normal; MediaWiki extensions: Echo; () [20:04:54] 03(mod) Add a chevron above the notifications flyout - 10https://bugzilla.wikimedia.org/43430 (10Fabrice Florin) [20:05:43] 03(mod) North america upload caches aren't responding to squid purges - 10https://bugzilla.wikimedia.org/41130 +comment (10lex ein) [20:06:34] 03(NEW) Link for Echo flyout title - 10https://bugzilla.wikimedia.org/43431 normal; MediaWiki extensions: Echo; () [20:08:39] kracekumar: 4.4 hours to parse enwikipedia [20:08:45] 03(NEW) Dock links bar at bottom of Echo flyout - 10https://bugzilla.wikimedia.org/43432 normal; MediaWiki extensions: Echo; () [20:08:54] 03(mod) Dock links bar at bottom of Echo flyout - 10https://bugzilla.wikimedia.org/43432 (10Fabrice Florin) [20:08:57] 03(NEW) Feedback of IPv6 users didn't show up in their contributions - 10https://bugzilla.wikimedia.org/43433 normal; MediaWiki extensions: ArticleFeedbackv5; () [20:10:24] 03(mod) Feedback of IPv6 users didn't show up in their contributions - 10https://bugzilla.wikimedia.org/43433 +ipv6 (10se4598) [20:10:25] Betacommand, let me try with sax parser as well [20:11:17] Betacommand: an update.py could be usefull at least on the rewrite branch, specially for those who aren't familiar with svn, and even if pywp migrates to git, those who do not know how to use it, simpy could use the update.py [20:11:25] 03(NEW) Echo badge in user menu - 10https://bugzilla.wikimedia.org/43434 normal; MediaWiki extensions: Echo; () [20:11:44] 03(mod) Echo badge in user menu - 10https://bugzilla.wikimedia.org/43434 (10Fabrice Florin) [20:12:10] yes, why isn't pywikipedia update to git ? [20:12:14] *updated [20:12:35] because git sucks [20:13:10] New patchset: Amire80; "Add display and dynamic loading of warnings" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/40299 [20:13:19] git rocks if you know how to cook it [20:13:46] gerrit is what sucks profoundly, but you can learn to live even with it [20:14:09] +1 to MaxSem [20:14:45] git's awesome, gerrit cripples it [20:14:55] MaxSem, you're absolutelly correct, it sucks to me because i use it rarelly, but gerrit right now is kind of horrible for non experts [20:15:28] is there a list of project owners somewhere? trying to figure out who maintains ArticleFeedbackv5 [20:17:00] New review: Amire80; "Some comments:" [mediawiki/extensions/Translate] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/40299 [20:17:00] Yurik: start from https://gerrit.wikimedia.org/r/#/admin/projects/ [20:17:04] it's gotta be there, somewhere [20:17:05] we are trying, but there is a lot of reservations by git+gerrit -scared people [20:17:15] 03(NEW) Make text easier to read in the Echo flyout - 10https://bugzilla.wikimedia.org/43435 normal; MediaWiki extensions: Echo; () [20:17:15] but gerrit has some very overengineered access list control systems [20:17:41] MatmaRex: i already checked, there is no owner listed [20:18:09] Yurik: i *think* this would be the sum of these three lists: [20:18:17] https://gerrit.wikimedia.org/r/#/admin/groups/1,members https://gerrit.wikimedia.org/r/#/admin/groups/151,members https://gerrit.wikimedia.org/r/#/admin/groups/163,members [20:18:50] no promises though [20:19:30] bleh, isn't there a specific person who loves and cherishes ArticleFeedbackv5 ? Guess I will have to review it myself - i was hoping for it to change its name [20:20:30] there is also https://www.mediawiki.org/wiki/Developers/Maintainers [20:20:41] aha! thx :) [20:20:56] Yurik: changing pywp to git isn't as easy has an extension, or mediawiki core. A lot of *noobs* use it, and aren't familiar with revision controls, rather than a simply "svn update" [20:21:06] but it looks like it just links to https://gerrit.wikimedia.org/r/#/admin/groups/163,members for aftv5 :) [20:21:24] Alchimista: git is easier if you didn't know svn beforehand. [20:21:31] (i'm serious) [20:21:56] 03(NEW) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 normal; MediaWiki extensions: Extensions requests; () [20:22:16] because you get to skip the unlearning step, where your favorite commands start doing completely different things :) [20:22:30] MatmaRex: that's not entirely true - when used with tools like tortoisesvn, it becomes extremelly easy. tortoisegit on ther other hand requires a lot more thinking [20:22:35] and learning git is easy - git add, git commit, git push, git pull - that's all you need to sart [20:22:37] start* [20:22:50] and git status. [20:22:55] 03(mod) Raw $PAGEINTRO in email notifications - 10https://bugzilla.wikimedia.org/42752 +comment (10Nemo) [20:22:57] you assume novice users use shell [20:23:00] they don't [20:23:07] MatmaRex: i don't doubt it, right now i'm not confortable with it, but with some free time it can change, but i've helped a lot of users setting theyr pywp install, and i'm aware some of them may simply abandone the bot if things gets more complicated [20:23:13] they should. it's easy. [20:23:22] TortoiseGit is crap [20:23:33] if you never used shell before, then you also need to learn about cd. now you know shell enough to use git in it. [20:23:39] "should" is not the same as "do" [20:23:50] GitExtensions looked better for a Windows Git GUI than TortoiseGit did [20:23:50] that's the diference of an extension and pywp, pywp has a huge ammount of users who aren't programers or computer cientists [20:23:51] Dantman, I fi nd TG quite nice for committing [20:24:04] 03(NEW) Short timestamps for Echo flyout and archive - 10https://bugzilla.wikimedia.org/43437 normal; MediaWiki extensions: Echo; () [20:24:13] 03(mod) Short timestamps for Echo flyout and archive - 10https://bugzilla.wikimedia.org/43437 (10Fabrice Florin) [20:24:26] 03(mod) Restore functioning of $CHANGEDORCREATED for backward compatibility of outdated enotif_body - 10https://bugzilla.wikimedia.org/42941 (10Nemo) [20:24:29] ...mostly because of TortoiseDiff [20:24:37] i use winmerge [20:25:08] Alchimista, if people barely grok svn, how do they write pywikipedia? [20:25:19] they don't [20:25:21] they use it [20:25:41] why would you need svn or git to just use pywiki? [20:25:43] MaxSem: ^ i'm refering to the end users, not programers [20:25:48] in reality i think we should dump those users and tell them to download and unzip instead [20:25:48] ah, you mean updates from svn? [20:25:53] to keep it updated [20:25:55] don't people just download the tarball or something? [20:25:58] ah [20:26:24] MatmaRex, on WMF wikis interwiki bot ops are required to update daily [20:26:44] Yurik: how do they use pywp if not with shell? [20:27:25] MaxSem: oh, okay [20:27:31] (btw, i have no idea why doesn't WMF itself run a *single* bot for interwiki updates on all wikis) [20:27:35] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 +comment (10Brandon Harris) [20:27:47] MatmaRex, WikiData will handle it [20:28:26] We have a lot of success with Gerrit from non experts. [20:28:45] Novices technical people manage to work with it. [20:28:49] MaxSem: yeah, i know. it still baffles me [20:28:59] This is not easy, but this doesn't seem to be a major blocker. [20:29:07] MaxSem: have you ever tried to change interwiki on all linked articles at once? [20:29:21] MaxSem: i did. three different bots reverted my bot, one after another [20:29:27] giftpflanze: they might have learnt a few commands, just enough to set parameters. I actually don't know of the users much - unlike web, there is no easy way to track who does what and how :( [20:29:37] i had to slap {{nobots}} everywhere first, then do may changes [20:29:40] my* [20:29:43] then remove nobots [20:29:50] 03(mod) Removing link trail doesn't affect the output - 10https://bugzilla.wikimedia.org/43429 (10ssastry) [20:30:05] There could be a psychological barrier with Gerrit (the interface isn't sexy), but it's a rather nice application. [20:30:18] i think i even had someone from here help me, but i dont remember who it was right now [20:30:28] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 +comment (10Brion Vibber) [20:30:35] gerrit's interface sucks hard. [20:30:36] Dereckson, there's also a technical barrier on Windows [20:30:37] And it becomes standard: projects like Eclipse, LibreOffice, Typo3, Android, Wikimedia and OpenStack use it. [20:31:00] e.g. the inline commnets thing - completely non-discoverable [20:31:05] easy to forget to publish them [20:31:16] or commenting on the change, there's no Comment button, only Review [20:31:28] Yes, we could need a nice code comment UI. [20:31:37] bah, the first time i've tryed to submit something to gerrit it got screwd, so it was my first and last time [20:32:20] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 (10Dereckson) [20:32:21] 03(mod) Expose image thumbs, embedded video players via oEmbed (API + discovery ) - 10https://bugzilla.wikimedia.org/25854 (10Dereckson) [20:32:23] 03(mod) Export file thumbnail, video preview via Open Graph meta elements as Facebook posting helper - 10https://bugzilla.wikimedia.org/31338 (10Dereckson) [20:32:31] Alchimista: ... that's not a particularly helpful attitude. how did it get "screwed"? [20:33:09] MatmaRex: https://gerrit.wikimedia.org/r/#/c/16778/ [20:33:29] Alchimista: what's the issue there? [20:33:37] ah [20:33:39] it didn't merge [20:33:47] well, that's certainly not git-specific, you know. [20:34:10] you should have just manually rebased it on master and fixed the merge conflict. [20:34:21] (unless there's something i'm missing) [20:34:32] Change merged: awjrichards; [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40575 [20:34:47] Change merged: awjrichards; [mediawiki/tools/release] (master) - https://gerrit.wikimedia.org/r/40572 [20:35:20] MatmaRex: it didn't worked at that time, i've talked on irc to check what was the error, but with no luck [20:35:53] it also had commited twice with one single command [20:36:20] no, it didn't. you submitted the change, then rebased it from the interface. [20:36:28] (you clicked "Rebase") [20:36:53] also, didn't daniel zahn explain the issue on the change? [20:37:26] I like Bugzilla 3.2 and the see also autoupdate :) [20:37:53] When you indicate "see also bug Y" on the bug X, it now adds automatically "see also bug X" on Y. [20:37:55] * MatmaRex is always happy to solve git issues! (And always grumpily ready to help solve gerrit ones.) [20:40:16] MatmaRex: i didn't used the web interface only if it was unpropoused. i got some emails with errors, let me check ( now i can know what went wrong) [20:40:21] I forgot something on bug 43436, mark it as a Commons dep. [20:40:48] so now we move from Gerrit to Jenkins [20:41:13] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 (10Dereckson) [20:41:13] 03(mod) Bug and feature requests related to Wikimedia Commons (tracking) - 10https://bugzilla.wikimedia.org/37883 (10Dereckson) [20:42:27] 03(mod) Short timestamps for Echo flyout and archive - 10https://bugzilla.wikimedia.org/43437 normal->15enhancement; +comment (10Dereckson) [20:43:09] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 (10Leonard Wallentin) [20:43:29] 03(mod) Make text easier to read in the Echo flyout - 10https://bugzilla.wikimedia.org/43435 +design (10Dereckson) [20:43:41] 03(mod) Export file thumbnail, video preview via Open Graph meta elements as Facebook posting helper - 10https://bugzilla.wikimedia.org/31338 (10Leonard Wallentin) [20:44:29] 03(mod) Feedback of IPv6 users didn't show up in their contributions - 10https://bugzilla.wikimedia.org/43433 normal->major; +comment (10Dereckson) [20:45:04] MaxSem: any idea why /w/api.php?action=query&prop=extracts&format=json&exchars=140&exlimit=100&exsectionformat=plain&generator=allpages&gapprefix=Ind&gaplimit=10 does not actually return extracts for anything but the first page? [20:45:28] 03(mod) Link for Echo flyout title - 10https://bugzilla.wikimedia.org/43431 normal->15enhancement (10Dereckson) [20:46:28] 03(mod) Export file thumbnail, video preview via Open Graph meta elements as Facebook posting helper - 10https://bugzilla.wikimedia.org/31338 +comment (10Leonard Wallentin) [20:47:05] PythonPanda, because the limit is 1 without exintro [20:48:05] oh [20:48:16] 03(mod) Special:Import should allow GET and/or /interwiki:Page "subpage" in URL - 10https://bugzilla.wikimedia.org/43426 +comment (10Dereckson) [20:53:15] New patchset: awjrichards; "Update MobileFrontend to master" [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40579 [20:53:33] MaxSem: could you put +1 in https://gerrit.wikimedia.org/r/#/c/40559/ [20:54:06] Change merged: awjrichards; [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40579 [20:54:09] Yurik, we're about to deploy, I'll look later [20:54:36] zhal' ne uspel :) [21:06:24] 03(mod) Mobile edit tagging is hacky - 10https://bugzilla.wikimedia.org/43305 (10Jon) [21:21:42] 03(mod) North america upload caches aren't responding to squid purges - 10https://bugzilla.wikimedia.org/41130 +comment (10Rob Lanphier) [21:26:12] 03(NEW) Remove Wikitext markup code from text snippets in Echo flyout and archive - 10https://bugzilla.wikimedia.org/43438 normal; MediaWiki extensions: Echo; () [21:26:32] 03(mod) Echo disables existing watchlist email notifications - 10https://bugzilla.wikimedia.org/41839 +comment (10Nemo) [21:27:41] 03(mod) Remove Wikitext markup code from text snippets in Echo flyout and archive - 10https://bugzilla.wikimedia.org/43438 (10Fabrice Florin) [21:28:21] New patchset: Raimond Spekking; "Fix typo in MediaWiki blacklist message key" [mediawiki/extensions/PageImages] (master) - https://gerrit.wikimedia.org/r/40741 [21:29:18] 03(NEW) Show Echo flyout scrollbar on hover - 10https://bugzilla.wikimedia.org/43439 normal; MediaWiki extensions: Echo; () [21:29:26] 03(mod) Show Echo flyout scrollbar on hover - 10https://bugzilla.wikimedia.org/43439 (10Fabrice Florin) [21:29:51] 03(NEW) No new user talk message on.wiki notification - 10https://bugzilla.wikimedia.org/43440 normal; MediaWiki extensions: Echo; () [21:32:26] 03(NEW) Show 'settings' icon without label in the Echo archive page - 10https://bugzilla.wikimedia.org/43441 normal; MediaWiki extensions: Echo; () [21:32:39] 03(mod) Show 'settings' icon without label in the Echo archive page - 10https://bugzilla.wikimedia.org/43441 (10Fabrice Florin) [21:33:12] grrr, throttled myself [21:33:13] sigh [21:33:30] 03(NEW) Disable duplicate user talk edit notifications by Echo - 10https://bugzilla.wikimedia.org/43442 major; Wikimedia: Site requests; () [21:33:30] 03(mod) Echo disables existing watchlist email notifications - 10https://bugzilla.wikimedia.org/41839 (10Nemo) [21:33:39] 03(mod) Disable duplicate user talk edit notifications by Echo - 10https://bugzilla.wikimedia.org/43442 +shell (10Nemo) [21:33:47] 03(mod) Disable duplicate user talk edit notifications by Echo - 10https://bugzilla.wikimedia.org/43442 (10Nemo) [21:35:57] Change merged: MaxSem; [mediawiki/extensions/PageImages] (master) - https://gerrit.wikimedia.org/r/40741 [21:36:00] New patchset: awjrichards; "Update MobileFrontend to master" [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40743 [21:36:05] 03(NEW) Clearer header for email frequency in notifications preferences - 10https://bugzilla.wikimedia.org/43443 normal; MediaWiki extensions: Echo; () [21:36:36] Change merged: awjrichards; [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40743 [21:36:42] New patchset: Raimond Spekking; "[PageImages] Add message key to ignore" [translatewiki] (master) - https://gerrit.wikimedia.org/r/40744 [21:36:58] Change merged: Raimond Spekking; [translatewiki] (master) - https://gerrit.wikimedia.org/r/40744 [21:38:44] 03(mod) No new user talk message on.wiki notification - 10https://bugzilla.wikimedia.org/43440 (10bsitu) [21:39:11] New patchset: MaxSem; "Update MobileFrontend and PageImages to master" [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40745 [21:39:33] Change merged: MaxSem; [mediawiki/core] (wmf/1.21wmf6) - https://gerrit.wikimedia.org/r/40745 [21:41:29] 03(mod) No new user talk message on-.wiki notification - 10https://bugzilla.wikimedia.org/43440 summary (10Nemo) [21:41:37] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 summary (10Nemo) [21:41:40] 03(NEW) Notifications tab placement in preferences - 10https://bugzilla.wikimedia.org/43444 normal; MediaWiki extensions: Echo; () [21:41:54] 03(mod) Notifications tab placement in preferences - 10https://bugzilla.wikimedia.org/43444 (10Fabrice Florin) [21:42:01] 03(mod) Echo disables existing watchlist email notifications - 10https://bugzilla.wikimedia.org/41839 (10bsitu) [21:42:10] 03(mod) Echo disables existing watchlist email notifications - 10https://bugzilla.wikimedia.org/41839 (10bsitu) [21:42:30] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 +comment (10Nemo) [21:43:46] 03(mod) Echo notification popover has broken text overflow - 10https://bugzilla.wikimedia.org/41968 (10Nemo) [21:45:07] New patchset: Nikerabbit; "Add .gitreview" [mediawiki/extensions/InviteSignup] (master) - https://gerrit.wikimedia.org/r/40746 [21:46:41] New review: Jeroen De Dauw; "Really, please test the code or at least have a good second look at it yourself." [mediawiki/extensions/SemanticMediaWiki] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/34572 [21:47:57] 03(NEW) Combine 'page review' options in Echo preferences - 10https://bugzilla.wikimedia.org/43445 normal; MediaWiki extensions: Echo; () [21:48:05] 03(mod) Combine 'page review' options in Echo preferences - 10https://bugzilla.wikimedia.org/43445 (10Fabrice Florin) [21:48:07] I'm having trouble enabling localsettings.php to exec() a python file. [21:53:17] Hello theKaramanukian. [21:53:37] Would you have some code to share with us, so we can help you to see that? [21:53:42] New patchset: Yaron Koren; "Added handling for $egApprovedRevsBlankIfUnapproved for MW 1.21+" [mediawiki/extensions/ApprovedRevs] (master) - https://gerrit.wikimedia.org/r/40748 [21:54:16] 03(NEW) Show negative notifications last in user preferences - 10https://bugzilla.wikimedia.org/43446 normal; MediaWiki extensions: Echo; () [21:54:16] 03(mod) Show negative notifications last in user preferences - 10https://bugzilla.wikimedia.org/43446 (10Fabrice Florin) [21:55:16] New patchset: Nikerabbit; "Initial commit" [mediawiki/extensions/InviteSignup] (master) - https://gerrit.wikimedia.org/r/40749 [21:55:16] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 (10bsitu) [21:59:17] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 +comment (10Nemo) [21:59:48] Dereckson: sry, I'm able to run the python file when I ssh in, but the following isn't working: [22:01:08] http://dpaste.org/VnGtD/ [22:03:04] New patchset: Cmcmahon; "fixing issues in comments" [qa/browsertests] (master) - https://gerrit.wikimedia.org/r/40750 [22:03:04] New patchset: Cmcmahon; "consolidate hard to read commits to one nice commit for PageTriage" [qa/browsertests] (master) - https://gerrit.wikimedia.org/r/39705 [22:05:36] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 +comment (10billinghurst) [22:07:03] Dereckson: if you care to see the samplePython.py that exec() calls, here it is: http://dpaste.org/P6ZcX/ [22:11:01] And how do you know the method onArticleSave is effectively called? [22:14:03] hmm [22:14:10] anyone around to review a new extension? [22:22:55] Nikerabbit: this is called an hook [22:23:13] s/Nikerabbit/theKaramanukian [22:23:41] You have a sample on http://www.mediawiki.org/wiki/Manual:Hooks (and this is convenient: it's articleSaveComplete who had been chosen) [22:24:06] The recommandation is to write a small extension for this kind of stuff, but it will work to put that on LocalSettings.php too. [22:24:46] So $wgHooks[ 'ArticleSaveComplete' ][] = 'onArticleSave' should work. [22:25:54] Dereckson: ArticleSaveComplete is deprecated; use PageContentSaveComplete. [22:25:59] http://www.mediawiki.org/wiki/Manual:Hooks/PageContentSaveComplete [22:26:35] good call. [22:26:59] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 (10bsitu) [22:27:05] Dereckson: Im still trying to think of what I have to configure. [22:27:31] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 (10bsitu) [22:28:21] 03(mod) No new user talk message on-wiki notification - 10https://bugzilla.wikimedia.org/43440 (10bsitu) [22:30:02] is there anything in mediawiki that prevents exec() from running? [22:31:32] ori-l: would you know who would be interested by update [[Manual:Hooks]]? [22:32:46] hi [22:33:03] can someone tell me how to write to a table in the database from an extension? [22:33:24] i read: http://www.mediawiki.org/wiki/Manual:Database_access [22:33:29] theKaramanukian: you need two pieces of code: a callback function (you already wrote it) and an event subscription (for MediaWiki, this is adding the callback function name in the proper hook arrays) [22:33:33] but that doesnt help that much [22:34:02] 03(mod) jquery.tablesorter: Add support for a "fixed" column - 10https://bugzilla.wikimedia.org/40618 +comment (10tm112) [22:34:11] theKaramanukian: so basically, it's as simple as chck on http://www.mediawiki.org/wiki/Manual:Hooks/PageContentSaveComplete your arguments parameters are the good and then add in your LocalSettings.php $wgHooks[ 'PageContentSaveComplete' ][] = 'onArticleSave'; [22:34:55] lbenedix: I would recommend to read the code of an extension doing that, a sample will be more vivid. [22:35:08] Alright I'll check that out. I didn't know about it. [22:35:20] lbenedix: you also need http://svn.wikimedia.org/doc/classDatabaseBase.html the reference of the database abstraction methods [22:35:21] 03(mod) input type=checkbox|default=yes doesn't work - 10https://bugzilla.wikimedia.org/43428 +comment (10Niklas Laxström) [22:35:53] Dereckson: the problem wasn't the hook but exec() right? [22:36:03] I'll check it out brb [22:36:43] lbenedix: well... http://www.mediawiki.org/wiki/Manual:Database_access#Wrapper_function:_select.28.29 is the way to do it: each time you need to interact with the database, you need to get an object instance. This is what $dbr = wfGetDB( DB_SLAVE ); do. [22:37:40] theKaramanukian: as long as you aren't sure this function is really called when you save a page, the stuff to check is the hook [22:37:57] Dereckson: I am sure [22:38:07] the function is called! [22:38:16] Ok, good. Are you on a dedicated server, a shared hosting facility? [22:38:23] shared. [22:38:48] Did you check the provider documentation about PHP configuration like "let's disable exec"? [22:39:36] Dereckson: ok, select is not the problem [22:40:16] theKaramanukian: test with a sample hellworld.php file with inside. [22:40:31] theKaramanukian: expected result > it should print your current directory [22:40:42] Change merged: Yaron Koren; [mediawiki/extensions/ApprovedRevs] (master) - https://gerrit.wikimedia.org/r/40748 [22:41:23] (another expected result could be /bin/pwd: not found, but that would confirm you can use exec) [22:42:09] lbenedix: could the insert() method - http://svn.wikimedia.org/doc/classDatabaseBase.html#a71d9b618c7e85fccfff6839039b27f91 - be useful? [22:42:46] Dereckson: sure, but is there an example? [22:43:52] Let me browse gitweb to find you one. [22:44:48] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/AbuseFilter.git;a=blob;f=Views/AbuseFilterViewEdit.php;h=526e41e1b6b66b01b23d8e9523b1d9fd32aded67;hb=HEAD#l204 for a good delete one [22:44:58] Dereckson: the following (your code with the addition of an echo) creates a blank screen: http://dpaste.org/pmnRx/ [22:45:12] (the insert uses an array defined elsewhere, so it's not a good idea) [22:45:13] it doesn't output anything. [22:45:46] theKaramanukian: I'm sorry I made a typo, please try [22:45:50] (I wanted to write echo and not exec) [22:45:57] oi [22:46:01] `` is a backtick operator, doing the same stuff than exec [22:46:16] this is equivalent to [22:46:42] (but it's rather normal trying to execute the directory won't work) [22:46:51] (as it would execute the result of the first command) [22:46:53] haha [22:47:20] yes it worked. [22:47:23] lbenedix: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/AbuseFilter.git;a=blob;f=AbuseFilter.class.php;h=43a1bd4941803cde9fc80f595a3a998c72c88cbd;hb=HEAD#l905 [22:47:46] an array with 'field' => 'value to insert' is prepared [22:48:51] 03(mod) Support language variants (different language interfaces - same wikipedia) - 10https://bugzilla.wikimedia.org/21806 +comment (10Jon) [22:49:00] so $data['fruit'] = 'apple'; $data['color'] = 'red']; $dbw->insert('objects_colors', $data, __METHOD__); would be "INSERT INTO objects_color ('fruit', 'color') VALUES ('apple', 'red'); [22:49:13] -] [22:49:18] +" [22:50:11] sounds easy [22:51:04] Dereckson: it printed the directory as expected. [22:52:08] php exec("hello.py") will run "hello.py" in the current directory right? [22:52:47] Only if it's executable. Did you chmod +x hello.py? [22:54:33] On UNIX, a file has to be explicitely marked as executable. In this case, depending of the kind of files, the OS calls the relevant routine to execute it. For scripts, it detects the "#!". But it won't do anything to try to execute other files. [22:55:30] 03(mod) Landing on Main Page from random - 10https://bugzilla.wikimedia.org/42663 +comment (10Jon) [22:56:10] 03(mod) MobileFrontend alpha settings don't allow going straight back to regular mode - 10https://bugzilla.wikimedia.org/43243 (10Jon) [22:56:57] 03(mod) Special:MobileDiff: Call to a member function getPrevious() on a non-object - 10https://bugzilla.wikimedia.org/43267 +comment (10Jon) [22:57:25] 03(mod) Landing on Main Page from random - 10https://bugzilla.wikimedia.org/42663 +code-update-regression (10Dereckson) [22:59:11] jdlrobson: are you sure you don't want to let this bug open with a lower priority? It could be an attractor for volunteers willing to work on mobile stuff. [23:00:03] jdlrobson: it will be resolvable as WORKSFORME when the more proper solution you advocate will be implemented, but currently, it's still a bug. [23:00:43] 03(mod) Back button from watchlist diff - 10https://bugzilla.wikimedia.org/42744 +comment (10Jon) [23:01:16] Dereckson: i'd rather we fixed the bigger problem here - it would introduce an awful large amount of code for very small gain [23:02:09] it's a WONTFIX not a WORKSFORME [23:03:22] Yes, it's currently a WONTFIX. I were only stating it will be a WFM if reopened, and then the bigger problem is fixed. I weren't aware of the amount of code needed to fix that, okay, it makes more sense to close as WONTFIX. [23:11:41] New patchset: Bsitu; "add article-linked notification" [mediawiki/extensions/Echo] (master) - https://gerrit.wikimedia.org/r/40756 [23:12:23] 03(mod) Disable duplicate user talk edit notifications by Echo - 10https://bugzilla.wikimedia.org/43442 +comment (10Quim Gil) [23:15:09] 03(mod) Invalidation of Varnish thumbnail cache sometimes doesn't work - 10https://bugzilla.wikimedia.org/41130 summary; +comment (10Tim Starling) [23:16:25] 03(mod) File pages broken in beta - 10https://bugzilla.wikimedia.org/42741 +comment (10Jon) [23:16:39] 03(mod) Etherpad.wmflabs.org : since end of november 2012, branch develop allows to run etherpad-lite over SSL - 10https://bugzilla.wikimedia.org/43404 (10Quim Gil) [23:17:45] 03(mod) MF beta search post-selection ajax load doesn't trigger Hi-DPI/responsive JS - 10https://bugzilla.wikimedia.org/41287 +comment (10Jon) [23:17:45] 03(mod) MF beta high-DPI/responsive images don't trigger in sections beyond the summary - 10https://bugzilla.wikimedia.org/41288 +comment (10Jon) [23:22:59] 03(mod) Disable duplicate user talk edit notifications by Echo - 10https://bugzilla.wikimedia.org/43442 (10bsitu) [23:26:40] New patchset: Yaron Koren; "Fix so that "page is blank" subtitle is displayed for non-admins" [mediawiki/extensions/ApprovedRevs] (master) - https://gerrit.wikimedia.org/r/40760 [23:28:31] Change merged: Yaron Koren; [mediawiki/extensions/ApprovedRevs] (master) - https://gerrit.wikimedia.org/r/40760 [23:35:38] Hi Prodego. [23:35:57] hi [23:36:16] Another day, another female name [23:36:32] luckily whois exists :) How's it going? [23:37:12] That reminds me, there was a day last week where I thought Susan happened to be somebody new from the OPW thing instead of the person we know and love [23:37:19] Prodego: Pretty good. You? [23:37:35] Susan: I'm doing pretty well. [23:37:43] I haven't seen you around much lately. [23:38:59] No, I've been pretty busy, and my wikimedia activity is probably winding down. [23:41:15] 03(mod) Invalidation of Varnish thumbnail cache sometimes doesn't work - 10https://bugzilla.wikimedia.org/41130 (10Betacommand) [23:41:17] 03(mod) Thumbnail/imagescaler (tracking) - 10https://bugzilla.wikimedia.org/41371 (10Betacommand) [23:46:00] 03(NEW) WebM playback on Commons halts after about 100 seconds - 10https://bugzilla.wikimedia.org/43447 normal; MediaWiki: General/Unknown; () [23:46:11] 03(mod) WebM playback on Commons halts after about 100 seconds - 10https://bugzilla.wikimedia.org/43447 (10Asaf Bartov) [23:46:43] Change abandoned: Reedy; "(no reason)" [mediawiki/extensions/GuidedTour/guiders] (master) - https://gerrit.wikimedia.org/r/39514 [23:48:08] Prodego: RIP. [23:50:07] 03(NEW) varnishhtcpd occasionally stops responding to HTCP requests - 10https://bugzilla.wikimedia.org/43448 normal; Wikimedia: General/Unknown; () [23:52:05] 03(mod) Implement Twitter Cards - 10https://bugzilla.wikimedia.org/43436 (10John Mark Vandenberg) [23:55:36] 03(mod) Invalidation of Varnish thumbnail cache sometimes doesn't work - 10https://bugzilla.wikimedia.org/41130 +comment (10Bawolff (Brian Wolff)) [23:57:36] While that explains bug 41130... [23:59:02] Susan: I'll try to avoid dying