[00:00:43] 03(FIXED) Inline styles: Mobile Frontend doesn't display multiple horizontal images well - 10https://bugzilla.wikimedia.org/36030 +comment (10Arthur Richards) [00:00:44] 03(mod) abolition of VIAF1, VIAF2 to VIAF9, PND1, PND2 to PND9, GND1, GND2 to GND9 - migration to value lists - 10https://bugzilla.wikimedia.org/36882 summary (10lɛʁi לערי ריינהארט) [00:00:49] 03(NEW) If initial API request to pagetriagetemplate fails, interface just says "Please wait" forever - 10https://bugzilla.wikimedia.org/36883 normal; MediaWiki extensions: PageTriage; (rkaldari) [00:00:54] 03(mod) If initial API request to pagetriagetemplate fails, interface just says "Please wait" forever - 10https://bugzilla.wikimedia.org/36883 (10Ryan Kaldari) [00:01:07] hm.. i've changed the logo of my wiki page and instead of showing it, the place of the logo is empty [00:01:17] is there any log file or something i can check for anomalies? [00:01:53] look at the html [00:02:30] url(/mw/skins/common/images/wiki.png) [00:02:33] sounds about right [00:02:48] but the picture is definitely not a blank [00:04:12] 03(FIXED) Transition to full screen search on Android 2.3.6 Dolphin Browser HD is slow - 10https://bugzilla.wikimedia.org/36530 +comment (10Arthur Richards) [00:04:51] https://www.mediawiki.org/wiki/Manual:$wgLogo [00:05:00] 03(NEW) labs.wikimedia.org should redirect somewhere - 10https://bugzilla.wikimedia.org/36884 normal; Wikimedia: General/Unknown; (b) [00:05:35] Reedy: thank you [00:06:15] i have another question.. is there a way to mark a type of article "survey" and then have like a reference name for them, so that some templates (like enabling page ratings) only works on pages of such kind? [00:10:10] 03(NEW) wmflabs.org does not resolve - 10https://bugzilla.wikimedia.org/36885 normal; Wikimedia Labs: General; (b) [00:16:08] 03(NEW) Database error re page triage - 10https://bugzilla.wikimedia.org/36886 normal; Wikimedia Labs: deployment-prep ("beta"); (hazard_sj) [00:17:56] 03(mod) Database error re page triage - 10https://bugzilla.wikimedia.org/36886 +comment (10Hazard-SJ) [00:18:08] 03(mod) Database error re page triage - 10https://bugzilla.wikimedia.org/36886 +comment (10Sam Reed (reedy)) [00:18:39] New patchset: Kaldari; "added more curaiton toolbar parts includes a stub for a floating bar that doesn't work yet. not really done, commiting so other devs can get at the code for writing tools" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7764 [00:20:02] New patchset: Kaldari; "added more curaiton toolbar parts includes a stub for a floating bar that doesn't work yet. not really done, commiting so other devs can get at the code for writing tools" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7764 [00:20:55] Change abandoned: Kaldari; "crazy merge conflict, rebasing in a new change" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7318 [00:21:41] New review: Bsitu; "(no comment)" [mediawiki/extensions/PageTriage] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7764 [00:21:43] Change merged: Bsitu; [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7764 [00:35:45] New review: Catrope; "(no comment)" [mediawiki/extensions/ArticleFeedbackv5] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/6920 [00:35:48] Change merged: Catrope; [mediawiki/extensions/ArticleFeedbackv5] (master) - https://gerrit.wikimedia.org/r/6920 [00:39:23] New review: Catrope; "(no comment)" [mediawiki/extensions/ArticleFeedbackv5] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/6608 [00:41:21] New review: Catrope; "(no comment)" [mediawiki/core] (REL1_19); V: 0 C: 2; - https://gerrit.wikimedia.org/r/7265 [00:41:24] Change merged: Catrope; [mediawiki/core] (REL1_19) - https://gerrit.wikimedia.org/r/7265 [00:47:03] New patchset: Reedy; "Added RandomRootPage extension ( bug 16655 )" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7766 [00:47:20] New review: Reedy; "(no comment)" [mediawiki/core] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7766 [00:47:22] Change merged: Reedy; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7766 [00:48:22] New patchset: Reedy; "Add RandomRootPage" [mediawiki/tools/release] (master) - https://gerrit.wikimedia.org/r/7767 [00:48:46] New review: Reedy; "(no comment)" [mediawiki/tools/release] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7767 [00:48:47] Change merged: Reedy; [mediawiki/tools/release] (master) - https://gerrit.wikimedia.org/r/7767 [00:50:09] New patchset: Reedy; "Revert "Added RandomRootPage extension ( bug 16655 )"" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7768 [00:51:11] New review: Reedy; "(no comment)" [mediawiki/core] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7768 [00:51:13] Change merged: Reedy; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7768 [00:57:06] New review: Catrope; "I think this shouldn't be creating the RL source but instead leave that to the person configuring th..." [mediawiki/extensions/CentralAuth] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/7274 [01:00:32] New review: Catrope; "This breaks backwards compatibility, per bug 34356. Per comment 3 on that bug, you could add a param..." [mediawiki/core] (master); V: 0 C: -2; - https://gerrit.wikimedia.org/r/5588 [01:01:18] New patchset: Kaldari; "Fixing bug 36883 - display an error message if interface loading fails" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7769 [01:02:53] Reedy: Hello? [01:04:21] 03(NEW) minimal VIAF and GND / PND length - 10https://bugzilla.wikimedia.org/36887 normal; Tools: VIAF; (gangleri) [01:07:42] New patchset: Reedy; "2nd time lucky, Added RandomRootPage extension ( bug 16655 )" [mediawiki/core] (wmf/1.20wmf3) - https://gerrit.wikimedia.org/r/7770 [01:08:07] New review: Reedy; "(no comment)" [mediawiki/core] (wmf/1.20wmf3); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7770 [01:08:09] Change merged: Reedy; [mediawiki/core] (wmf/1.20wmf3) - https://gerrit.wikimedia.org/r/7770 [01:08:58] Reedy: I will give that a try, thanks :) [01:10:52] guys can I do something like this -- [http://location/file.gif| [[page1/page2/Page3]] ?? Basically I want to put this code in Page2 .. where the pic is shown.. and when the person clicks on the pic, it takes him to page3 .. how can I do this ??? I have the externalimage ON .. so the pic does show.. [01:11:01] 03(mod) Install RandomRootPage on WMF wikis - 10https://bugzilla.wikimedia.org/16655 +comment (10Sam Reed (reedy)) [01:11:24] CoalBalls: enhancement request are best to go in bugzilla [01:11:27] I'll most likely forget [01:11:30] :o) [01:11:54] * CoalBalls searches for Reedy 's all-knowing mechanisms... [01:12:05] Oh well, thanks [01:12:11] We have a hive brain in a special data centre.. [01:12:31] It runs on stroopwafels and Cadbury's chocolate [01:12:49] Aw, no falafels? [01:13:07] And occasionally döner kebab I guess [01:13:19] But you can't get good döner here [01:17:16] guys can I do something like this -- [http://location/file.gif| [[page1/page2/Page3]] ?? Basically I want to put this code in Page2 .. where the pic is shown.. and when the person clicks on the pic, it takes him to page3 .. how can I do this ??? I have the externalimage ON .. so the pic does show.. ALSO, on page2, to goto Page3 .. Do i Have to give [[page1/page2/page3]] or can i give something simpler like [[./page3]] (assuming) [01:32:51] 03(NEW) VIAF to orlabs.oclc.org / www.worldcat.org transitions - 10https://bugzilla.wikimedia.org/36888 normal; Tools: VIAF; (gangleri) [01:33:44] is there a way to check whether a username is valid, if they dont have a userpage or user talk page ? [01:34:22] Valid in what sense? [01:34:26] Able to be created? Registered? [01:34:33] Blacklists and shit to consider. [01:34:36] Global ones, even. [01:34:50] guys can I do something like this -- [http://location/file.gif| [[page1/page2/Page3]] ?? Basically I want to put this code in Page2 .. where the pic is shown.. and when the person clicks on the pic, it takes him to page3 .. how can I do this ??? I have the externalimage ON .. so the pic does show.. ALSO, on page2, to goto Page3 .. Do i Have to give [[page1/page2/page3]] or can i give something simpler like [[./page3]] (assuming) [01:35:17] khandu: One question at a time, please. [01:35:28] khandu: I think you're looking to make an image link to a specific place? Is that right? [01:35:44] khandu: If so, you want [[File:filename.jpg|link=Main Page]] [01:36:07] Joan: Its not a file its a link [01:36:11] external link [01:36:19] What? [01:36:56] Joan:[http://www/file.gif] (when someone clicks on the gif, I want it to point to internal location [01:37:25] You're using $wgAllowExternalImages or whatever? [01:37:30] yes [01:39:18] I'm not sure. [01:39:28] The external link to an image thing is kind of funky. [01:39:35] I was looking at https://www.mediawiki.org/wiki/Manual:$wgAllowImageTag [01:39:44] But I can't tell if it respects https://www.mediawiki.org/wiki/Manual:$wgAllowExternalImagesFrom [01:40:14] And https://www.mediawiki.org/wiki/Manual:$wgEnableImageWhitelist [01:40:23] aah nice.. allowimagetag will work nice I think [01:40:39] But I'm not sure if it's restricted. [01:40:42] i can hardcode the internal link in that image [01:40:44] will test it [01:41:05] I guess you could mix wiki link syntax and for a clickable GIF. [01:41:14] yes [01:41:15] Why aren't you uploading the photos to your own site again? [01:41:36] > no don't want to upload via wiki.. these are graphs generated by a script.. just want to display them (automatically as the files are overwritten everyday) [01:41:39] Hmm. [01:41:41] its a grap generated by a script and auto refreshed everyday .. [01:41:43] yep [01:41:45] There might be smarter ways to do that. [01:41:57] Like JavaScript. [01:42:00] Or an iframe, maybe? [01:42:13] Depends on what you're dealing with and how compatible you care to be. [01:42:43] Joan: valid in that the account is registered; nothing more. using parser functions? [01:42:49] :( no idea.. i just want a page with small gifs.. when clicked it should take user to another page with another set of more detailed gifs.. pretty simple setup [01:42:58] jayvdb: The API has a listusers module, doesn't it? [01:43:12] Or allusers or something? [01:43:45] *nod* looking for a way to do this within a template [01:43:55] another Q.. If i have a scructure [[page1/page2/page3/page4/page5/page6]] and I am in page3 where I want to create an internal link to page 6.. Do I have to put the whole [[page1/page2/page3/page4/page5/page6]] OR some other smart way of doing it ?? [01:44:20] > [01:44:21]

