[00:00:06] CREATE TABLE uifeedback( [00:00:19] should really be [00:00:19] CREATE TABLE /*_*/uifeedback( [00:01:03] And the end line should at least have a ; [00:01:07] but preferably [00:01:08] ) /*$wgDBTableOptions*/; [00:04:16] tanks a lot [00:04:36] You probably really don't need <= 1.16 support too [00:05:38] at work we have a 1.10 ;) [00:05:49] but that extension will not be used there... [00:06:05] Scary! [00:06:39] thats true [00:07:24] "it's good enough and noboy wants to deal with the upgrade" [00:07:57] :| [00:20:54] 03(mod) Lead collapse functionality - 10https://bugzilla.wikimedia.org/43664 +comment (10Jon) [00:21:39] New patchset: Kaldari; "(bug 43100) Fixing WikiLove error handling for post-preview errors" [mediawiki/extensions/WikiLove] (master) - https://gerrit.wikimedia.org/r/42392 [00:22:19] 03(mod) Lead collapse functionality - 10https://bugzilla.wikimedia.org/43664 +comment (10Jon) [00:29:01] 03(mod) WikiLove should show a human-readable error for wikilove-err-send-api error - 10https://bugzilla.wikimedia.org/43100 +comment (10Ryan Kaldari) [00:46:54] 03(mod) Spam filter malfunction - 10https://bugzilla.wikimedia.org/13775 +comment (10Rjd0060) [01:16:45] 03(mod) Spam filter malfunction - 10https://bugzilla.wikimedia.org/13775 +comment (10Andre Klapper) [01:25:11] 03(NEW) Spam filter not filtering majority of spam to Junk folder - 10https://bugzilla.wikimedia.org/43665 normal; Wikimedia: OTRS; () [02:01:02] 03(NEW) Implement scaleable graphing capability in a MediaWiki extension for Wikimedia wikis (tracking) - 10https://bugzilla.wikimedia.org/43666 normal; Wikimedia: General/Unknown; () [02:01:03] 03(mod) Tracking bug (tracking) - 10https://bugzilla.wikimedia.org/2007 (10MZMcBride) [02:02:05] 03(mod) Implement scaleable graphing capability in a MediaWiki extension for Wikimedia wikis (tracking) - 10https://bugzilla.wikimedia.org/43666 (10MZMcBride) [02:02:07] 03(mod) Dynamic charts/graphs in Wikipedia - 10https://bugzilla.wikimedia.org/39554 (10MZMcBride) [02:02:07] 03(mod) Add page views graph(s) to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41327 (10MZMcBride) [02:02:10] 03(mod) Add edit history graph(s) to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41329 (10MZMcBride) [02:08:01] 03(NEW) Add graphs of user contributions - 10https://bugzilla.wikimedia.org/43667 normal; Wikimedia: General/Unknown; () [02:08:04] 03(mod) Implement scaleable graphing capability in a MediaWiki extension for Wikimedia wikis (tracking) - 10https://bugzilla.wikimedia.org/43666 (10MZMcBride) [02:12:37] 03(mod) Spam filter not filtering majority of spam to Junk folder - 10https://bugzilla.wikimedia.org/43665 (10MZMcBride) [02:27:56] 03(NEW) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 enhancement; Wikimedia: General/Unknown; () [02:32:04] 03(mod) Divide wikis into database lists by approximate size for performance engineering - 10https://bugzilla.wikimedia.org/39667 +comment (10MZMcBride) [02:35:42] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 (10p858snake) [02:38:10] p858snake|l: Heh, CC'ing Domas? [02:38:23] He's pretty uninvolved at this point. Washed his hands of Wikimedia's idiocy. ;-) [03:06:07] New patchset: Reedy; "Add "modifyExtensionField" utility function" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42393 [03:13:11] 03(mod) dumps.wikimedia.org seems super-slow right now - 10https://bugzilla.wikimedia.org/43647 normal->major; +comment (10MZMcBride) [03:22:24] 03(mod) Clarify Parsoid license - 10https://bugzilla.wikimedia.org/42889 +comment (10Gabriel Wicke) [03:22:33] getting a weird error message when trying to submit a change for one of my extensions to gerrit: it says We don't know where your gerrit is. Please manually create a remote named "gerrit" and try again. [03:23:03] My .gitreview looks right as far as I can tell, so I have no idea how to go about solving that so I can submit the commit [03:41:49] 03(mod) Lead collapse functionality - 10https://bugzilla.wikimedia.org/43664 +comment (10Ryan Kaldari) [03:48:02] 03(mod) dumps.wikimedia.org seems super-slow right now - 10https://bugzilla.wikimedia.org/43647 +ops (10p858snake) [04:26:46] New patchset: Nischayn22; "i18n fixes" [mediawiki/extensions/PageCreationNotif] (master) - https://gerrit.wikimedia.org/r/42381 [04:36:59] New patchset: Nischayn22; "bug 42979 Upload only 50 images in one go." [mediawiki/extensions/UploadWizard] (master) - https://gerrit.wikimedia.org/r/42385 [04:45:22] 03(mod) Implement a way for admins to blacklist Flickr users - 10https://bugzilla.wikimedia.org/42307 +comment (10Nischay Nahata) [05:34:51] 03(mod) Restore functioning of $CHANGEDORCREATED for backward compatibility of outdated enotif_body - 10https://bugzilla.wikimedia.org/42941 +comment (10Richard Guk) [06:00:31] morning folks! [06:01:47] running on IIS ( :( ) accessing /api.php works for admin users. But for non-admins, they are getting nothing but a page full of "PHP Notice: Array to string conversion in C:\wiki\includes\api\ApiBase.php on line 283" [06:02:43] morning mobiGeek [06:04:22] rihen: g'day! [06:04:26] any thoughts? [06:10:47] Is there any reason memcached might cause edits to, instead of saving, cause the server to close the connection? [06:11:51] New review: Mattflaschen; "I now have an actual use case for this (int:), so I'd like to move this forward. See Siebrand's com..." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41808 [06:13:13] Apparently php is segfaulting. [06:17:31] New patchset: Santhosh; "Fix view port scrolling in Special:Translate" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42377 [06:45:19] 03(NEW) Whatlinkshere should list items that use properties - 10https://bugzilla.wikimedia.org/43669 normal; MediaWiki extensions: WikidataRepo; () [06:46:00] New patchset: Mattflaschen; "(bug 43498) (bug 43574) Two wikilink types and {{int:}}." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/41808 [06:46:42] looks like I found a code bug in ApiBase.php How best to report it? [06:46:54] mobiGeek: you tell me :) [06:47:05] and bugzilla is always good [06:47:57] New review: Mattflaschen; "Patch set 6 tweaks int to use getMessageFunction, mainly so if you include a missing message, it wil..." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41808 [06:48:08] 03(mod) Whatlinkshere should list items that use properties - 10https://bugzilla.wikimedia.org/43669 (10jeblad) [06:49:03] i'm just a mediawiki user. [06:49:11] 03(mod) Whatlinkshere should list items that use a specific property - 10https://bugzilla.wikimedia.org/43669 (10jeblad) [06:49:14] ...who happens to read code that is blatantly wrong. [06:49:28] that happens [06:50:05] but fairly hard to fix without hearing what is actually wrong :) [06:50:12] Yurik: i'm not complaining. i've made the fix and it seems to work. [06:50:24] Do you want to hear it? [06:50:29] even better, yes please [06:51:00] New patchset: Mattflaschen; "(bug 43498) (bug 43574) Two wikilink types and {{int:}}." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/41808 [06:51:17] v 1.19.2 - includes/api/ApiBase.php line 285 [06:51:29] looks like 1.19.3 will have the same issue [06:52:10] $v .= ":"; but then in the very next line, it checks if (is_array($v)) {...} [06:52:34] New review: Mattflaschen; "Sorry, after getMessageFunction (patch set 6), I noticed another space problem, so patch set 7 is ju..." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41808 [06:52:47] 03(mod) Special page to identify most likely items for a site-page - 10https://bugzilla.wikimedia.org/41051 (10jeblad) [06:52:47] in the case that $v is an array, then line 285 will throw "array to string conversion" [06:53:12] mobiGeek: i think you are looking at a very old code [06:53:23] one sec [06:56:05] mobiGeek: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blob;f=includes/api/ApiBase.php;h=1b176e7f1e3a632c79c4111ea73e632582ff4204;hb=HEAD [06:56:12] this is the current version from what i can see [06:57:22] Yurik: ugh...WTF?? Our IT did the upgrade....did they f*ck it up massively?? [06:57:30] Yurik: holy crap!! [06:57:40] enjoy fighting with IT :) [06:57:47] we are on 1.21 i think [06:58:22] i mean - 1.21 is the master, 1.20 is out [06:59:30] F*ck me. This ought to be fun to sort out.... [07:00:07] upgrade should be fairly straightforward [07:00:15] Yurik: thank you. You've saved me a LOT of time I was about to launch into debugging what I thought was a working system. [07:00:26] no worries [07:00:30] good luck [07:00:30] Yurik: the "funny" thing is, IT just did the upgrade last week.... [07:00:56] An upgrade to the system I installed 4 years ago (1.15.*) [07:01:14] ...or was it 1.13.* ... [07:01:29] maybe they wanted to stay one version behind? [07:01:44] http://www.mediawiki.org/wiki/Download [07:02:03] 1.20.2 is the final [07:02:31] maybe you heavily modified your installation? [07:02:52] or have old php or mysql?+ [07:03:52] Not heavily modified. A few plugins that I originally installed. Looks like they didn't modify ApiBase.php from what they originally installed....now I just have to find out where they got that original installer from. [07:05:11] 03(mod) Special page to identify most likely properties for an item - 10https://bugzilla.wikimedia.org/41054 (10jeblad) [07:17:32] 03(mod) Categorised pages displaying as uncategorised - 10https://bugzilla.wikimedia.org/37892 +comment (10Nischay Nahata) [07:20:16] Yurik: still here? [07:23:01] mobiGeek: yep [07:25:18] Yurik: looks like 1.19.2 (release date seems to be 2012-08-30?) does not include a fix made on 2012-03-26 [07:25:20] https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;a=blobdiff;f=includes/api/ApiBase.php;h=607c47af9247cd1e5ed30ecba389ce07135e69b4;hp=a8c3cc7f87d5b60814a07f5e53587970131a07d1;hb=fc072f2dfcc92095e9f9e558327e001208a70f35;hpb=13169c88c11470146326e0123d2e762948edbe2f [07:25:46] is there really that long a delay between a fix and a release? [07:26:35] I just re-downloaded 1.19.2 and it does not have the above commit in it. [07:31:51] does this make sense? is this of any interest to you? [07:34:02] mobiGeek: I really wouldn't know - i just looked at the history, it seems the fix went for the 1.20 branch [07:34:19] i am not sure how the full release process works [07:34:38] i would think its much more straightforward [07:34:48] I don't know Git How do I see what branch something is checked into? [07:35:10] ...through the web interface I'm using above [07:36:09] not sure you can view it online [07:36:22] ah, okay. [07:36:31] i am using local tools (they are very easy to set up and clone the repo) [07:36:40] https://www.mediawiki.org/wiki/Git [07:36:50] Mercurial's web UI gives that ability...i was figgerin' Git may as well. [07:37:12] maybe you can view it on https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/core,branches [07:37:59] i think this was the time when they were migrating from SVN to git, so might have delayed some patches [07:38:31] actually, take a look at https://gerrit.wikimedia.org/r/gitweb?p=mediawiki%2Fcore.git;a=shortlog;h=refs%2Fheads%2FREL1_19 [07:38:44] mobiGeek: it seemsthey released it in april [07:39:19] but the reason you see aug is because they pushed out minor patches [07:39:32] probably tiny security and stability, but nothing major [07:42:06] Yurik: thanks for the insight. Now I gotta go ask IT why they didn't go with 1.20.x :) [07:49:20] Yurik: thanks again. I'm off to not piss off the wife anymore :) [07:49:35] mobiGeek: :) [07:49:38] no prob [07:50:18] 'night folks! [07:56:05] 03(NEW) User can review self-created article - 10https://bugzilla.wikimedia.org/43670 normal; MediaWiki extensions: PageTriage; () [07:57:29] New patchset: Nischayn22; "bug 43670 User cannot review self-created articles." [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/42394 [08:05:47] New patchset: Mattflaschen; "Add initial version of GettingStarted tour." [mediawiki/extensions/GuidedTour] (master) - https://gerrit.wikimedia.org/r/42361 [08:06:00] New patchset: Nischayn22; "bug 43670 User cannot review self-created articles." [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/42394 [08:07:05] 03(mod) User can review self-created article - 10https://bugzilla.wikimedia.org/43670 +patch-in-gerrit; +comment (10Nischay Nahata) [08:07:46] New review: Mattflaschen; "Don't merge before https://gerrit.wikimedia.org/r/#/c/41808/" [mediawiki/extensions/GuidedTour] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/42361 [08:08:04] 03(NEW) Pages with more than one interwiki, only show one single link on sv.wikisource - 10https://bugzilla.wikimedia.org/43671 normal; MediaWiki: General/Unknown; () [08:17:57] 03(mod) The curation toolbar dies on a page created by the reviewer - 10https://bugzilla.wikimedia.org/40958 +comment (10Nischay Nahata) [08:23:41] New patchset: Ori.livneh; "Add Ganglia monitoring module for EventLogging" [mediawiki/extensions/EventLogging] (master) - https://gerrit.wikimedia.org/r/42395 [08:25:13] 03(mod) MediaWiki:Pagetriage-byline should use rawParams() - 10https://bugzilla.wikimedia.org/42883 +comment (10Nischay Nahata) [08:25:21] Change merged: Ori.livneh; [mediawiki/extensions/EventLogging] (master) - https://gerrit.wikimedia.org/r/42375 [08:41:59] New patchset: Ori.livneh; "Add Ganglia monitoring module for EventLogging" [mediawiki/extensions/EventLogging] (master) - https://gerrit.wikimedia.org/r/42395 [08:50:20] New patchset: Nischayn22; "Remember page creator in pagetriage tables [draft]" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/42396 [08:54:10] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 (10Nemo) [08:54:18] 03(mod) Periodical run of currently disabled special pages - 10https://bugzilla.wikimedia.org/15434 (10Nemo) [09:00:18] heya guys.. i'm wondering, is it possible to add a wikitable to a navbox? [09:00:26] err, Navbox template? [09:01:34] why not, but at least half of the rules will be in conflict [09:01:39] how so? [09:03:01] depending on the order in stylesheet and css cascade for instance the default background color for headers [09:03:39] idk what you want to do exactly, but you may rather like to tweak the stylesheets for the navbox directly [09:03:46] well, i jsut want to convert http://en.wikipedia.org/wiki/Template:Geologic_time_scale to a proper navbox template [09:03:58] rather than adding another class to it [09:05:27] hm? [09:06:09] i'm not sure what *exactly* you want to do then. if you want to have the wikitable table as the *content* of the navbox, just do so [09:06:35] i thought you want to have the look of the wikitable in navbox templates [09:06:47] you asked in kind of confusing way [09:06:55] anyway, gtg [09:07:39] ok [09:28:33] New patchset: Nischayn22; "tweaks to Live Translate [do not merge]" [mediawiki/extensions/LiveTranslate] (master) - https://gerrit.wikimedia.org/r/42383 [09:29:47] Change merged: jenkins-bot; [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42382 [09:30:20] New patchset: Nischayn22; "Fix usage of Microsoft's translation service." [mediawiki/extensions/LiveTranslate] (master) - https://gerrit.wikimedia.org/r/40092 [09:39:07] New review: Nikerabbit; "Works now but it has the problem Pau described that if you are already at at the bottom of the page,..." [mediawiki/extensions/Translate] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/42377 [09:46:30] Change abandoned: J; "current setup using range requests and extracting from the source works well enough." [mediawiki/extensions/TimedMediaHandler] (master) - https://gerrit.wikimedia.org/r/31646 [09:48:31] How do you tell if update.php is doing anything? [09:50:33] Isarra: read its output? [09:51:23] Why, p858snake|l, I hadn't thought of that! Thank you so much for your insight. [09:51:53] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 (10mybugs.mail) [09:56:30] New patchset: Nischayn22; "Fix usage of Microsoft's translation service." [mediawiki/extensions/LiveTranslate] (master) - https://gerrit.wikimedia.org/r/40092 [09:59:31] New patchset: Nischayn22; "Fix usage of Microsoft's translation service." [mediawiki/extensions/LiveTranslate] (master) - https://gerrit.wikimedia.org/r/40092 [10:06:44] New patchset: Nischayn22; "tweaks to Live Translate [do not merge]" [mediawiki/extensions/LiveTranslate] (master) - https://gerrit.wikimedia.org/r/42383 [10:24:38] 03(NEW) [TUX] the "Save" button is inactive initially for fuzzy messages - 10https://bugzilla.wikimedia.org/43672 normal; MediaWiki extensions: Translate; () [10:28:28] New review: saper; "If we move old skins to the extension, the next thing that happens in the request to install the ext..." [mediawiki/core] (master) C: -1; - https://gerrit.wikimedia.org/r/25170 [10:35:28] New patchset: Amire80; "Add appropriate lang and dir to documentation" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42397 [10:43:46] New patchset: Amire80; "Display group description" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42099 [10:44:39] New patchset: Yurik; "API Cleanup: renamed '_badcontinue'->'badcontinue', one die()" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42398 [10:51:55] 03(NEW) Special:Version show Installed extensions without their versions - 10https://bugzilla.wikimedia.org/43673 normal; MediaWiki: Special pages; () [10:54:22] New patchset: IAlex; "Use ResultWrapper::numRows() instead of DatabaseBase::numRows()" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42399 [11:04:16] 03(mod) After switching patrolling off, impossible to effectively hide patrol log entries in Special:Log - 10https://bugzilla.wikimedia.org/42246 +comment (10Nemo) [11:20:31] 03(NEW) Change primary parameter for list=geosearch and prop=coordinates - 10https://bugzilla.wikimedia.org/43674 normal; MediaWiki extensions: GeoData; () [11:21:09] 03(mod) GeoData throwing exceptions on enwiki - 10https://bugzilla.wikimedia.org/42824 (10db) [11:26:22] 03(mod) GeoData extension needs way to specify "no coordinates relevant" - 10https://bugzilla.wikimedia.org/42834 +comment (10db) [11:35:16] 03(NEW) Create AntiBot component - 10https://bugzilla.wikimedia.org/43675 normal; Wikimedia: Bugzilla; () [11:36:39] 03(mod) PdfHandler: Thumbnail creation fails - 10https://bugzilla.wikimedia.org/22230 (10db) [11:38:00] 03(mod) LdapAuthentication extension - 10https://bugzilla.wikimedia.org/23082 (10db) [11:38:22] 03(mod) Latest commit to LdapAuthentication (r65189) has typo on line 1324 - 10https://bugzilla.wikimedia.org/23257 (10db) [11:39:02] 03(mod) LdapAuthentication.php not querying the LDAP-Server - 10https://bugzilla.wikimedia.org/28217 (10db) [11:41:16] 03(NEW) Create AssertEdit component - 10https://bugzilla.wikimedia.org/43676 normal; Wikimedia: Bugzilla; () [11:41:46] 03(mod) [[Special:SpecialPages#Other special pages]] shows <zeroratedmobileaccess> - 10https://bugzilla.wikimedia.org/35356 (10db) [11:42:47] 03(mod) SmoothGallery: Call to a member function getText() on a non-object - 10https://bugzilla.wikimedia.org/19148 (10db) [11:43:42] 03(mod) ShortUrl isn't protocol relative - 10https://bugzilla.wikimedia.org/33551 (10db) [11:47:10] 03(mod) Menu missing from under edit window with other text and wiki mark up - 10https://bugzilla.wikimedia.org/40963 (10db) [11:48:39] 03(mod) WikiArticleFeed extension doesnt work on 1.16alpha (r58824) - 10https://bugzilla.wikimedia.org/21496 (10db) [11:50:16] 03(mod) ContactPage does not check if user is blocked - 10https://bugzilla.wikimedia.org/24391 (10db) [11:50:59] 03(mod) LookupUser changes for useroptions - 10https://bugzilla.wikimedia.org/22421 (10db) [11:54:19] 03(mod) GNSM should support images - 10https://bugzilla.wikimedia.org/33180 (10db) [11:55:05] 03(mod) Validator: 0 and 1 as valid boolean values. - 10https://bugzilla.wikimedia.org/32466 (10db) [11:55:21] 03(mod) Validator extension: #iferror does not recognize Validator's errors - 10https://bugzilla.wikimedia.org/31911 (10db) [11:56:12] 03(mod) [SignupAPI] LocalSettings should not be ignored - 10https://bugzilla.wikimedia.org/30622 (10db) [11:56:20] 03(mod) SignUpAPI Shows unwanted box when page loaded - 10https://bugzilla.wikimedia.org/31663 (10db) [11:56:30] 03(mod) SignUpAPI extension fails silently with invalid username - 10https://bugzilla.wikimedia.org/31664 (10db) [11:59:02] 03(NEW) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 normal; MediaWiki: User preferences; () [11:59:28] 03(mod) Sighted index pages lack quality indicators from the ProofreadPage extension due to LinkHolderArray bug - 10https://bugzilla.wikimedia.org/22981 (10db) [11:59:54] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 (10Gerard Meijssen) [12:00:07] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 (10Gerard Meijssen) [12:02:36] 03(mod) Vector AJAX-watch star spinner misaligned on first run through spinning on IE 7, then doesn't spin on second run - 10https://bugzilla.wikimedia.org/27230 (10db) [12:04:38] 03(mod) [Wikimedia Messages] Change all sitesupport-url to a https URL - 10https://bugzilla.wikimedia.org/32215 (10db) [12:05:09] 03(mod) Add MediaWiki:Nstab-* messages for Commons namespaces to Extension:WikimediaMessages - 10https://bugzilla.wikimedia.org/25481 (10db) [12:06:54] Change merged: Siebrand; [mediawiki/extensions/CopyToClipboard] (master) - https://gerrit.wikimedia.org/r/42380 [12:20:20] 03(mod) Add category membership count to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41368 (10Siebrand) [12:20:42] New patchset: Siebrand; "(bug 41368) Added category information to InfoAction." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/31555 [12:21:44] 03(mod) Add category membership count to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41368 (10Siebrand) [12:22:43] New review: Siebrand; "I wanted to merge, but it fails on rebase. Please fix." [mediawiki/core] (master); V: -1 C: 0; - https://gerrit.wikimedia.org/r/31504 [12:22:52] 03(mod) Add transclusion count to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41365 (10Siebrand) [12:23:25] 03(mod) Add edit history graph(s) to MediaWiki's info action - 10https://bugzilla.wikimedia.org/41329 (10Siebrand) [12:24:02] 03(mod) Create AntiBot component - 10https://bugzilla.wikimedia.org/43675 +comment (10Andre Klapper) [12:24:50] 03(mod) Add graphs of user contributions - 10https://bugzilla.wikimedia.org/43667 normal->15enhancement; +comment (10Andre Klapper) [12:27:01] 03(mod) Provide per-namespace sidebars (or sidebar sections) - 10https://bugzilla.wikimedia.org/40447 -easy (10Siebrand) [12:27:41] New patchset: Amire80; "Add paste event to activate the save button" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42400 [12:28:35] 03(mod) edit links should also be available in Special:Preferences - 10https://bugzilla.wikimedia.org/36697 -easy (10Siebrand) [12:29:36] 03(mod) UserMerge extension needs an API interface - 10https://bugzilla.wikimedia.org/39636 -easy (10Siebrand) [12:30:01] 03(mod) Userprefs for edit options should be set by radiobuttons not checkboxes - 10https://bugzilla.wikimedia.org/43519 -easy (10Siebrand) [12:32:06] 03(mod) Page title doesn't update when a page is loaded - 10https://bugzilla.wikimedia.org/43631 -easy (10Siebrand) [12:39:54] Hi. I'm building a website and using MediaWiki for documentation purposes but instead of having two sets of login systems, I'm going to hijack MediaWikis as it's better than anything I could code. However, the passwords are stored in BLOBs, will this impact me in any way? [12:42:41] rootkit: it's weekend, it's going to be hard to find anyone competent here at this time :) [12:42:44] rootkit: but how do you think it could impact you? [12:42:55] (i am certainly not competent, but i try ;) ) [12:43:08] Ooh hello. Wasn't actually expecting an asnwer ;) [12:43:28] New review: OliverKeyes; "Sure! Immediately followed by us saying "no". Yes, we'll have to tell people they can't have what th..." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/25170 [12:43:51] If, for example, on my site, the user tried to change their password, I wouldn't know how to format it [12:43:57] s/format/hash [12:46:19] rootkit: ah. well, the functions for that are probably available somewhere [12:46:22] let me look [12:46:35] thank you, kind sir [12:46:35] probably in includes/User.php [12:47:06] if this goes horribly wrong and blows up, can I blame you? :P [12:47:29] 03(NEW) add lang item to commons main_page - 10https://bugzilla.wikimedia.org/43678 normal; MediaWiki: General/Unknown; () [12:47:44] 03(mod) add lang item to commons main_page - 10https://bugzilla.wikimedia.org/43678 normal->15enhancement (10reza1615) [12:48:38] rootkit: there is User::crypt() in that file, at line 4044. it *seems* to do what you wan't, but don't quote me on this. :P [12:48:56] rootkit: you can browse API docs at https://svn.wikimedia.org/doc/annotated.html [12:49:39] at line 4044 in master*. if you're running a stable version, it mitght be somewhere else [12:49:45] (the docs are for master as well) [12:50:28] Possibly, I couldn't find it but I'll match things up but thanks for the help :) [12:50:45] rootkit: what version are you running? [12:51:09] if anything older than 1.18, i'd really suggest upgrading :) [12:51:54] 1.20.2 [12:52:04] awesome :) [12:52:09] I cheated and used softaculous so I'm probably still behind [12:52:37] 1.20.2 is the newest stable version [12:52:54] Oh, awesome :) [12:53:22] (WMF wikis are running almost from git master, though - so master is pretty stable as well) [12:54:22] Uuuh. So. Let's say I have files 000 001 002 003 004 005 006 007 008 009 010 in a category. [12:54:29] If I use http://wolfenstein.wikia.com/wiki/Category:Wolfenstein_3D_sprites?filefrom=005&useskin=monobook I can list the files beginning at 005. [12:54:36] If I use http://wolfenstein.wikia.com/wiki/Category:Wolfenstein_3D_sprites?fileuntil=010&useskin=monobook I can list the files leading up to 010. [12:54:41] But it tries to show 200 files in any case. Is there a way that I can see only 005 - 010? [12:55:11] I always have the worst questions sorry :P [12:57:54] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 normal->15enhancement; +accessibility; +comment (10Andre Klapper) [12:59:01] 03(mod) add lang item to commons local main_page - 10https://bugzilla.wikimedia.org/43678 summary (10reza1615) [13:09:21] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Gerard Meijssen) [13:16:55] hello [13:17:04] Hello, hello [13:17:12] how can i do tha instead of going to index.php/somerthing people can go to /something [13:17:56] ufk: this should help you http://privatepaste.com/4f3e9e4a03 [13:18:09] thanks [13:18:10] !pretty | ufk [13:18:10] There is no such key, you probably want to try: !logo, [13:18:15] !prettyurls [13:18:15] To create simple URLs (such as the /wiki/PAGENAME style URLs on Wikimedia sites), follow the instructions at . There are instructions for most different webserver setups. If you have problems getting the rewrite rules to work, see !rewriteproblem [13:18:20] yeah. [13:18:22] ufk: ^ [13:19:52] thank you [13:32:01] New review: Krinkle; "Also, fyi: Rebasing it periodically doesn't help anything. The way git rebases means it doesn't matt..." [mediawiki/core] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/37395 [13:38:46] yay! [13:38:59] it really was simple! [13:39:53] thanks [13:39:56] mediawiki rules :) [13:47:19] 03(NEW) mb_check_encoding() change in php 5.4.10 - 10https://bugzilla.wikimedia.org/43679 normal; MediaWiki: General/Unknown; () [14:10:20] 03(mod) ORMRow::insert() fails on PostgreSQL - 10https://bugzilla.wikimedia.org/43475 (10Antoine "hashar" Musso) [14:14:00] Change merged: Santhosh; [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42400 [14:32:35] 03(NEW) Set $wgLogo to the URL.. should be internationalized - 10https://bugzilla.wikimedia.org/43680 normal; MediaWiki: Internationalization; () [14:33:20] 03(mod) Set $wgLogo to the URL.. should be internationalized - 10https://bugzilla.wikimedia.org/43680 (10Nischay Nahata) [14:38:44] 03(mod) close and minimise icons should not appear together - 10https://bugzilla.wikimedia.org/39211 (10Nischay Nahata) [14:39:24] 03(mod) Use a bigger button for CurationToolbar minimizing when on mobile or iPad device - 10https://bugzilla.wikimedia.org/40310 +comment (10Nischay Nahata) [14:41:52] 03(mod) Use a bigger button for CurationToolbar minimizing when on mobile or iPad device - 10https://bugzilla.wikimedia.org/40310 (10Andre Klapper) [14:41:53] 03(mod) close and minimise icons should not appear together - 10https://bugzilla.wikimedia.org/39211 (10Andre Klapper) [14:51:37] 03(NEW) Article pages made from index pages not listed in wikisource search results. - 10https://bugzilla.wikimedia.org/43681 major; MediaWiki: Search; () [15:13:13] How does one keep all the secrets needing secret keeping to have _unique but discardable_ voter ids ? [15:13:58] 03(mod) GeoData throwing exceptions on enwiki - 10https://bugzilla.wikimedia.org/42824 (10Brad Jorsch) [15:14:37] If someone has a plan for this and is willing to work for 0€ / hr we need a CTO at http://consumium.org [15:15:35] New patchset: Amire80; "Make the "Clear translated" button work" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42403 [15:15:39] My plan would be to store a secret secret for each voter and feed the username and the secret onto a "one-way" hash function and represent the result as BASE-36 encoded [15:16:00] Obviously we gonna want it so that the techies can't peek at the data [15:16:32] If Consumium had a hidden agenda I'd know about it by now ( 12.5 yrs in the works ) [15:16:52] so new secret, new result id [15:17:00] :D [15:17:25] http://develop.consumerium.org/wiki/Right_to_vanish [15:21:13] and the results need ids [15:21:30] and the freedom to dump the current id and go for a blank one [15:46:28] New patchset: Platonides; "Return non-zero when there were failures." [mediawiki/tools/code-utils] (master) - https://gerrit.wikimedia.org/r/37508 [15:51:12] 03(mod) Article pages made from index pages not listed in wikisource search results. - 10https://bugzilla.wikimedia.org/43681 +comment (10sunil) [15:53:40] 03(mod) Create AntiBot component - 10https://bugzilla.wikimedia.org/43675 +comment (10Krenair) [16:10:41] 03(mod) Article pages made from index pages not listed in wikisource search results. - 10https://bugzilla.wikimedia.org/43681 +comment (10Andre Klapper) [16:16:34] 03(mod) Article pages made from index pages not listed in wikisource search results. - 10https://bugzilla.wikimedia.org/43681 +comment (10Balasankar Chelamattath) [16:18:41] 03(mod) Article pages made from index pages not listed in wikisource search results. - 10https://bugzilla.wikimedia.org/43681 +comment (10sunil) [16:32:53] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 +comment (10Sam Reed (reedy)) [16:33:07] New patchset: Platonides; "Remove orphan call to wfProfileOut()" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42404 [16:33:36] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 +comment (10Sam Reed (reedy)) [16:41:24] https://gerrit.wikimedia.org/r/34843 anyone? [16:46:16] Why isn't {{DISPLAYTITLE:whatever}} setting the titlebar text as well as the page title? [16:47:41] JoshDreamland: there's a configuration setting [16:47:45] 03(mod) File with large history can't be deleted (timeout) - 10https://bugzilla.wikimedia.org/40174 normal->minor; +comment (10Rainer Rillke @commons.wikimedia) [16:48:11] JoshDreamland: $wgRestrictDisplayTitle [16:48:24] thanks much, liangent [16:48:53] 03(NEW) LocalisationUpdate broken for wmf wikis? - 10https://bugzilla.wikimedia.org/43682 normal; Wikimedia: General/Unknown; () [16:49:33] liangent: I've already set that variable to false in LocalSettings, it seems [16:49:55] As well as $wgAllowDisplayTitle = true; [17:21:25] 03(NEW) Add editnotices to prop=info - 10https://bugzilla.wikimedia.org/43683 enhancement; MediaWiki: API; () [17:23:34] 03(mod) Add editnotices to prop=info - 10https://bugzilla.wikimedia.org/43683 (10MZMcBride) [17:23:41] 03(mod) Create AssertEdit component - 10https://bugzilla.wikimedia.org/43676 +comment (10db) [17:23:55] 03(mod) Create AntiBot component - 10https://bugzilla.wikimedia.org/43675 +comment (10db) [17:24:47] 03(mod) Create AssertEdit component - 10https://bugzilla.wikimedia.org/43676 +comment (10MZMcBride) [17:25:17] 03(mod) Merge AssertEdit into core - 10https://bugzilla.wikimedia.org/27841 +easy; +comment (10MZMcBride) [17:26:54] 03(mod) Create AntiBot component - 10https://bugzilla.wikimedia.org/43675 +comment (10MZMcBride) [17:27:00] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 +comment (10Nemo) [17:35:06] 03(mod) Re-enable disabled Special pages on small wikis (wikis in small.dblist) - 10https://bugzilla.wikimedia.org/43668 +comment (10MZMcBride) [17:36:28] Monday morning, we'll have yet another last minute throttle requesst. [17:36:49] 03(mod) Set $wgLogo to the URL.. should be internationalized - 10https://bugzilla.wikimedia.org/43680 +comment (10Nemo) [17:36:51] 03(mod) "Powered by Mediawiki" and "a Wikimedia project" buttons and targets should be localizable - 10https://bugzilla.wikimedia.org/40465 (10Nemo) [17:37:05] My patch is ready, but I don't have the IPs. [17:41:01] 03(NEW) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 normal; MediaWiki: General/Unknown; () [17:42:54] 03(mod) Set $wgLogo to the URL.. should be internationalized - 10https://bugzilla.wikimedia.org/43680 (10MZMcBride) [17:43:42] New patchset: Alex Monk; "(bug 37714) Tidy up log deletion rows which didn't get subpages" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42405 [17:45:49] 03(mod) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 normal->15enhancement; +comment (10Nemo) [17:45:54] 03(mod) [Regression] Incomplete log entries: sublog missing - 10https://bugzilla.wikimedia.org/37714 +comment (10Krenair) [17:47:41] andre__, do we have a list of bugzilla admins? ( https://www.mediawiki.org/w/index.php?title=Bug_management/Project_Maintainers&curid=101980&diff=624820&oldid=624810 ) [17:51:45] 03(NEW) Tag magic word has problem handling empty parameter - 10https://bugzilla.wikimedia.org/43685 minor; MediaWiki: Parser; () [17:51:58] 03(mod) Tag magic word has problem handling empty parameter - 10https://bugzilla.wikimedia.org/43685 (10Huji) [17:55:47] Krenair: Not me! [17:56:12] Krenair: Theres's a partial list at https://meta.wikimedia.org/wiki/Root I believe. [17:56:35] I know, I'm looking for a full list [17:56:53] Only Bugzilla would have that, I believe. [18:21:04] New patchset: Amire80; "Display an "Add description" link" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42406 [18:29:05] Change merged: Reedy; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/31555 [18:31:07] Krenair, you want all 29 people that have admin rights? Not sure if that makes sense... [18:33:18] New patchset: Platonides; "Return non-zero when there were failures." [mediawiki/tools/code-utils] (master) - https://gerrit.wikimedia.org/r/37508 [18:33:57] Why not? It's a public wikimedia site, we should at least have a list of people who can do admin stuff on it [18:39:37] Krenair, I probably just wonder what "system administrator" means in this context. I am a Bugzilla admin. Still I don't have shell access to the Bugzilla machine, for example. [18:40:35] andre__, which is why you're not listed on the system admins page [18:40:45] New patchset: Platonides; "Remove orphan call to wfProfileOut()" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42404 [18:41:32] The page says which system admins also have bugzilla admin access (16 of them). [18:42:36] I know you're one, which brings the count up to 17. Who are the remaining 12? [18:43:20] 03(mod) LocalisationUpdate broken for wmf wikis? - 10https://bugzilla.wikimedia.org/43682 +comment (10Sam Reed (reedy)) [18:44:00] Well, robla has dupe bz admin accounts [18:44:24] 03(mod) LocalisationUpdate broken for wmf wikis? - 10https://bugzilla.wikimedia.org/43682 (10Raimond Spekking) [18:44:27] yeah, you can nuke it from my robla@robla.net acct [18:45:13] That shell list is well out of date too [18:46:00] Looking at https://meta.wikimedia.org/wiki/Root#List and syncing it with the reality, 13 people with Bugzilla admin rights are not listed on meta.wm. [18:46:02] Philippe has 2 [18:46:19] as those lists are split by root shell and shell, I have no idea where to add those 13 people. [18:47:09] You could just create another heading and put them under it [18:47:48] Philippe has both added by Thehelpfulonewiki just one week ago. [18:47:53] * andre__ sighs a bit [18:48:04] Reedy, yeah, let me do that right away [18:48:24] One of his accounts has no bug entries, so I just nuked the admin bit [18:49:05] I know everybody has good intentions, but the more admin accounts, the more accounts can be targeted for breaking in. [18:55:54] New patchset: KarenEddy; "Patch7: Modified code to meet coding conventions" [mediawiki/extensions/BiblioPlus] (master) - https://gerrit.wikimedia.org/r/41914 [18:56:41] Krenair, https://meta.wikimedia.org/w/index.php?title=System_administrators&diff=4983653&oldid=4948113 [18:58:38] Change merged: Amire80; [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42379 [19:01:03] New patchset: Amire80; "Whitespace and doc cleanup" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42407 [19:06:26] New patchset: KarenEddy; "Patch7: Modified code to meet coding conventions" [mediawiki/extensions/BiblioPlus] (master) - https://gerrit.wikimedia.org/r/41914 [19:07:49] New patchset: Amire80; "Refactor the warnings code" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42235 [19:09:13] New patchset: Amire80; "Renamed definition-diff to definitiondiff" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42262 [19:09:27] New patchset: Amire80; "Show diff for the outdated messages" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42263 [19:10:36] New patchset: KarenEddy; "Patch7: Modified code to meet coding conventions" [mediawiki/extensions/BiblioPlus] (master) - https://gerrit.wikimedia.org/r/41914 [19:16:05] andre__, okay thanks. that table should probably be re-done... [19:18:33] New patchset: Raimond Spekking; "[CopyToClipboard] Register extension" [translatewiki] (master) - https://gerrit.wikimedia.org/r/42408 [19:18:56] Change merged: Raimond Spekking; [translatewiki] (master) - https://gerrit.wikimedia.org/r/42408 [19:19:50] People who are only BZ admins (not shell) arguably shouldn't be listed at all, BZ shouldn't be listed on the system admins page, etc... [19:21:02] Then we have this weird situation where we list each user and their account permissions, but still make a separate section for the different permissions [19:22:28] i'm also slightly unclear on the meaning of 'shell' [19:23:50] specifically what set of hosts is included. I should dig through puppet and find out. [19:26:57] New patchset: Reedy; "Add square root (sqrt) function" [mediawiki/extensions/ParserFunctions] (master) - https://gerrit.wikimedia.org/r/42409 [19:27:58] New patchset: Raimond Spekking; "[PageCreationNotif] Disabled for now untul Ib175498d is fixed" [translatewiki] (master) - https://gerrit.wikimedia.org/r/42410 [19:28:10] Change merged: Raimond Spekking; [translatewiki] (master) - https://gerrit.wikimedia.org/r/42410 [19:33:23] I have run into problems mowing mediawiki 1.11 on Ubuntu 8.04 to new host with Debian 6.x. Anyone care helping me? [19:34:20] tale: 1.11? ;_; [19:34:26] that's ages old [19:34:38] In particular, if moving DB must be done between same versions of mw, I am stuck. [19:34:43] 03(NEW) TimedMediaHandler: implode() Invalid arguments passed in handlers/WebMHandler/WebMHandler.php on line 213 - 10https://bugzilla.wikimedia.org/43686 trivial; MediaWiki extensions: TimedMediaHandler; () [19:34:47] MatmaRex: Yes, that I do know. [19:34:54] tale: you can movethe db first, then run the schema updater [19:34:55] probably [19:34:58] !update [19:34:58] update.php is a script that updates the database tables. You usually need to run it after upgrading MediaWiki or installing certain extensions. For details, see [19:35:00] Hi all, need some help. Who knows where should look for the implementation of "Show preview" button when you click "Edit" page [19:35:23] ilonak: EditPage.php [19:35:24] In the code [19:35:26] I have done that, but mw 1.11 can not run on php 5.3 that is on Debian 6.x. So I am stuck. [19:35:35] that file is scary [19:35:52] tale: Copy it across, replace MW files with newer version that can run on 5.3 [19:35:55] tale: well, you could try to update it if you're already moving it [19:35:56] updatre [19:35:58] profit [19:36:00] tale: what Reedy said [19:36:06] !upgrading [19:36:06] http://www.mediawiki.org/wiki/Manual:Upgrading [19:37:13] MatmaRex: I am doing this move to be able to upgrade. But would it work to just upgrade now the mw that I have on the new host. even if I can not test if it works. Or in fact, it does not work. [19:37:42] OK, what the heck. I can start over from the beginning if it breaks to pieces, that I get to keep. [19:38:26] liangent: thanks! [19:38:52] tale: set up a MW 1.20 on the new host, then kill its database and replace it with the old one [19:39:24] tale: then also transfer the LocalSettings file (except for the part with database config) and extensions (update them as well) [19:39:34] then run maintenance/update.php [19:39:37] this *should* work [19:44:43] New patchset: Amire80; "Refactor the warnings code" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42235 [19:47:16] tale: note that if you installed any extension, you should upgrade them as well. Extensions on 1.11 version won't work on latest version [19:47:22] New patchset: Amire80; "Renamed definition-diff to definitiondiff" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42262 [19:47:38] New patchset: Amire80; "Show diff for the outdated messages" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42263 [19:47:53] Change merged: jenkins-bot; [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42407 [19:55:05] New patchset: Adithyap; "Adding a Link back to Abuse filter management page Added the navigation bar Set page title to 'Editing Abuse filter'" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/38821 [19:56:52] 03(mod) Please add a link back to Special:AbuseFilter in Special:AbuseFilter/ - 10https://bugzilla.wikimedia.org/40862 +comment (10Adithya Parthasarathy) [19:58:01] New review: Hoo man; "Please read the hints given at the previous patch set. The way you do this creates a lot of redundan..." [mediawiki/extensions/AbuseFilter] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/38821 [19:58:56] Vulpix: I already upgraded. [19:59:25] Vulpix: It is painful, since that 1.11. mw is heavily customized. [20:01:06] I know, it sucks when extensions are no longer maintained or tagged properly for download [20:04:18] New review: Ori.livneh; "LGTM." [mediawiki/extensions/ParserFunctions] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/42409 [20:04:19] Change merged: Ori.livneh; [mediawiki/extensions/ParserFunctions] (master) - https://gerrit.wikimedia.org/r/42409 [20:05:35] Reedy: oh, disregard that comment. I just realized you deleted testExpr.php. [20:05:44] New patchset: Adithyap; "Adding a Link back to Abuse filter management page Added the navigation bar Set page title to 'Editing Abuse filter'" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/38821 [20:06:42] disregard that merge too?:) [20:08:43] MaxSem: no, the comment was only tangentially related [20:22:16] 03(NEW) Make Help namespace searched by default and content namespace on Meta-Wiki - 10https://bugzilla.wikimedia.org/43687 enhancement; Wikimedia: Site requests; () [20:22:47] 03(mod) Make Help namespace searched by default and content namespace on Meta-Wiki - 10https://bugzilla.wikimedia.org/43687 (10Nemo) [20:23:34] 03(mod) After file re-upload, add note to clear browser cache - 10https://bugzilla.wikimedia.org/36380 +comment (10Bawolff (Brian Wolff)) [20:24:15] New review: MZMcBride; "Was this related to a bug? What's the use-case?" [mediawiki/extensions/ParserFunctions] (master) - https://gerrit.wikimedia.org/r/42409 [20:25:50] New patchset: Adithyap; "Adding a Link back to Abuse filter management page Added the navigation bar Set page title to 'Editing Abuse filter'" [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/38821 [20:25:59] New review: Reedy; "Someone wants to find the square root of a variable value?" [mediawiki/extensions/ParserFunctions] (master) - https://gerrit.wikimedia.org/r/42409 [20:27:45] 03(mod) Global use does not show up in #filelinks for TMH files - 10https://bugzilla.wikimedia.org/43410 summary (10Bawolff (Brian Wolff)) [20:30:38] 03(mod) deleteBatch.php causes database deadlock - 10https://bugzilla.wikimedia.org/23544 (10db) [20:30:40] 03(mod) Deadlock tracking bug (tracking) - 10https://bugzilla.wikimedia.org/28599 (10db) [20:31:26] New review: MaxSem; "Square root could be useful for e.g. distance calculation." [mediawiki/extensions/ParserFunctions] (master) - https://gerrit.wikimedia.org/r/42409 [20:35:08] 03(mod) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 +comment (10db) [20:38:02] hello mediawiki, I'm Jack [20:38:16] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10db) [20:40:53] hi, I'm Jack [20:41:21] does anyone know advanced template techniques? [20:42:01] !ask [20:42:01] Hi, how can we help you? Just ask your question. [20:42:13] J_McKalling: what do you want to achieve *exactly*? [20:42:38] 03(mod) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 (10Krenair) [20:42:57] I have a template, and I want it to "receive" multiple parameters by another template call [20:43:13] 03(mod) Set $wgLogo to the URL.. should be internationalized - 10https://bugzilla.wikimedia.org/43680 +comment (10Niklas Laxström) [20:44:34] hi [20:44:57] I'm trying to install MediaWiki but it appears that the process is just too large for php-fcgi etc., so nginx is giving me a 502 bad gateway error. [20:45:11] New patchset: Hoo man; "(bug 15936) New page's patrol button should always be visible" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/41196 [20:45:15] Except, it's never done this before and I've installed wikis on the server probably almost 5 times. [20:46:45] Shadowstar, what's your memory_limit? [20:48:02] imagine template Fruit, which has a dummy parameter called "value". then imagine template Colours, which substitutes "1|red|green|blue", then I want Fruit to recognise {{{1}}} as "red", {{{2}}} as "green" etc. I try this by calling like this: {{Fruit|value= {{safesubst:Colours}} }} [20:48:02] MaxSem: on which - nginx or fcgi? [20:48:16] in php.ini [20:48:21] New review: Hoo man; "Some clean ups and minor performance optimization." [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41196 [20:48:37] New patchset: Hoo man; "(bug 15936) New page's patrol button should always be visible" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/41196 [20:48:37] J_McKalling: can't be done in this way, but [20:49:01] MaxSem: ok, sec [20:49:04] New review: Hoo man; "Rebased" [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41196 [20:49:25] MaxSem: 128m [20:49:26] J_McKalling: you can have tpl:Colours like this: {{ {{{callback}}} | 1 | red | green | blue }}, and call it like {{colours| fruit }} [20:49:38] sorry [20:49:49] {{colours | callback=fruit }} [20:50:02] it will expand to {{ fruit | 1 | red | green | blue }} [20:50:07] which is what you seem to want [20:50:25] why do you believe it's an OOM? does your fcgi restrict process size? [20:51:28] MaxSem: This has happened before, just not with MediaWiki [20:51:31] and not in a long time [20:51:50] 03(mod) Invalidation of Varnish thumbnail cache sometimes doesn't work - 10https://bugzilla.wikimedia.org/41130 +comment (10Bawolff (Brian Wolff)) [20:52:14] The first time it happened was because I just didn't have fpm, so it obviously would happen. The second time, I tried to query stuff through PMA and it involved 1000+ tables so that gave me an error too I believe. Just not with MediaWiki. [20:53:16] MatmaRex: that seems to be the reverse of what I want... I want to call Fruit, and not Colours in this case [20:53:33] J_McKalling: then create a wrapper template that calls colours like this [20:53:54] i know of no other reasonable way [20:54:06] Shadowstar, does it fail before the installation is over? [20:54:42] Yes. [20:54:52] can't templates expand parameters into another template call then? because it does work, but only within preview mode. on save, the call is replaced by whatever it substitutes to [20:55:03] Then I look to see what it did, and only about 6 or 7 database tables were created [20:56:00] the installer doesn't eat much memory [20:56:02] J_McKalling: nope, they cant. behavior of templates like {{!}} on en.wiki relies on this [20:56:07] look in error log [20:56:41] what do you mean? I have also the {{!}} template [20:56:41] J_McKalling: you *could* abuse the #titleparts parser function to split arbitrary data on slashes [20:56:53] J_McKalling: but this is going to get really ugly really fast [20:57:12] you're right about that, I don't want to mess with the url [20:57:14] J_McKalling: how would you expect this to parse? {{tpl abc{{!}}def }} [20:57:19] argh [20:57:24] {{tpl|abc{{!}}def }} [20:57:26] MaxSem: the PHP error log? [20:57:47] php, nginx [20:57:58] if the {{!}} was expanded, it would be impossible to use it to add a literal pipe character [20:58:55] I'm also substituting the {{!}}, to forward it [20:59:54] well, if you substitute it, of course it will be substitued, but this isn't what you want, right? [21:00:01] Change merged: Hoo man; [mediawiki/extensions/AbuseFilter] (master) - https://gerrit.wikimedia.org/r/38821 [21:00:08] MaxSem: okay, sec [21:00:59] well yes, I do, what I'm asking is already working fine for me, but the call is being replaced in the editor [21:02:05] I have a question regarding http://www.mediawiki.org/wiki/Manual:Database_access#Lock_contention: Update operations which do not require database access can be delayed until after the commit by adding an object to $wgPostCommitUpdateList. My problem is, that I get a deadlock at commit. Can I indicate that the program should wait until the lock is free? [21:05:05] 03(mod) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 +comment (10Niklas Laxström) [21:05:08] andre__, re the earlier changes, I think ori-l looks odd to be in both shell and bugzilla admin [21:05:10] in the editor, I write {{Fruit|value={{safesubst:Colours}} }} and Colours contains {{safesubst:#if: true | 1{{safesubst:!}}red{{safesubst:!}}green{{safesubst:!}}blue }}, then hitting preview actually makes Fruit receive {{{value}}} as "1", {{{1}}} as "red", {{{2}}} as "green" and {{{3}}} as "blue". but if I safe, the first code gets replaced [21:05:46] Thehelpfulone, looks like I missed him under shell, please remove from bugzilla admin then [21:05:53] J_McKalling: you can't get this behavior without substing the template. [21:06:00] andre__, sure, fixing now [21:06:11] thanks for spotting [21:06:16] New patchset: Siebrand; "Remove use of global" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42492 [21:06:45] aye, that's it. it gets substituted. the code works, but I don't want in the editor to see the results of substitution [21:07:33] I just don't understand this substitution anymore... O_O [21:07:49] J_McKalling: don't try to unless you want to be scarred for life. [21:07:58] J_McKalling: when you gaze into the parser, it gazes back at you. [21:08:23] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Brandon Harris) [21:08:49] well maybe not, I'm an experienced php programmer as well (not developer) but regardless I'm not delving into sourcecode [21:09:34] Change merged: jenkins-bot; [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42492 [21:11:03] the weird thing in all of it, is that what I want *does* work, when safesubting as second level substitution, whereas the safesubst keyword is not expanded in the editor - which confuses me as hell [21:11:47] no problem andre__ - Philippe asked me to add it for both of his accounts but that was probably just for convenience sake for him, I'll let him know about that - are there any other people on there that you want to remove as a BZ admin? [21:11:54] J_McKalling: isn't it expanded on-save? [21:12:00] Reedy, is River still a root shell? [21:12:30] it is not, unless the code appears in direct view or within transclusion [21:12:35] Thehelpfulone, no, not spontaneously, without potentially getting flamed by anybody affected. :P [21:12:42] heh [21:12:48] ...I think [21:12:56] J_McKalling: i think i am confused now. can you link me to an example? [21:13:27] yes, but I don't know if you'd understand, as real example is much² times more complex... [21:14:33] http://twinsuniverse.xesf.net/Template:Infobox/themes (this is the "colours" template of the example, whereas in this case Infobox is "Fruit") [21:16:18] J_McKalling: ah, you have an there as well. this is getting hairy... [21:16:24] jorm: +1 from me on https://bugzilla.wikimedia.org/show_bug.cgi?id=43677#c4 [21:16:25] the includeonly is probably the explanation [21:16:34] safesubst: would be expanded on save without it [21:16:54] i think. [21:17:26] I don't know what particular tag you're refering to, all my templates define .... [21:17:32] J_McKalling: i've never tried to do something like this before [21:17:46] {{safesubst: at the beginning [21:19:00] J_McKalling: well, as i said, the parser is scary. feel free to report a bug, it will probably be wontfixed (as any change here would for 100% break something on live wikis), but you'll probably get a real explanation [21:19:08] for why are things the way they are [21:19:12] the point is that I don't want to specify all the parameters that the /theme template produces, when calling the Infobox template. this is why I want the /themes template to combine them into one (dummy) parameter, in this case Infobox' "theme" [21:19:58] i understand what you are trying to do [21:20:08] the best way to do it is the one i described earlier, as far as i know [21:20:22] MaxSem: I'm not finding anything in the logs [21:20:36] the parser is very hairy, and the pre-save transforms are the hairies part [21:20:41] hairiest* [21:21:10] could you re explain it for me in my live example terms? because I'm absoolutely lost in where I need to go to next.. [21:22:29] J_McKalling: the country data templates on en.wiki, i think [21:22:47] mhm, what are the tables that are already created, Shadowstar? did you see the installer UI at all? [21:22:54] J_McKalling: e.g. https://en.wikipedia.org/w/index.php?title=Template:Country_data_Iceland&action=edit [21:23:06] MaxSem: hang on, found something [21:23:11] this template takes an argument that describes where to pass it's contents [21:23:12] nginx error log said connection reset by peer [21:23:58] it created wiki_page, wiki_revision, wiki_user, wiki_user_former_groups, wiki_user_groups, wiki_user_newtalk, and wiki_user_properties [21:24:02] tables [21:24:05] J_McKalling: then https://en.wikipedia.org/wiki/Template:Flag calls one of those templates with a parameter that makes it use https://en.wikipedia.org/w/index.php?title=Template:Flag/core&action=edit for displaying [21:25:07] so you've seen the installer. but it failed some time during DB setup... [21:25:08] J_McKalling: and as you can see, to pass arguments passed to {{flag}} through {{country data whatever}} to {{flag/core}}, they have to be provided explicitly on both levels [21:25:41] J_McKalling: basically this all sucks, i suggest you become a beta-tester for Scribunto if you want to have nice badass templates ;) [21:25:43] !e Scribunto [21:25:43] https://www.mediawiki.org/wiki/Extension:Scribunto [21:26:52] aarg, too bad they only support Lua, I haven't learned that one yet [21:27:13] the templates you sent above are overflowing me at the moment... [21:27:17] lua's pretty simple [21:28:01] my programming xp consists of more than fifteen languages, I don't think adding another one would do me any good [21:29:12] so in short, you're saying I want something that no one has provided support for yet in MW? :P [21:29:39] J_McKalling: for the way you want to do it, yeah :) [21:29:43] New patchset: Amire80; "Make the "Clear translated" button work" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42403 [21:30:05] and, well, if you have fifteen languages under your belt, what's another one? ;) [21:30:47] I know I could easily solve the problem by using Extension:Variables, and just assign the different parameters to a variable, but I'm not sure on how all those variables would decrease performance [21:32:05] qgil: Ping! [21:33:30] J_McKalling: mediawiki was not written with this in mind. templates were sort of an afterthough, as far as i know ;) [21:34:01] MaxSem, yes. I've looked through logs and can only find connection reset by peer. Also, I'm unable to restart php-fcgi as root which is odd as well [21:34:01] ah yes, I've read about that. but how would you name this, anyway? [21:34:31] timeout? [21:34:45] meh, fcgi is so fcgi [21:34:51] J_McKalling: name what? [21:35:03] why doesn't everyone use apache+mod_php?:P [21:35:52] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Jesús Martínez Novo (Ciencia Al Poder)) [21:35:56] how should I call the technique that I'm trying to achieve? I've made this up myself, through experience in some programming languages, but I'm sure I don't even understand what I'm doing here [21:37:08] J_McKalling: wiki code IS NOT a programming language [21:37:14] uh. parser pre-expansion? i don't know [21:37:29] New patchset: Platonides; "Miscellaneous profiling fixes" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42493 [21:37:46] premature expansion? this sounds catchy. :P [21:38:27] and yeah, wiki code is not a programming language. it's a sprawling half-assed mess of a templating language that doesn't even have a real parser, mostly a bunch of regular expressions strung together [21:38:41] I know MW isn't a programming language, but no one can deny a lot of aspect are already solved in languages that are [21:39:57] actually, i wonder if the extensions make MW turing-complete. [21:40:02] parser pre-expansion? premature expansion? sounds different [21:40:07] MaxSem: okay, so i restarted php5-fpm actually [21:40:27] i think loops and variables would do it? [21:40:55] I think about "function calls" :P [21:41:12] "pre-expansion" is what it is (would be), "premature expansion" is how i prefer to call what you're trying to achieve ;) [21:41:18] well, we already have templates they are pretty close [21:41:31] and brainfuck can be turing-complete with no function calls [21:41:36] when one calls the eval() function for instance, no one would expect the call to that function to be substituted by it's argument, right? [21:43:04] well from what I understand, premature expansion is what I am actually trying to prevent [21:44:02] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Brandon Harris) [21:44:07] hrm, still getting error [21:44:14] ah. well, you could look at this from this perspective, i guess [21:44:37] i was thinking that you want to expand the "a|b|c" twice [21:45:00] s/i was thinking/how i was thinking ti describe it is/ [21:45:08] The next time someone suggests "the user can get a browser plug in" as a solution for one of the bugs in our software, I'm going to donate money to the Republican Party. [21:45:16] or earlier than the rest [21:45:28] jorm: that's an enhancement request, not a bug. [21:45:39] jorm: and jesus has a point IMO. [21:45:48] accessibility is a BUG, not an enhancement request. [21:45:55] i though we wanted to *reduce* the number of options, not increase it. [21:46:07] he has a point in that we should take what they do and copy it. [21:46:36] jorm: sorry, but do you want to introduce a screen reader into mediawiki for the blind people? [21:46:38] jorm, but Flash videos are awesome! Even in IE6! And using Papyrus! [21:46:47] oop. wife yelling at me. can't get into this now. [21:47:05] JAWS and other apps already exist and do what they do very well [21:47:23] it's like arguing that blind people can't see images on wikipedia, so we go and make ascii-art versions of all images... [21:47:25] also, i though we wanted to simplyfy the account creation process, not make it harder [21:47:48] just to check whether we're on the same line; if I call {{Infobox | theme= {{safesubst:Infobox/themes|navy}} }}, Preview actually makes the infobox correctly navy, but Save turns it into {{Infobox | theme= 1|tablestyle=st|titlestyle=st|etc }}, which is what I don't want. my intention would be that the latter is only done while rendering, but not while saving [21:48:23] leaving before anyone threw knifes at me ;P [21:50:19] Guys.. trying to fix timezone issue on mediawiki.. i think it is way off.. 1) how to see (apart from editing a page everytime) what mediawiki thinks the time is? [21:50:53] Preferences? [21:51:00] hrm [21:51:01] Oh, no [21:51:23] can anyone help me with getting a 502 bad gateway error when in the middle of installing mediawiki [21:51:47] ok.. thanks I can see Special:Preferences#mw-prefsection-datetime server time and local time is quite wrong.. [21:52:40] I tried this [21:52:42] $wgLocaltimezone = "COUNTRY/STATE"; [21:52:43] $oldtz = getenv("TZ"); [21:52:45] putenv("TZ=$wgLocaltimezone"); [21:52:46] $wgLocalTZoffset = date("Z") / 3600; [21:52:48] putenv("TZ=$oldtz"); [21:52:50] didnt work [21:53:08] MatmaRex: are you sure the above is what you thought as well? [21:53:30] the page is showing GMT time.. I am not in that TZ [21:53:59] New patchset: Amire80; "Add appropriate lang and dir to documentation" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42397 [21:55:13] J_McKalling: i think that yes [21:55:39] ok [21:56:52] so I should create a wrapper template thing? I know what it is, but I don't know how you mean [21:58:33] J_McKalling: i was thinking something like how {{flag}} and {{flag/core}} on en.wiki work with country data templates, e.g. {{country data Iceland}} [21:58:51] basically flag calls country data whatever, telling it to call flag/core [22:01:43] any help with TZ guys ?? :) using 1.20.2 [22:03:20] New patchset: Nikerabbit; "Unbreak group workflow state selector" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42494 [22:03:35] MatmaRex: ok, now I see what you meant. but I can't quite place it in my example, sorry :( [22:04:30] "I can't substitute the principle in my imagination" lol... [22:04:50] lol [22:06:32] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Bartosz Dziewoński) [22:06:55] anyway, thank you for your help, at least I know for sure it cannot be done this way [22:10:54] 03(mod) Implement scaleable graphing capability in a MediaWiki extension for Wikimedia wikis (tracking) - 10https://bugzilla.wikimedia.org/43666 (10Jan Kucera (Kozuch)) [22:11:31] New patchset: Amire80; "Display an "Add description" link" [mediawiki/extensions/Translate] (master) - https://gerrit.wikimedia.org/r/42406 [22:13:34] New patchset: Alex Monk; "(bug 43684) Don't bother creating a new context in SpecialPageFactory::getUsablePages" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42496 [22:14:13] 03(mod) Special:SpecialPages doesn't fully respect uselang - 10https://bugzilla.wikimedia.org/43684 +patch-in-gerrit; +comment (10Krenair) [22:17:44] mediawiki shows server time wrong.. how can i fix this? the server shows correct time (date command) .. [22:18:06] MatmaRex: thanks again, I will figure out how the flag template system works and see if I can use the technique [22:18:22] khandu: usually, MediaWiki shows the time in UTC [22:18:49] J_McKalling: good luck :) [22:18:59] there is a user preference allowing the time to be shown in some other way [22:19:00] TimStarling: So each user have to set their own local time? I wanted to make the localtime universal AEST and not UTC [22:19:09] and there is a configuration variable allowing the default user preference to be set [22:19:25] and there is also a second configuration variable which sets a default timezone for certain other uses [22:19:50] is it $wgLocaltimezone [22:20:31] $wgLocaltimezone and $wgLocalTZoffset [22:20:53] looks like you can just set $wgLocaltimezone [22:21:50] hmm.. [22:22:16] somehow all edited pages show UTC time.. looks like all users have to manually goto preferences and set timezone? [22:23:43] where do they show UTC? [22:24:19] when page is edited and signatures and logs etc [22:24:57] are you saying you set $wgLocaltimezone some time ago and it didn't work? [22:25:07] yep [22:29:38] if you set $wgLocaltimezone in the correct way then new signatures will definitely be in that timezone [22:29:47] old signatures already saved into pages won't change [22:30:23] if you edit a page, add ~~~~ to it, and then preview, it will show the current setting of $wgLocaltimezone [22:30:52] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Brandon Harris) [22:31:14] 03(mod) Make Help namespace searched by default and content namespace on Meta-Wiki - 10https://bugzilla.wikimedia.org/43687 +comment (10Dereckson) [22:43:30] 03(mod) Count pages in namespace 100 at id.wikibooks as valid articles - 10https://bugzilla.wikimedia.org/7282 +comment (10Dereckson) [22:46:50] New patchset: Hoo man; "(bug 15936) New page's patrol button should always be visible" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/41196 [22:48:06] New review: Hoo man; "Now also fixes bug 36641" [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/41196 [22:49:46] New review: Hoo man; "Note: I1e24733c will fix this as well" [mediawiki/core] (master) C: 0; - https://gerrit.wikimedia.org/r/30358 [22:52:17] anyone mind helping me with a gerrit issue? trying to push a changeset to gerrit for an extension I wrote, but whenever I try to run git review, it says "We don't know where your gerrit is. Please manually create a remote named "gerrit" and try again." [22:52:20] any idea what that means? [22:52:59] Skizzerz: Do you have a .gitreview set? [22:53:03] yeah [22:53:22] i'll pastebin it [22:54:16] 03(mod) Make Help namespace searched by default and content namespace on Meta-Wiki - 10https://bugzilla.wikimedia.org/43687 +comment (10Dereckson) [22:54:27] http://pastebin.com/gkY720WB [22:54:30] 03(mod) Make Help namespace searched by default and content namespace on Meta-Wiki - 10https://bugzilla.wikimedia.org/43687 +comment (10Dereckson) [22:56:21] Skizzerz: how did you create the repo? [22:56:57] git clone ssh://skizzerz@gerrit.wikimedia.org:29418/mediawiki/extensions/EditSubpages.git [22:57:21] then it should Just Work. that error message is suspicious [22:57:29] Exception: Could not connect to gerrit at ssh://skizzerz@gerrit.wikimedia.org:29418/mediawiki/extensions/EditSubpages.git [22:57:39] just re-cloned into a different dir and it worked =\ [22:57:45] are you sure it wasn't temporary connection problem or something? [22:57:56] been happening since yesterday [22:58:08] huh. [22:58:45] if I push or pull or whatnot it connects just fine [22:59:03] (ofc, straight push gets rejected by gerrit, although I could configure it otherwise I suppose) [22:59:51] the only other thing I could think of is that it needs a branch named "gerrit" [22:59:58] but I checked a bunch of other extensions and they don't have one [23:00:14] no, not branch, a remote [23:00:17] but you seem to have one [23:01:58] Skizzerz: can you do `git config -e` in both the "original" and the newly cloned repo and compare the files? [23:02:07] actually that might be it, I'm not seeing a remote named gerrit [23:02:33] 03(NEW) mcc.php doesn't work with new WMF memcached config - 10https://bugzilla.wikimedia.org/43688 minor; MediaWiki: Maintenance scripts; () [23:03:08] 03(mod) when serving Uzbek Wikipedia, make HTTPS canonical - 10https://bugzilla.wikimedia.org/43466 +comment (10Nemo) [23:03:11] yeah, that's sure not good [23:03:17] config -e is the same for both [23:03:36] eh. magic [23:03:56] yeah, I see the issue [23:04:07] did a git config -e for mediawiki/core and see some stuff that isn't in the ext [23:05:41] New patchset: Skizzerz; "Fix EditSubpages so that it will actually unlock pages" [mediawiki/extensions/EditSubpages] (master) - https://gerrit.wikimedia.org/r/42499 [23:05:48] yep, that did it [23:05:56] needed to git add remote gerrit url-to-gerrit [23:06:05] MatmaRex: thanks :) [23:06:56] happy to help :) [23:07:21] and since the change is so small I'm just going to +2 it myself instead of asking someone else to look at it [23:07:46] New review: Skizzerz; "Small change, tested and works locally." [mediawiki/extensions/EditSubpages] (master); V: 2 C: 2; - https://gerrit.wikimedia.org/r/42499 [23:07:47] Change merged: Skizzerz; [mediawiki/extensions/EditSubpages] (master) - https://gerrit.wikimedia.org/r/42499 [23:10:34] New patchset: Reedy; "Bug 43688 - mcc.php doesn't work with new WMF memcached config" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/42500 [23:12:52] Hi fellas. Anyone has a few minute of spare time, to teach me a little advanced Git please? [23:13:08] I want to checkout a branch that's not on my repo, and submit a new patchset [23:15:57] Ah, and what I get when I try to git review -d it is this error message: fatal: Couldn't find remote ref refs/changes/20/32920/2 [23:17:02] Huji: checkout a branch not on your repo: git checkout BRANCH [23:17:16] 03(mod) mcc.php doesn't work with new WMF memcached config - 10https://bugzilla.wikimedia.org/43688 +comment (10Sam Reed (reedy)) [23:17:46] hexmode : that only works if the branch is still locally available [23:17:57] in other words, I get an error when I go git checkout bug/42019 [23:18:02] git fetch --all ? [23:18:10] what does that do? [23:18:19] * hexmode tries bug thing [23:18:49] * Huji is thankful [23:19:00] Huji: I'm not the best person to ask about git... but I am trying ;) [23:19:15] git checkout -b bug/42019 origin/bug/42019 [23:19:16] hexmode : highly apprecaited [23:19:37] aharoni : actually you can probably help the most, because if I understand correctly, you are the person who found the problem with the patches for bug 42019 [23:21:11] aude: that didn't work for me [23:21:50] Can't you amend that commit? [23:22:22] Note, there's a difference between topic branches and actual branches [23:22:42] what is the project or branch to checkout? [23:22:54] * Huji is scared [23:23:14] Huji: link on gerrit? [23:23:22] https://gerrit.wikimedia.org/r/#/c/32920/ [23:23:31] I just ran this: git pull https://gerrit.wikimedia.org/r/mediawiki/extensions/CheckUser refs/changes/20/32920/2 [23:23:40] and I'm confused [23:24:38] it got into two conflicts (on .gitignore and .gitreview) and now I can't even checkout [23:24:53] "git review -d 32920" is supposed to work, but I'm getting that "couldn't find remote ref" error now [23:24:53] git review -d 32920 works for me [23:25:12] * hexmode tries to update his git review [23:25:43] Huji: what do you get with "git status" [23:25:47] aude: it crashes for me [23:25:52] :( [23:25:53] aude : I get this [23:26:23] http://pastebin.com/Bv7JsDVh [23:26:24] * aude gets  [23:26:25] # On branch master [23:26:26] nothing to commit (working directory clean) [23:26:50] ok, maybe you can save those to a branch [23:27:02] how can I just revert all these changes and conflicts? ... I'm listening [23:27:02] git checkout -b mycoolstuf [23:27:13] Reedy: who do people go to in order to bypass the account creation rate? [23:27:31] ok, you can do git reset --hard HEAD (if you don't want to keep your changes) [23:27:41] http://pastebin.com/BwEaSCxX [23:27:43] or git checkout -b coolstuff [23:27:49] git add * [23:27:52] git commit [23:28:06] hexmode: make the change yourself and ask nicely ;) e.g. https://gerrit.wikimedia.org/r/#/c/42495/ [23:28:06] to save the stuff to a branch, then git checkout master [23:28:56] aude: okay I did git reset and now i'm back to the previous error. When I do git review -d 32920 I get this: [23:29:03] fatal: Couldn't find remote ref refs/changes/20/32920/2 [23:29:19] hmmm [23:29:28] git review -d 32920 [23:29:44] Reedy : exactly; and I get that error! [23:29:47] Reedy: tyvm... I was asking for a request on the support desk but now I know how to help them if they need it :) [23:30:01] Huji: what's your "git remote -v" ? [23:30:11] saper: all of the remotes. [23:30:24] saper : http://pastebin.com/zYzB2fmN [23:31:00] saper : you are a genious! [23:31:25] Found the problem: I was trying to git review a change that was not on mediawiki core. I had to switch directories into /extensions/CheckUser [23:31:38] lol. [23:31:50] ah, ok [23:31:50] Huji: the git master of git-review has a good warning about that [23:32:17] Reedy : it is a bad habit from SVN era. Back then, you could check out the exnteisons repo into your /extensions dir, and svn update would treat it as an external repo [23:32:29] Huji: come on, CheckUser feels like being core :) [23:32:39] yes, back in the SVN era stuff actually worked ;) [23:32:54] ashley: finally! someone who understands me!! [23:33:06] (and CheckUser should be a part of core. it's amazing how useful functionality like that isn't in core yet random crap like ISBN stuff is) [23:33:17] Huji: we have now this http://pastebin.com/zpqi3Yz9 is it better? [23:33:30] Huji: I like writing code, not fighting with the VCS and trying to set everything up and whatnot...apparently most folks do not feel the same way! [23:33:59] saper : it definitely helps. [23:34:48] and I have no clue how the whole git-review thingy works, but it definitely seems rather...*NIX-centered, based on the labsconsole wiki page [23:35:02] ashley : I don't question the superiority of git over svn. But I hate the fact that there are N people who know git, and n people who don't, and the N people don't bother giving the recipe to the n. [23:35:20] ashley: what? not really [23:35:20] and yeah, N is larger than n, but N and n are similar inside! [23:35:25] ashley: well (/me shocked) we have some wikidata developers using windows and no problem with git review [23:35:27] ashley: i'm running git and git-review on Windows XP [23:35:40] it all worked out of the box, sans the little patch to git-review that is mentioned in the tutoria;l [23:36:50] docs don't mention much about Windows (and I damn well question git's alleged superiority), but meh, it's not really my loss, more like the end-users' loss...I have plenty of other projects I can focus on without having to deal with strange and annoying [[gerrit|issues that just aren't fixable]] [23:37:35] * aude wouldn't know how to document for windows but hopefully someone can improve them [23:38:35] * hexmode lol's at N v n [23:38:48] ashley: on windows, you download the git installer, then click Next until it's in. [23:39:13] from this point on, it works in regular cmd. [23:41:45] 03(mod) Spam filter not filtering majority of spam to Junk folder - 10https://bugzilla.wikimedia.org/43665 +comment (10Andrew Gray) [23:42:00] aude : one more question please. So i did git review -d ..., then made a change, git add and then I tried git commit --ammend. Now, when I try to git push, it says you have to pull first. And when I go git pull, it says which branch. What should I say? [23:42:24] hm, maybe I should try that out some day (can't say that contributing to MW is as appealing nowadays as it once was, all things seem way too complicated) [23:42:38] also, wtf of the day: http://www.mediawiki.org/wiki/Extension:Raptorize [23:43:00] I should've asked saper, though! [23:43:19] Huji: don't git pull [23:43:38] but I can't push then :( [23:43:41] Huji: what is the "git push" command you are trying? [23:43:51] "git push" [23:43:59] saper: should I be more specific?! [23:44:01] git push no arguments? [23:44:15] meh [23:44:16] yes, please be specific when asking for help :) [23:44:21] New patchset: Huji; "(bug 42019) Find common range box must always flow left-to-right" [mediawiki/extensions/CheckUser] (master) - https://gerrit.wikimedia.org/r/32920 [23:44:29] magic :) [23:44:33] git push origin HEAD:refs/for/master [23:44:44] saper : you really are a genious. You never answer me, but you ask the best questions! [23:44:47] sooooo difficult [23:45:03] Reedy: "git push gerrit HEAD:refs/for/master" since he got infected by git-review virus already :) [23:45:12] lolol [23:45:21] Another happy customer^G [23:45:35] * Danny_B sadly recalls tortoise svn [23:45:37] Huji: references for my CV accepted with gratitutde [23:45:41] one click [23:45:47] no command line [23:45:50] believe me, I took a class on Git! They don't help :| [23:45:56] no bunch of weird params [23:46:01] git is to svn like assembly programming to pythonn [23:46:23] Huji: it worked [23:46:32] aude : yes sir [23:46:34] Huji: on my gerrit classes I tell people to forget 80% they now about git, especially their github experience [23:46:43] good [23:46:44] ma'am:) [23:46:45] comparing python to svn hurts my soul [23:46:51] saper: uh, what [23:47:00] Ryan_Lane: sorry for that :) [23:47:01] New review: Siebrand; "Ltgm!" [mediawiki/extensions/BiblioPlus] (master); V: 0 C: 2; - https://gerrit.wikimedia.org/r/41914 [23:47:05] saper: no big deal :) [23:47:08] git : svn = python : BASIC [23:47:11] that's what i'd say [23:47:12] Danny_B: Have you seen TortoiseGit? :P [23:47:30] I think svn is to git like bash is to python [23:47:37] yes, but never got it worked [23:47:44] Ryan_Lane: Bash is too flexible. :P [23:47:46] git : svn = rape : sex [23:47:49] now installed smartgit [23:47:51] bash is a piece of shit [23:47:52] Ryan_Lane: learned about python _ast yesterday - good stuff, know pyflakes? github.com/kevinw/pyflakes/pull/28 needs testing [23:48:11] * saper uses ksh93 :) [23:48:13] or at least, that's how I fell about it! [23:48:24] I use bash as my shell [23:48:33] * Huji uses Ubuntu in a virtual machine in Window$ 7 [23:48:35] would would rather stab myself with a broken bottle than program in it [23:48:43] *but would [23:48:43] * Huji deserves the pain! [23:50:14] Huji: just wait till you have windows 8 so you can get all touchy and feely with it [23:50:19] Huji: feel free to review my https://gerrit.wikimedia.org/r/#/c/11562 [23:50:25] (if you have a display that allows it) [23:52:01] saper: what happened to your namespace patch? [23:52:30] Danny_B: it's merged into master; now it's all deploy and fix the database [23:52:45] saper: took a glance; definitely a good idea. Don't have the time to test it at this moment. Will leave a comment if I found a problem. Thanks for asking! [23:52:54] would be good to check if there are other projects affected (or at least languages) [23:52:54] maybe i should bribe Reedy to take a look on it? [23:53:07] Huji: ah, yours is a little ltr fix [23:53:24] Reedy is definitely on the reviewers' list [23:53:43] saper: yeah, I usually go after tiny problems that others ignore! [23:54:06] Huji: never tried checkuser rtl I must admit [23:54:23] saper : yeah that is a totally differnt world ;) [23:56:25] Huji: is switching user prefs to, say, Hebrew, enough to test? [23:56:29] 03(mod) optional background colour aids people with dyslexia - 10https://bugzilla.wikimedia.org/43677 +comment (10Bartosz Dziewoński) [23:56:53] saper : yes of course. Hebrew, Arabic, Persian, Yiddish, they all work [23:57:01] Yiddish! [23:57:03] saper : you can do as simple as adding &uselang=fa to the top [23:57:22] argh, those designers, man. [23:57:25] Yiddish lebt