Using wikitext: http://en.wikipedia.org/upload/b/bc/Wiki.png

[01:44:21]

Result: Wiki.png

[01:44:25] > [01:44:27] What... [01:45:10] is it possible to deny sending mails for users not part of a special group? e.g. only allow autoconfirmed user to send mails? [01:45:12] en.wikipedia.org is an external image source for mediawiki.org? [01:45:13] ^^ talking about nested pages [01:45:21] o.O [01:46:09] Yes, seems so. [01:46:51] https://www.mediawiki.org/wiki/MediaWiki:External_image_whitelist [01:46:54] Ah, there we are. [01:50:52] Joan: Any idea about the 2nd Q? [01:51:34] New review: Reedy; "(no comment)" [mediawiki/core] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7747 [01:51:36] Change merged: Reedy; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7747 [01:53:27] khandu: It wasn't clear what you were asking. [01:53:34] Something about subpages and transclusion, maybe? [01:53:38] yes [01:53:53] Rephease what you're trying to do. [01:53:55] i am in subpage 3 and want to put a link to sub-sub page 6 .. [01:53:56] REphrease [01:54:01] I really can't type today. [01:54:16] I'm just attacking the keyboard. [01:54:28] [[../6]] should work. [01:54:30] I think. [01:54:42] so do I put the code [[page1/page2/page3/page4/page5/page6]] in the page to link to page6 or something smarter can be done (?? perhpas [..page3/page4/page5/page6] [01:54:53] khandu: You can use ../ syntax [01:55:01] Like [[../../page3/page4]] [01:55:08] awesome.. cool :) [01:55:37] so it will be [[../../../page4/page5/page6]] if I want to link page6 in page3 [01:55:56] Do you really have that many levels? [01:56:07] we "might" [01:56:31] You should just play with the syntax to understand it. [01:56:35] just trying to get syntax right so that we keep in consistent (in long term editing) [01:56:40] But as long as subpages are enabled for the namespace, it should work for your needs. [01:59:22] New patchset: Aaron Schulz; "[FileBackend] Added doQuickOperations() function for things like purging thumbnails." [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7771 [02:00:00] TimStarling: can you check https://gerrit.wikimedia.org/r/#/c/7771/ ? [02:00:19] * AaronSchulz still needs to make the smallish FileRepo patch [02:01:19] New review: jenkins-bot; "Build Successful " [mediawiki/core] (master); V: 1 C: 0; - https://gerrit.wikimedia.org/r/7771 [02:01:19] * AaronSchulz heads out [02:05:39] New review: Catrope; "-1ing because I think I found a bug, see inline comment." [mediawiki/extensions/ArticleFeedbackv5] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/7119 [02:10:28] New review: Reedy; "(no comment)" [mediawiki/core] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7362 [02:10:31] Change merged: Reedy; [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7362 [02:14:27] New patchset: Catrope; "Redesign of the article/central feedback page (bug 36644)" [mediawiki/extensions/ArticleFeedbackv5] (master) - https://gerrit.wikimedia.org/r/7151 [02:15:58] RonanKattouw: [[../../page3/page4]] does not work after one level [[../page2]] works, [[../../page3]] does not.. is there help page for this syntax? couldnt find it [02:16:05] That's weird [02:16:08] I knew that ../ worked [02:16:13] So I guessed that ../../ should also work [02:17:18] hey guys, i'm getting a "Error creating thumbnail: Unable to save thumbnail to destination" any ideas or solutions would be greatly appreciated? [02:17:41] On your own wiki? [02:17:50] yea on my own wiki [02:18:07] that's most likely a permissions error [02:18:32] which directories, and what should they be set to? i had already set images to 777 [02:20:17] 03(NEW) LATER: xhtml support - 10https://bugzilla.wikimedia.org/36889 normal; Tools: VIAF; (gangleri) [02:20:30] does wiki support "a href=" like wgAllowImageTag=true ?? [02:21:38] to make the image clickable to send it to another internal page (probably will have to give full URL) [02:22:54] i think to do that you need to set $wgAllowExternalImages = true [02:23:10] have that already [02:23:32] you want the image to link to somewhere else? [02:23:42] link to internal wiki page [02:23:49] or i can hardcode teh full url to the wiki page [02:24:25] [[File:example.jpg|link=Main Page|caption]] [02:24:50] or if you want the full URL, [[File:example.jpg|link=http://wikipedia.org/wiki/Test|caption]] [02:25:12] but doesn't the file have to uploaded by wiki itself? [02:25:49] i believe so [02:45:29] Bye [02:48:37] We're just playing around with an upgrade from MW 1.14 to MW 1.19 and I'm noticing that table "align=right" commands no longer seem to be working, though switch to CSS "float:right" works fine. Has the align command been removed or is this some kind of style issue or whatever that we should be looking into? [02:57:42] RobinHood70: indeed, looks like align is phased out :-( [02:59:23] RobinHood70: maybe try out http://www.mediawiki.org/wiki/Manual:$wgCleanupPresentationalAttributes [02:59:48] RobinHood70: relevant code seems to be http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94465 which is supposed to transform align= to some inline css [03:01:14] hashar: Thanks! I was just posting to our wiki as you replied. Looks like the behaviour is different on different wikis anyway (try it on MW vs WP and you'll see one floats right, the other aligns content right), so it's probably best to go with CSS anyway. [03:01:36] the code react to $wgUseHtml5 too [03:01:56] Right, that would make sense. [03:02:03] Thanks! [03:07:38] 03(NEW) adjust / limit the the toolserver queries to its capacity - 10https://bugzilla.wikimedia.org/36890 normal; Tools: VIAF; (gangleri) [03:08:28] 03(mod) adjust / limit the toolserver queries to its capacity - 10https://bugzilla.wikimedia.org/36890 summary (10lɛʁi לערי ריינהארט) [03:13:52] New review: Catrope; "Some issues here and there but generally OK" [mediawiki/extensions/ArticleFeedbackv5] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/7151 [03:57:16] New patchset: Shantanoo; "Adding rule and a test for OM and candrabindu." [mediawiki/extensions/Narayam] (master) - https://gerrit.wikimedia.org/r/7741 [03:57:54] I am using LdapAuthenticationPlugin and have made it compulsory for everyone to login and ony people matching "group" can login.. Can I make a page and all subpages open to public and ready only?? [04:07:08] New patchset: Aaron Schulz; "Removed noflip param after some $wgLanguageCode testing." [mediawiki/extensions/FlaggedRevs] (master) - https://gerrit.wikimedia.org/r/7774 [04:07:17] RoanKattouw: https://gerrit.wikimedia.org/r/7774 [04:09:03] New review: Aaron Schulz; "See https://gerrit.wikimedia.org/r/#/c/6718/" [mediawiki/extensions/FlaggedRevs] (master); V: 0 C: 0; - https://gerrit.wikimedia.org/r/7774 [04:09:12] jenkins restarting [04:15:28] New review: Catrope; "(no comment)" [mediawiki/extensions/FlaggedRevs] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7774 [04:15:30] Change merged: Catrope; [mediawiki/extensions/FlaggedRevs] (master) - https://gerrit.wikimedia.org/r/7774 [04:30:13] 03(NEW) setup poolcounter daemon - 10https://bugzilla.wikimedia.org/36891 normal; Wikimedia Labs: deployment-prep ("beta"); (hashar) [04:34:25] can anyone understand https://bugzilla.wikimedia.org/show_bug.cgi?id=36890 ?? [04:35:30] I suspect it's for wikinaut [04:35:36] I wouldn't worry too much [04:35:40] He's kind of notorious for incomprehensible bugs. [04:35:41] There are worse. [04:41:00] 03(NEW) puppetize poolcounter - 10https://bugzilla.wikimedia.org/36892 normal; Wikimedia Labs: deployment-prep ("beta"); (hashar) [04:41:44] 03(mod) setup poolcounter daemon - 10https://bugzilla.wikimedia.org/36891 +comment (10Antoine "hashar" Musso) [04:41:45] 03(mod) puppetize poolcounter - 10https://bugzilla.wikimedia.org/36892 (10Antoine "hashar" Musso) [04:42:15] 03(mod) setup poolcounter daemon - 10https://bugzilla.wikimedia.org/36891 (10Antoine "hashar" Musso) [04:42:37] 03(mod) puppetize poolcounter - 10https://bugzilla.wikimedia.org/36892 (10Antoine "hashar" Musso) [04:44:52] 03(mod) puppetize poolcounter - 10https://bugzilla.wikimedia.org/36892 +comment (10Antoine "hashar" Musso) [04:47:07] Betacommand: gangleri as an history of hard to understand bug report :-D [04:47:31] Betacommand: I guess we should ask him to report in hebrew and let Amir (one of WMF dev) to handle them :-] [04:55:38] 03(FIXED) Move bz-dev instance out of deployment-prep project - 10https://bugzilla.wikimedia.org/36871 +comment (10Antoine "hashar" Musso) [05:14:38] 03(NEW) Unnecessary "

" tags created in Main page by MF extension - 10https://bugzilla.wikimedia.org/36893 normal; MediaWiki extensions: MobileFrontend; (quim.gil) [05:33:19] 03(NEW) Mobile browser autodetection doesn't work - 10https://bugzilla.wikimedia.org/36894 major; MediaWiki extensions: MobileFrontend; (quim.gil) [05:38:04] 03(mod) GND (PND) to VIAF transitions - VIAF detection if the GND is known - 10https://bugzilla.wikimedia.org/36880 (10T. Gries) [05:38:47] 03(mod) abolition of VIAF1, VIAF2 to VIAF9, PND1, PND2 to PND9, GND1, GND2 to GND9 - migration to value lists - 10https://bugzilla.wikimedia.org/36882 (10T. Gries) [05:39:12] 03(mod) minimal VIAF and GND / PND length - 10https://bugzilla.wikimedia.org/36887 (10T. Gries) [05:39:31] 03(mod) VIAF to orlabs.oclc.org / www.worldcat.org transitions - 10https://bugzilla.wikimedia.org/36888 (10T. Gries) [05:39:57] 03(mod) LATER: xhtml support - 10https://bugzilla.wikimedia.org/36889 (10T. Gries) [05:41:08] 03(mod) adjust / limit the toolserver queries to its capacity - 10https://bugzilla.wikimedia.org/36890 (10T. Gries) [05:53:59] 03(mod) Suggestion: add xhtml support - 10https://bugzilla.wikimedia.org/36889 normal->15enhancement; summary (10T. Gries) [06:09:36] New review: Siebrand; "(no comment)" [mediawiki/extensions/ArticleFeedbackv5] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/7151 [06:13:58] I have a Mediawiki installation with $wgGroupPermissions['*']['createaccount'] = false; in LocalSettings.php but spam bots are still creating accounts. What might be happening? [06:14:41] $wgGroupPermissions['*']['edit'] = false; is also there, but it shouldn't make a different, I guess [06:17:04] *difference [06:24:17] 03(NEW) Restrict media upload to autopatrolled users on sv.wikisource - 10https://bugzilla.wikimedia.org/36895 normal; Wikimedia: Site requests; (la.vallen) [06:25:53] 03(mod) Restrict media upload to autopatrolled users on sv.wikisource - 10https://bugzilla.wikimedia.org/36895 +shell (10p858snake) [06:54:03] 03(mod) delete deployment-web* instances - 10https://bugzilla.wikimedia.org/36870 +comment (10Peter Bena) [06:54:57] can someone help in debugging popups? [06:55:54] an user is reporting a strange error message [06:56:30] 03(mod) delete deployment-web* instances - 10https://bugzilla.wikimedia.org/36870 +comment (10Peter Bena) [06:56:57] 03(NEW) calling LogPage::actionText() directly after the log conversion might give garbage - 10https://bugzilla.wikimedia.org/36896 normal; MediaWiki: Logging; (niklas.laxstrom) [06:59:44] chicocvenancio: Show the error message in pastebin. [07:00:08] http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Tools/Navigation_popups#Popups_Has_Stopped_Working [07:01:05] 03raymond * 10/trunk/translatewiki/MediaWiki/WikimediaAgg.yaml: Add RandomRootPage to the extension used by WMF [07:01:43] tale: he has a ton of scripts running, and I cant get anything like that [07:02:16] shouldn't $.escapeRE be always acessible? [07:02:53] chicocvenancio: That is hard to debug then. But if nobody else can see the problem, most likely that user has some conflicting script or setting. Hard to know which. [07:03:59] thanks anyway, its that I'm the one who inserted $.escapeRE into the script [07:04:22] when he cames back to irc I'll try to get more details [07:05:07] chicocvenancio: The error says is not a function. Is that name declared in that scope to something else? [07:05:32] well, it should be a function [07:05:38] it is a functions [07:05:49] function [07:06:49] its added into jquerry by mediawiki [07:08:24] 03(mod) Search function of Chinese (zh) Wikipedia is too weak - 10https://bugzilla.wikimedia.org/36860 (10jack-xuetianxiang) [07:09:22] http://www.mediawiki.org/wiki/ResourceLoader/Default_modules#jQuery_mwExtension [07:10:40] chicocvenancio: But that error shows the system sees $.escapeRE as something else, so maybe it is defined again in some enclosing scope? [07:10:50] hi tale [07:10:56] Terve Nikerabbit [07:12:13] its used only once [07:12:45] New review: Amire80; "It does look a bit odd, in the sense of "too simple to think that it will work", but it does seem to..." [mediawiki/extensions/MoodBar] (master) C: 0; - https://gerrit.wikimedia.org/r/7719 [07:12:46] to escape the user namespace for the regex [07:13:44] chicocvenancio: I don't know the context here, but make sure you have your dependencies in order [07:13:51] jquery.mwExtension is a module, just like everything else [07:13:56] chicocvenancio: That error message seems to indicate that either the definition of .escape is not visible, or some other definition that is not a function is visible. [07:14:07] never assume that it is there, declare that you need it and ResourceLoader will make sure it is present in case it isn't already [07:16:04] Krinkle: it is working for just about everyone [07:16:20] That is not relevant [07:16:38] Declare your dependencies, otherwise don't complain if stuff breaks when you least expect it [07:16:50] 03(mod) safety trailers for google search links:should be "&spell=0" - 10https://bugzilla.wikimedia.org/36879 +comment (10T. Gries) [07:17:00] Bascially what happens is this: [07:17:04] There's 2 gadgets [07:17:08] lets call them good and bad [07:17:14] they both happen to need jquery.mwExtension [07:17:24] one adds it to the dependencies and one doesn't [07:17:43] that makes the bad gadget a lucky gadget, that is, as long as it loads after the good gadget [07:17:57] ummm [07:18:01] just a sec [07:18:04] because if it loads before, or, worse, if it is the only gadget enabled, it won't profit from other gadgets dependencies [07:18:13] I'm creating too complex of an example [07:18:39] just... just declare the modules you need, always. Sometimes it works without doing that purely out of luck or coincendence [07:18:58] but that will break eventually [07:19:19] i get what you're saying [07:19:21] New patchset: raindrift; "Shouldn't throw an exception. That breaks stuff. Instead, just return an API error" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7775 [07:19:28] New review: Amire80; "(no comment)" [mediawiki/extensions/Narayam] (master); V: 1 C: 1; - https://gerrit.wikimedia.org/r/7741 [07:19:46] chicocvenancio: cool :) [07:19:53] New review: Nikerabbit; "(no comment)" [mediawiki/extensions/MoodBar] (master); V: 0 C: 1; - https://gerrit.wikimedia.org/r/7719 [07:21:15] but popups doesn't seem to be using resource loader [07:21:29] 03(ASSIGNED) abolition of VIAF1, VIAF2 to VIAF9, PND1, PND2 to PND9, GND1, GND2 to GND9 - migration to value lists - 10https://bugzilla.wikimedia.org/36882 (10T. Gries) [07:21:42] chicocvenancio: popups is one of the oldest gadgets [07:21:49] it is way overdue for an upgrade [07:22:02] yep, its the we're talking about too [07:22:14] it is doing a million things that haven't been needed for almost half a decade [07:22:24] I fixed the localization contributions deal... [07:22:25] and there's another million things it should be doing that it isn't doing [07:23:27] morning [07:23:32] but now I've aparrently broken it, Should I abdon the use of that module? (and use some other means of escaping?) [07:23:45] New patchset: raindrift; "Shouldn't throw an exception. That breaks stuff. Instead, just return an API error (but not false)" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7775 [07:23:45] chicocvenancio: no, it should be fine [07:23:51] chicocvenancio: link me to the dit [07:23:52] chicocvenancio: link me to the edit [07:24:10] http://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js&diff=492570497&oldid=492568619 [07:24:11] chicocvenancio: mean while, you have reverted yourself, right ? [07:24:18] don't leave broken stuff pending, no matter how long [07:24:23] well, not that easy [07:24:29] 03(mod) abolition of VIAF1, VIAF2 to VIAF9, PND1, PND2 to PND9, GND1, GND2 to GND9 - migration to value lists - 10https://bugzilla.wikimedia.org/36882 +comment (10T. Gries) [07:24:33] nonsense [07:24:37] see, im not an admin over at enwiki [07:24:39] history -> old rev -> edit -> save [07:24:54] lol [07:24:54] so you proposed an edit without testing it and let an admin brake it for you? [07:25:05] New review: Siebrand; "(no comment)" [mediawiki/extensions/MoodBar] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7719 [07:25:05] I tested it [07:25:07] Change merged: Siebrand; [mediawiki/extensions/MoodBar] (master) - https://gerrit.wikimedia.org/r/7719 [07:25:19] I'm not saying it is rare, gadgets are hard to test [07:25:19] aparrently not enough [07:25:25] chicocvenancio: how did you test it [07:25:42] ran it in chrome, firefox and IE [07:25:47] for about a week [07:25:58] told folks over at ptwiki about it [07:26:05] how did you test it [07:26:43] I used it daily for a few weeks [07:27:01] not with whom, where, when, how long. but how. [07:27:06] what should have I done? [07:27:15] New patchset: raindrift; "Shouldn't throw an exception. That breaks stuff. Instead, just return an API error (but not false)" [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7775 [07:27:20] I don't know the better way until you tell me what you did [07:27:49] Did you create a new gadget, copied from popups, made the edit, and tested that? [07:28:06] yeah... [07:28:15] on en.wiki ? [07:28:33] yeah, just a sec for the link [07:29:07] http://en.wikipedia.org/wiki/User:Chicocvenancio/popups-test.js [07:29:15] New review: ArielGlenn; "(no comment)" [mediawiki/extensions/PageTriage] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7775 [07:29:17] Change merged: ArielGlenn; [mediawiki/extensions/PageTriage] (master) - https://gerrit.wikimedia.org/r/7775 [07:29:39] chicocvenancio: that's not a gadget, that's a user script [07:29:42] but okay.. [07:29:55] I'm not an admin... [07:30:09] That isn't relevant. If you want to test a gadget, it needs to be a gadget [07:30:22] so test it on a wiki where you are an admin, or ask an admin to create the test gadget for you [07:30:35] anyway, moving on.. [07:30:37] to dependencies [07:30:41] there's 2 ways [07:30:57] if the gadget is using ResourceLoader for its loading (see https://en.wikipedia.org/wiki/MediaWiki:Gadgets-definition ), then it is really easy [07:31:07] just add [dependencies=mediawiki.util, jquery.mwExtension, ... etc. ] [07:31:09] its not [07:31:14] If it isn't, (I know it isn;t) [07:31:31] then use mw.loader.using( ['module a', 'module b', ''], callbackFn ); inline [07:31:55] Probably around these two lines [07:31:55] hookEvent('load', setupPopups); [07:31:56] addOnloadHook(autoEdit); [07:34:38] 03(FIXED) the message moodbar-form-note-dynamic doesn't support PLURAL - 10https://bugzilla.wikimedia.org/35811 (10Amir E. Aharoni) [07:34:46] New patchset: raindrift; "Updated PageTriage to master" [mediawiki/core] (wmf/1.20wmf3) - https://gerrit.wikimedia.org/r/7776 [07:35:14] New review: Santhosh; "Some minor changes required. See inline comments." [mediawiki/extensions/Narayam] (master); V: 0 C: -1; - https://gerrit.wikimedia.org/r/7331 [07:35:16] chicocvenancio: https://en.wikipedia.org/w/index.php?title=User:Chicocvenancio/popups-test.js&diff=next&oldid=489625547 [07:35:20] can you confirm that this works? [07:35:25] clear cache etc. [07:35:37] I saved it to https://en.wikipedia.org/w/index.php?title=MediaWiki:Gadget-popups.js [07:35:42] New review: raindrift; "(no comment)" [mediawiki/core] (wmf/1.20wmf3); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7776 [07:35:45] Change merged: raindrift; [mediawiki/core] (wmf/1.20wmf3) - https://gerrit.wikimedia.org/r/7776 [07:36:27] chicocvenancio: btw, where is your edit request? I don't see it on https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-popups.js [07:36:47] I reoppened an old one [07:36:53] just a sec [07:37:19] https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-popups.js#i18_for_Special:Contributions [07:37:22] https://en.wikipedia.org/wiki/MediaWiki_talk:Gadget-popups.js#i18_for_Special:Contributions [07:37:24] okay [07:37:43] New patchset: raindrift; "Updated PageTriage to master" [mediawiki/core] (wmf/1.20wmf2) - https://gerrit.wikimedia.org/r/7777 [07:38:07] its all working [07:38:17] thanks Krinkle [07:38:22] sorry for the trouble [07:38:28] New review: raindrift; "(no comment)" [mediawiki/core] (wmf/1.20wmf2); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7777 [07:38:31] Change merged: raindrift; [mediawiki/core] (wmf/1.20wmf2) - https://gerrit.wikimedia.org/r/7777 [07:38:36] I'll keep in mind the dependencies [07:39:10] good :) [07:39:25] chicocvenancio: If you feel like fixing more, check out [[mw:RL/MGU]] [07:39:37] popups could use more love. Even if it is just small bits and pieces [07:41:10] yeah, I'd seen that. I had some pretty terrible solutions to escape before seeing that page [07:41:18] just forgot to declare dependecies [07:41:22] okay, syncing that file now. [07:41:34] wont happen again [07:42:10] done [07:42:21] chicocvenancio: don't worry, it's all still relatively new. [07:42:25] and now, i'm going to bed. i'll have my phone if y'all need me again. [07:42:26] one step at a time [07:42:37] oh. [07:42:40] wrong channel. [07:46:22] Hallo. I'm not able to run `git clone' and `git review'. [07:49:47] git review /// ssh: connect to host gerrit.wikimedia.org port 29418: Connection timed out /// fatal: The remote end hung up unexpectedly [07:50:19] Is it just me or is something broken? [07:55:47] aharoni: just you [08:00:42] 03(NEW) PHP Catchable fatal error: Object of class MapsLocation could not be converted to string in Validator/includes/Param.php on line 243 - 10https://bugzilla.wikimedia.org/36897 blocker; MediaWiki extensions: Maps; (s.mazeland) [08:04:19] 14(WFM) wmflabs.org does not resolve - 10https://bugzilla.wikimedia.org/36885 +comment (10Peter Bena) [08:05:24] 04(REOPENED) wmflabs.org does not resolve - 10https://bugzilla.wikimedia.org/36885 +comment (10Peter Bena) [08:08:16] hi there what extension do you recommend to embed PDF in page ? [08:08:34] ouch [08:09:22] I have a Mediawiki installation with $wgGroupPermissions['*']['createaccount'] = false; in LocalSettings.php but spam bots are still creating accounts. What might be happening? [08:09:36] New patchset: Amire80; "(bug 35931) Changed Gujarati transliteration rules according to feedback" [mediawiki/extensions/Narayam] (master) - https://gerrit.wikimedia.org/r/7331 [08:09:57] tunprit: one bot may be creating accounts for other bots. [08:10:33] Daniel_WMDE: well, I turned on the Apache extension which logs all data and I noticed they seem to be sharing a session ID (I think, not sure of terminology) [08:10:36] Change on 12mediawiki a page Project:Requests was modified, changed by Petrb link https://www.mediawiki.org/w/index.php?diff=538309 edit summary: /* Mahdi.hajiha → Mahdiz */ [08:11:04] ed8: https://www.mediawiki.org/wiki/Extension:PdfHandler [08:11:38] tunprit: multipel users sharing a session id? at the same time? can't imagine how that would work... [08:11:52] again, probably the wrong term, but I'm seeing: [08:12:08] dumpio_in (data-HEAP): Cookie: wikidb_foobar__session=n5eaq1vq0r79h573pq7sliq5c7\r\n [08:12:21] from multiple spam users - the same code at the end [08:12:24] Daniel_WMDE: what about: https://www.mediawiki.org/wiki/Extension:PDF_Include ? [08:12:57] ed8: mjore flexible, less integrated, less secure. [08:13:16] But, presumably, if the mechanism you describe is happening, preventing the user class as well as '*' should stop this? [08:13:25] tunprit: that does look like the session id to me. [08:13:46] tunprit: i recommend to remove the createaccount right from "user" too. maybe give it to "autoconfirmed" or "emailconfirmed" [08:14:37] Daniel_WMDE: do you have un example of PdfHanlder, I'm not sure it's what I want [08:14:48] Daniel_WMDE: done, hopefully that helps. [08:14:55] Daniel_WMDE: I'm looking for something like slideshare [08:14:56] ed8: it's active on wikimedia wikis (wikipedia, wikimedia commons, etc) [08:15:22] ed8: the "slide" functionality is there, but only on the "image description page", i think [08:16:38] ed8: http://commons.wikimedia.org/w/index.php?title=File:TRANSMILENIO_.pdf&page=3 [08:17:22] ed8: you can embed individual pages elsewhere, but i don't think you can leaf through pages when embedded. [08:17:29] you need to go to the file's own page to do that [08:18:12] Daniel_WMDE: it's not usable to read a PDF directly from the wiki, so I will just link to the document [08:18:15] thanks [08:18:54] ed8: well, you can also use something like https://www.mediawiki.org/wiki/Extension:Embed_Document [08:19:06] that lets the browser to the rendering and navigation [08:19:25] New review: GWicke; "(no comment)" [mediawiki/extensions/VisualEditor] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7733 [08:19:26] but again, it's less secure, less inte3grated with the wiki [08:19:27] Change merged: GWicke; [mediawiki/extensions/VisualEditor] (master) - https://gerrit.wikimedia.org/r/7733 [08:20:45] Daniel_WMDE: is it safe in the DB schema to kill off any users and the pages they edit (simultaneously) so long as it's not one of a relatively small set of real pages? [08:21:08] There shouldn't be any ghosts left in the history, I'd think [08:21:30] tunprit: technically, you wopuld break database conistency, because those users are referenced in logs etc [08:21:53] but it shouldn't do any serious damage [08:22:23] alright, it's not as if the present state legitimately counts as 'undamaged' anyway. [08:22:42] But I take your point about DB consistency as well [08:51:23] 14(DUP) One press of section heading causes one press of Back to do nothing - 10https://bugzilla.wikimedia.org/36867 +comment (10Jon) [08:51:23] 03(mod) Browser back button works poorly with expanded article sections - 10https://bugzilla.wikimedia.org/36848 +comment (10Jon) [08:52:45] tunprit: use User merge and delete, its a extension [08:53:11] tunprit: http://www.mediawiki.org/wiki/Extension:User_Merge_and_Delete [08:53:22] and then just merge them into a dummy account you create [08:55:14] 03(mod) IE Font Sizing Bug - 10https://bugzilla.wikimedia.org/24515 -patch -patch-need-review +patch-reviewed (10Jon) [09:03:15] Something is strange with my Git connection. `git review' and `git clone' start and stop working randomly. [09:03:33] I just cloned an extension and it worked, then I tried to clone another one and it didn't. [09:04:01] aharoni: another? [09:04:29] how is your ssh -p 29418 username@gerrit.wikimedia.org [09:05:19] I cloned ArticleFeedbackv5 and it was fine. The I tried to clone ClickTracking and it just stuck. [09:05:45] ssh -p 29418 username@gerrit.wikimedia.org ----> Permission denied (publickey). [09:06:01] your username instead? :) [09:06:13] * aharoni pats himself on the head. [09:06:30] sorry I don't remember if you are "aharoni" or "asomething80" :) [09:06:35] Hi Amire80, you have successfully connected over SSH. [09:06:54] ili czto-nibudz' po-russki [09:07:34] which "git clone" is stuck? [09:11:16] saper, `git clone ssh://amire80@gerrit.wikimedia.org:29418/mediawiki/extensions/ClickTracking' [09:13:28] Cloning into ClickTracking... [09:14:32] maybe your personal privacy firewall decided /clicktracking/i is not for good you;) [09:18:18] p858snake|l: oh, neat. [09:21:24] 03(mod) new gateway link format for LibraryThing during the migration of PND numbers to GND numbers - 10https://bugzilla.wikimedia.org/36877 normal->major; +comment (10lɛʁi לערי ריינהארט) [09:30:14] New patchset: Jdlrobson; "monobook match right property of coordinates with right padding of #mw_content" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7778 [09:32:13] New review: jenkins-bot; "Build Successful " [mediawiki/core] (master); V: 1 C: 0; - https://gerrit.wikimedia.org/r/7778 [09:34:44] New patchset: Jdlrobson; "fix modern theme coordinate position bug 33825" [mediawiki/core] (master) - https://gerrit.wikimedia.org/r/7779 [09:35:23] 03(mod) Some skins don't float coordinates below the central notice banner - 10https://bugzilla.wikimedia.org/33825 +comment (10Jon) [09:35:26] 03(mod) Some skins don't float coordinates below the central notice banner - 10https://bugzilla.wikimedia.org/33825 -patch -patch-need-review (10Jon) [09:35:47] 03petrb * 10/trunk/extensions/OnlineStatusBar/OnlineStatusBar.i18n.php: changed the strings of status to lower case so that it better fit to text [09:36:33] 03(NEW) Need interface for diff-based DataUpdates in WIkiPage::doEdit - 10https://bugzilla.wikimedia.org/36898 minor; MediaWiki: Page editing; (daniel.kinzler) [09:36:40] New review: jenkins-bot; "Build Successful " [mediawiki/core] (master); V: 1 C: 0; - https://gerrit.wikimedia.org/r/7779 [09:43:01] 03(mod) Need interface for diff-based DataUpdates in WIkiPage::doEdit - 10https://bugzilla.wikimedia.org/36898 +comment (10Daniel Kinzler) [09:43:35] 03(mod) Need interface for diff-based DataUpdates in WIkiPage::doEdit - 10https://bugzilla.wikimedia.org/36898 +comment (10Daniel Kinzler) [09:44:00] New patchset: Nikerabbit; "Whitespace fix" [mediawiki/extensions/Interwiki] (master) - https://gerrit.wikimedia.org/r/7780 [09:44:18] 03petrb * 10/trunk/extensions/OnlineStatusBar/ (7 files in 2 dirs): Css files are now same as names of skin [09:45:04] 03(NEW) add "wikidata" keyword - 10https://bugzilla.wikimedia.org/36899 normal; Wikimedia: Bugzilla; (daniel.kinzler) [09:48:45] 03(NEW) Coding style issues in interwiki - 10https://bugzilla.wikimedia.org/36900 normal; MediaWiki extensions: Interwiki (extension); (niklas.laxstrom) [09:49:45] New patchset: Jeroen De Dauw; "comment out code for minzoom and maxzoom handling since it caused infinite recursion" [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/7781 [09:50:17] New review: Jeroen De Dauw; "(no comment)" [mediawiki/extensions/Maps] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7781 [09:50:19] Change merged: Jeroen De Dauw; [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/7781 [09:55:32] saper: It's really odd. I tried to clone ClickTracking again. It didn't work. Then I tried to clone UserDailyContribs and it worked. Then I tried ClickTracking and it worked, too. [09:57:08] aharoni: check with your local state security agency or secret police :) [09:57:56] 03(mod) add appendtext to URL driven requests - 10https://bugzilla.wikimedia.org/31919 +comment (10mabdul) [10:05:06] 03(FIXED) add "wikidata" keyword - 10https://bugzilla.wikimedia.org/36899 normal->15enhancement; +comment (10Thehelpfulone) [10:06:09] 03(NEW) [Wikidata branch] split creation of secondary data updates from parsing - 10https://bugzilla.wikimedia.org/36901 enhancement; MediaWiki: Page editing; (daniel.kinzler) [10:07:33] New patchset: GWicke; "Removed html5 parser patch no longer needed with 0.3.8" [mediawiki/extensions/VisualEditor] (master) - https://gerrit.wikimedia.org/r/7782 [10:08:27] 03(mod) [Wikidata branch] split creation of secondary data updates from parsing - 10https://bugzilla.wikimedia.org/36901 +wikidata (10Daniel Kinzler) [10:10:58] 03(mod) Need interface for diff-based DataUpdates in WIkiPage::doEdit - 10https://bugzilla.wikimedia.org/36898 +wikidata (10Daniel Kinzler) [10:15:15] 03(NEW) Refactor DifferenceEnginge et.al. to make parts reusable - 10https://bugzilla.wikimedia.org/36902 normal; MediaWiki: History/Diffs; (daniel.kinzler) [10:15:19] 03(FIXED) PHP Catchable fatal error: Object of class MapsLocation could not be converted to string in Validator/includes/Param.php on line 243 - 10https://bugzilla.wikimedia.org/36897 +comment (10Jeroen De Dauw) [10:15:44] 03(mod) Refactor DifferenceEnginge et.al. to make parts reusable - 10https://bugzilla.wikimedia.org/36902 normal->15enhancement; +wikidata (10Daniel Kinzler) [10:17:23] JeroenDeDauw: can you elabore what you want to do with DifferenceEngine? [10:17:37] oops [10:17:42] Daniel_WMDE: that's you [10:18:11] Nikerabbit: i don't have the details worked out yet, i'm still poking around. [10:18:54] Daniel_WMDE: looks like the overlap between what I want and you want is not that high [10:18:57] Nikerabbit: basically, i want to make it easy to make DifferenceEngine (or a subclass) that works for non-linerar, non-text types of content, without having to rewrite everything [10:19:11] Nikerabbit: hm... well, what do you want? [10:19:50] Daniel_WMDE: I have problem that it assumes that the old text is always something that was in the past when displaying stuff [10:20:12] it's mostly related to how it displays stuff [10:21:14] Nikerabbit: ah, you want to be able to compare arbitrary content, independent of where it comes from or when it was created? [10:21:16] also makes sense [10:21:43] Nikerabbit: i guess what we want isn't really related, and doesn't interfere. [10:21:51] Daniel_WMDE I use it do compare two related documents which can have different history [10:22:18] two or more actually [10:22:33] but three-way diff is just utopia for now [10:23:30] yea, i see [10:23:36] basically, what i plan to do is this: [10:24:17] make the DifferenceEngine take a "diff generator" (the actual engine) and a "diff formater" (which has to know about the format that the generator outputs) in the constructor [10:24:28] so yopu can plug algorithms and renderers. [10:34:48] YuviPanda: hi yuvi, [10:35:30] assume I have an incomplete page on my wiki. is there a way to mark it as such? [10:37:32] chughakshay16: heya [10:38:36] YuviPanda: i still havent got the confirmation for the bangalore hackathon.. :| [10:38:56] chughakshay16: sending it now. I think me and srikanth asked you to assume you're accepted :) [10:39:31] YuviPanda: okay :) [10:40:51] I'm trying to insert link to a file I upload on my mediawiki but the link doesn't use the alt text: [[File:AJLSM-Formation-à-l'encodage-XML-EAD.pdf|PDF Formation à l'encodage XML EAD]] [10:41:13] Does the accent break the parser ? [10:41:46] <_Meow> ed8: What does the HTML result look like? [10:42:27] _Meow: Fichier:AJLSM-Formation-à-l'encodage-XML-EAD.pdf [10:44:24] New patchset: Szymon Świerkosz; "(bug 13953) Allow global user CSS/JS." [mediawiki/extensions/CentralAuth] (master) - https://gerrit.wikimedia.org/r/7274 [10:45:25] <_Meow> I just tested it on Wikipedia, [[File:Example.svg|Test alt]] is expanded to Test alt [10:45:42] _Meow: a guy from #wikipedia-fr told me to add alt= but it doesn't work [10:45:51] <_Meow> Let me try it [10:46:08] _Meow: it's a custom wiki, not the wikipedia [10:46:31] I got accent and a single quote in the filename [10:46:37] <_Meow> Yes, alt=* worked fine on Wikipedia [10:47:35] which media wiki extension allows the use of {{Cite book}} ? [10:47:53] <_Meow> None, it's a template [10:48:06] how can I get that then? [10:48:20] New review: Siebrand; "(no comment)" [mediawiki/extensions/Interwiki] (master); V: 1 C: 2; - https://gerrit.wikimedia.org/r/7780 [10:48:22] Change merged: Siebrand; [mediawiki/extensions/Interwiki] (master) - https://gerrit.wikimedia.org/r/7780 [10:48:44] <_Meow> Well, see [[Template:Cite_book]] on Wikipedia [10:48:58] actually I'm looking to add a legend to my image, not an HTML alt attribute [10:49:12] <_Meow> ed8: https://www.mediawiki.org/wiki/Help:Images [10:49:24] <_Meow> alt=* works on MW 1.14+ [10:51:37] Does it change anything if the file is a PDF ? [10:51:42] _Meow: i am new to mediawiki, i've checked the page but i don't see any how can I use this template also [10:51:47] I'm using 1.18.2 [10:52:14] 03(mod) labs.wikimedia.org should redirect somewhere - 10https://bugzilla.wikimedia.org/36884 +shell; +comment (10Thehelpfulone) [10:52:58] <_Meow> ed8: Sorry, I don't know anything about that. [10:53:43] <_Meow> azi: If the license of your wiki is compatible with CC BY-SA, just copy all of the template [10:53:59] <_Meow> all of the template's code, and all code of the included templates [10:55:18] !export | azi [10:55:18] azi: 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 [10:55:58] _Meow: thank you [10:56:13] <_Meow> azi: You should say thanks to saper [10:57:09] _Meow: the namespace must be Media:, not File: for PDF. THis works: [[media:AJLSM-Formation-à-l'encodage-XML-EAD.pdf|PDF Formation à l'encodage XML EAD]] [10:58:04] <_Meow> But Media: will produce an direct link [10:59:07] _Meow: no, to wm-bot :) [11:03:46] <_Meow> So export Template:Cite book and check "include templates" should work [11:06:14] 03(FIXED) Namespaces + aliases configuration on French wikibooks - 10https://bugzilla.wikimedia.org/35977 +comment (10Thehelpfulone) [11:12:58] 03(mod) Search function of Chinese (zh) Wikipedia is too weak - 10https://bugzilla.wikimedia.org/36860 +comment (10Liangent) [11:25:10] 03(mod) Mediawiki-distributors mailing list - 10https://bugzilla.wikimedia.org/36861 +comment (10Daniel Zahn) [11:28:03] New patchset: Netbrain; "Openlayers recursive call issue Could not reproduce the issue but i suspect it could have something to do zoom level being set to ex. 4.5 instead of being rounded up to 5." [mediawiki/extensions/Maps] (master) - https://gerrit.wikimedia.org/r/7785 [11:32:54] 03(ASSIGNED) Show only open production wikis in the wiki selector on Special:TranslatorSignup - 10https://bugzilla.wikimedia.org/36824 (10Amir E. Aharoni) [11:33:06] 03(ASSIGNED) Add timestamp to talk page message - 10https://bugzilla.wikimedia.org/36822 (10Amir E. Aharoni) [11:33:21] 03(ASSIGNED) Only allow notification for non-discouraged pages - 10https://bugzilla.wikimedia.org/36820 (10Amir E. Aharoni) [11:33:31] 03(ASSIGNED) Filter source language signups from notifications - 10https://bugzilla.wikimedia.org/36823 (10Amir E. Aharoni) [11:33:50] 03(ASSIGNED) Notification e-mail should be more personal and specific - 10https://bugzilla.wikimedia.org/36821 (10Amir E. Aharoni) [11:36:47] 03(FIXED) Mediawiki-distributors mailing list - 10https://bugzilla.wikimedia.org/36861 +comment (10Daniel Zahn) [11:40:32] is there any way to have a counter of pages of specified categories so that I can display it on the main page? [11:41:11] <_Meow> azi: How often do you want it to be updated? [11:42:20] <_Meow> {{PAGESINCATEGORY:categoryname}} will do, but it's expensive [11:43:03] _Meow: thanks. once a day is fine i suppose [11:43:26] <_Meow> Maybe you should purge the main page once a day [11:43:59] I do $res = $db->select and the result has a single row, how should I access that row? is it okay to use mysql_fetch_array() ? [11:44:11] _Meow: thanks! [11:46:48] 03(mod) Namespaces + aliases configuration on French wikibooks - 10https://bugzilla.wikimedia.org/35977 +comment (10DavidL) [11:47:25] nischayn22: no [11:47:34] nischayn22: it resturns a ResultWrapper object [11:47:40] You can iterate over it [11:47:54] JeroenDeDauw: so that's something of MW specific? [11:48:26] woof [11:48:44] nischayn22: yeah [11:49:03] nischayn22: it's in includes/db/DatabseUtility.php or something [11:49:29] so something like $res[0] should work right? [11:49:36] err [11:49:42] Does not implement the arrayAccess interface [11:49:48] so no [11:49:48] It's not an array [11:50:26] but you can do [11:50:26] foreach ( $foobars as $foobar ) { [11:50:26] // here you will have $foobar->field_name, field_name being the field name in the db [11:50:26] } [11:50:55] or if you really want an array you can do $foobars = iterator_to_array( $foobars ) [11:51:03] then you can do $foobars[0]; [11:51:09] But this uses more memory [11:51:38] nischayn22: do try to avoid just using $res and $row. Using more descriptive names is always nice :) [11:52:19] but I have only one row in the result so shouldn't use foreach [11:53:38] well the Database Access Documentation needs some edits :) [11:54:29] 03(mod) no choice for PD-old-70 - 10https://bugzilla.wikimedia.org/34531 +comment (10Saibo) [11:54:49] anyone used Extension:DataTables on a recent MW, i.e. 1.18.0+? [11:55:14] what could be the reason that i have to create a category page over and over again? [11:55:49] nischayn22: then don't use select but use selectRow :p Then you get the object back instead of a ResultWrapper [11:55:56] each time i go to a page within a category "foo" the category is marked with red color, and when i click&create the page, it still remains red under other pages witin the same category [11:56:09] i suspesct my mediawiki site is "updating" slowly? [11:57:49] JeroenDeDauw: thanks, that helps :-) [11:58:06] * nischayn22 looks forward to edit Database Access [11:58:10] JeroenDeDauw: now get to my problem :) [11:58:45] I suspect the problem is that MW 1.19.0 comes with jquery, and it overwrites the (older) jquery that extension comes with [11:59:03] is that a recent thing, jquery distributed in the MW tarball? [12:04:12] JeroenDeDauw: I might also ask why did they make ResultWrapper and not execute queries directly? does it has something to do with error checking or performance or something else ? [12:15:10] Change on 12mediawiki a page Project:Requests was modified, changed by Frigotoni link https://www.mediawiki.org/w/index.php?diff=538349 edit summary: /* Requests for permissions */ +Addihockey10 (forgot to put here) [12:19:44] is there a ready means to just pull {{numbersingroups}} from the api? I try the following http://en.wikisource.org/w/api.php?action=query&meta=siteinfo&siprop=statistics|usergroups&sinumberingroup and it contains all the rights [12:21:54] sDrewth: ?action=parse&text={{numbersingroups:X}} :) [12:22:36] * sDrewth goes to play, thx [12:28:45] sDrewth: but I tried it and http://zh.wikipedia.org/w/api.php?action=query&meta=siteinfo&siprop=usergroups&sinumberingroup seems to be working [12:29:48] liangent: can we do it without the ? [12:30:25] as a steward I am looking to build an easy way to see what is at a site [12:31:01] and the permissions, themselves are not important for quick glance [12:31:06] Couldn't you just set up a toll that parses it and gives you the # you want? [12:31:09] *tool [12:31:25] Snowolf: you might be clever enough [12:31:38] <- simple male [12:32:24] sDrewth: I have a very old tool I might be able to adapt, provided you don't mind if it's really crappy and really simple -- which number do you need exactly? [12:32:41] in fact Snowolf if you can build me a simple tool that parses the data and gives me an answer in irc, then I would kiss your [12:33:31] something like ... [12:33:32] No. of users = {{NUMBEROFUSERS}}
[12:33:33] No. of active users = '''{{NUMBEROFACTIVEUSERS}}'''
[12:33:33] No. of group:autopatrolled = '''{{NUMBERINGROUP:autopatrolled}}'''
[12:33:33] No. in group:sysop = '''{{NUMBERINGROUP:sysop}}'''
[12:33:33] No. in group:bureaucrat = '''{{NUMBERINGROUP:bureaucrat}}'''
[12:33:34] No. in group:bot = '''{{NUMBERINGROUP:bot}}'''
[12:33:36]