[00:34:13] petan, hey. wm-bot4 now has some overlap in #mediawiki-feed [00:45:16] Hello. Is it possible that you can evaluate via Extension:ParserFunctions if there is a certain parameter given in a template? Like {{myTemplate|aaa|bbb|ccc|ddd}} => if "ccc" exists do this and this [03:00:01] thez yes [03:20:38] how do I revert changes to a branch [03:22:32] git revert [03:23:01] You can do "git revert --no-commit " and then "git commit" if you want to revert multiple changes in a single commit. [03:51:16] am I correct that private wiki creation requests go to Bugzilla? Meta says they go to Cary Bass - but that seems out of date for obvious reasons [04:33:57] varnent: Yes, you're correct. And yes, that page should be updated. [04:34:29] Gloria: Okay - AffCom got a request from a WUG - I’ll go ahead and update and maybe merge with the private wiki page as well [04:35:06] Gloria: Would you recommend that WUGs or new affiliates do anything in particular? Would it be helpful for AffCom to chime in and acknowledge they’re confirmed and active? [04:35:14] Not sure what a WUG is. [04:35:32] Wikimedia User Group - one of the new affiliation model types [04:35:33] I don't think creating a private wiki is a very good idea generally. [04:35:59] well - not a private one actually - this would be for a public one - but that page doesn’t seem to exist or have any creation info - which we’ll also work on [04:36:11] Fishbowl? [04:36:21] The basic answer to your question is: always use Bugzilla. [04:36:26] Until Bugzilla no longer exists. [04:36:30] lol [04:36:33] For any technical requests, Bugzilla. [04:36:43] that was my understanding - but wanted to confirm [04:36:49] Bugzilla may be replaced in the long-term. [04:37:00] There's a serious discussion going on about switching to Phabricator. [04:37:08] But who knows. [04:37:34] Private wikis, new mailing lists, domain issues, etc. all go into Bugzilla. [04:37:54] phabricator? what's that? [04:38:12] I wonder how they’ll respond to a public wiki request from a WUG - hopefully the same as any other Wikimedia Affiliate [04:39:06] llwy-ar-lawr: https://www.mediawiki.org/wiki/Requests_for_comment/Phabricator [05:21:05] Gloria, can you help me set up git-review [05:25:48] hmm, can I use gerritpatchuploader at gmail dot com? [05:25:53] as my email settins [05:31:49] hello? [05:32:30] Withoutaname: i haven't used gerrit patch uploader. Why not sign up for a full-fledged Gerrit account? [05:33:01] full fledged gerrit account? [05:33:12] i think i have one but i don't want to use any real email addresses [05:33:21] spam, virus etc [05:34:41] you may have one. you can sign up at . it's fine to use a throwaway e-mail address for spam, but it should be an account that is accessible only to you, even if it's not your primary [05:35:58] ori: when I commit to git my email is published publicly right? in the commit message i mean [05:36:15] Yes. [05:36:44] guess ill just set a throwaway email then [05:37:29] There's a Gerrit patch uploader Web tool. [05:37:32] I saw some users on gerrit using "gerritpatchuploader@gmail.com" as an email though [05:37:37] it depends on your git settings: check: git config --global user.name & git config --global user.email [05:37:49] https://tools.wmflabs.org/gerrit-patch-uploader <-- Fucking adorable. [05:37:54] https://tools.wmflabs.org/gerrit-patch-uploader/ [05:38:41] if you add a second slash, it actually works; a third slash, and your patch is merged immediately [05:43:43] ori: It's a 500, not a 404, BTW. [05:44:43] sorry how do I upload a patch [05:44:56] Did you create a patch? [05:45:16] I've only changed the file I wanted to change using eclipse [05:45:33] I went through https://www.mediawiki.org/wiki/Gerrit/Getting_started [05:45:34] Do you have Git installed? [05:45:36] Or SVN? [05:45:41] Or diff? [05:45:57] I have the git bash installed [05:46:02] Okay. [05:46:19] I am at the git fetch stage [05:46:20] Open that and run "git format-patch -l --stdout HEAD" inside your Git code repository. [05:47:13] Hmmm. [05:47:15] ok [05:48:31] it ran but where is the patch [05:50:32] It probably printed it out. [05:50:54] Or generated a diff file? [05:50:55] I'm not sure. [05:51:47] the committer is [[mw:User:Example]] (gerritpatchuploader@gmail.com) can I change [[mw:User:Example]] using the author field [05:52:16] That will be set to your mediawiki.org username. [05:52:30] You have to log in to mediawiki.org and approve the Gerrit Upload tool in order to use it, I believe. [05:55:10] I am logged in [05:55:54] well it says I can paste [06:04:58] ok so I guess I need to throw away the commit and assign a new email [12:53:07] Hello, i try to add ConfirmAccount extension, i add the require_once line in LocalSettings and i have Fatal exception of type MWException. Can yoyu help me ? [12:53:48] lapache: is the version of ConfirmAccount compatible iwth your version of MediaWiki? [12:54:58] lapache: each extension has versions specific for each (recent) version of MediaWiki, and only these are guaranteed to work [12:59:04] ok, i read the readme file in the extension dir, it is for mediawiki 1.20 while i use 1.22 [13:14:03] hey guys, i have a little question! when i query the page table i have a column with the id of the page_namespace; where is the string for the namespace stored? thx alot [14:27:48] people, is it okay to post a request for feedback on an IEG proposal (tech related) to Wikitech-l? [14:39:18] "fatal: unresolved deltas left after unpacking" [14:51:53] hpnadig: it's ok, but never expect useful feedback from that list :) [14:52:22] it was probably already announced there btw [15:23:06] afternoon? https://www.mediawiki.org/w/index.php?title=Talk:Requests_for_comment/Third-party_components&diff=0&oldid=943453 [16:50:14] Hai Obadiah [16:51:16] hi Meiko [16:52:45] Is there still a bot reporting things in this channel from bugzilla? I just scrolled up and didn't see anything from it, which is unusual? [16:52:58] Or is it just inactive until the supposed switch to Phabricator? [16:53:31] It's in #wikimedia-dev [16:53:31] Meiko: i believe it’s been moved to #wikimedia-dev [16:53:41] Oh, okay [16:53:57] That makes sense. It was just weird since I've gotten so used to it and just realised it was gone [17:43:35] Nemo_bis: thanks! yes, sent it off after checking with friends who're active on that list. [17:49:24] API question: Is there a good way to retrieve the byte difference of a revision, or do I have to manually get the difference by retrieving N+1 revisions or something equally awkward? [17:50:29] I don't think there's anything in the API for byte difference but I may be wrong [17:52:47] OK [17:55:32] I'm working on some user JS for custom history/contribs, and byte difference is one of the things that's going to be annoying to replicate [17:56:29] I'll go back to screwing around with the revision line-item model for now, that's holding everything else up [17:56:33] Nihiltres: you can retrieve the length of each revision, then calculate the difference [17:56:49] MatmaRex: that's the plan so far [17:56:52] action=query&rop=revisions should have a switch for this, iirc [17:57:42] AFAIK I just include "size" in the pipe-separated list in rvprop [17:57:59] yeah, something like that [17:58:08] rvprop:"ids|timestamp|flags|user|parsedcomment|size|tags" [17:58:25] that's what's in my notes [18:00:24] I'm thinking I'll create a Revision prototype and preprocess my list to add missing properties as needed [18:02:51] and byte difference will have to be one of them :/ [18:31:23] is 1.22.6 coming out tomorrow? [18:35:15] UserProd: is it supposed to according to some schedule? [18:35:29] https://www.mediawiki.org/wiki/MediaWiki_1.22#Release_schedule [18:35:47] i haven't seen any patches being submitted for it, actually, so i dunno [18:35:56] hexmode: do you know? ^ [18:36:13] for 1.22.5 they released patches the day before cause they were security related [18:36:28] so figured they'd wait till the last minute for this as well [18:40:54] bd808, Hey :) [18:41:08] hey kushalk124 [18:41:33] bd808, How are you ? [18:41:42] * hexmode looks [18:41:43] bd808, Did you get time to check my patch ? [18:42:17] kushalk124: Sorry, I haven't gotten to it yet. :/ [18:42:31] bd808, It's ok :) [18:42:38] MatmaRex: ? The schedule? [18:42:59] hexmode: is 1.22.6 coming out tomorrow? [18:43:13] MatmaRex: ah, yes. [18:43:35] schedule is posted, Markus is handling it [18:43:46] hexmode: thanks! [18:44:31] i like these new scheduled releases, helps a lot with planning [18:46:13] UserProd: what is your wiki? [18:46:21] strategywiki [18:46:25] public? or internal [18:46:31] * hexmode looks [18:46:37] public [18:47:06] UserProd: I think my son would like it :) [18:47:10] :D [18:47:17] thnx [19:39:28] if NS = NS_TALK: is there a function to rectrieve the corresponding article page title? [19:40:03] Subfader: In PHP or in wikitext? [19:40:14] in php :) [19:41:42] Yeah there's a function for that I think [19:41:46] getSubjectTitle() or somethig [19:41:50] * RoanKattouw searches [19:42:19] $titleObjForTalkPage->getSubjectTitle() [19:42:24] Argh no [19:42:27] ->getSubjectPage() [19:42:29] Sorry [19:42:50] And ->getTalkPage() for the other direction [19:43:17] $wgTitle->getSubjectPage() does it! Thanks :) [19:43:49] try to get the title object from somewhere else and don't use $wgTitle [19:45:14] kk, but wgTitle is used a lot in MonoBook.php, no? [19:45:18] oh, there's no wikibugs here :( [19:45:26] Subfader: https://bugzilla.wikimedia.org/show_bug.cgi?id=23307 [19:45:51] Subfader: nnnno, it's not? [19:46:01] I hope not :) [19:46:05] unless you have a very old MediaWiki version, in which case consider upgrading [19:46:09] Then it was me adding it there :/ [19:46:16] heh [19:46:17] Vulpix: it's in #-dev now [19:46:23] MW 1.16 FTW! [19:46:29] MatmaRex: why? :( [19:46:52] Vulpix: Because this is a MediaWiki support channel, and it was spamming past the ability to help users. [19:47:10] Vulpix: Whereas #wikimedia-dev is a development channel, so spamming is expected. :-) [19:47:19] RessourceLoader ruined the fun for me in the very beginning. [19:47:27] yeah. and since wikibugs happened to go down, we seized the opportunity and did not bring it back up, replacing it with a better tool [19:47:49] hmmm, sad, but okay [19:48:54] Vulpix: It's oh-so-quiet in here now. :-) [19:49:16] yeah, very quiet [20:16:17] hi [20:44:37] sumanah: we missed you in Berlin - although I suspect it would have been a stretch to get you to the affiliates mtg - but still - we missed you :) [20:45:02] hi varnent! Aw, thanks for the kind words! :-) I miss you too and I wish I could have seen many of you [20:45:25] sumanah: as you know - it took on a very strange tone - but honestly I think that made us long for our friends in the movement even more [20:45:32] nod, nod [20:45:50] In 15 minutes in #wikimedia-office, https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2014-04-23 we're talking about Micru's associated namespaces RfC [20:46:02] varnent: any Requests for Comment in MediaWiki world you want to push on? [20:46:28] sumanah: nothing beyond Wikimania Hackathon stuff - but I’ll be sending out an email [20:46:34] OK [20:46:45] varnent: worth skimming https://www.mediawiki.org/wiki/Requests_for_comment [20:46:54] sumanah: I’ve got some code brewing around social media stuff - but AffCom stuff has taken a higher priority for now - and the Hackathon stuff [20:47:04] I love that the RFCs are active - I’ve been meaning to comment on a few [20:47:18] Please do! [20:47:33] a bunch of my WM deadlines are May 2 for some reason - so I’ll be able to dabble then [20:48:13] sumanah: Hackathon is going to be crazy this year - all conference (just programming on first two days as usual) and 24 hr access to an amazing huge space that I think ppl will love (or hate - lol) [20:48:37] varnent: you mean Zurich? No, you mean London [20:49:08] sumanah: yeah - London - the host committee asked me to help coordinate again we also have a space designated for developer discussion that we could loop some of the RFC stuff into [20:49:31] sumanah: and no AffCom mtg in London this year - so no dividing time again :) [20:50:39] sumanah: the London team really wants to use this year to solidify Hackathon’s role in the conference - which I’m intrigued by - as always I’m just helping implement their vision - but I think the support and tone will be more like DC than HK [20:51:23] Nod [20:51:27] sumanah: I know you have to run to the office hours - but how are things on your end? enjoying post-sabattical re-entry? [20:51:32] YES [20:51:40] I'm about to post a personal blog post about it actually varnent [20:51:56] very cool! [20:52:01] WMF blog or personal? [20:52:49] Personal [20:52:57] you should do WMF as well :p [20:53:12] but let me know when you post it if you think of it - I’d love to read it [20:53:26] varnent: RSS readers are wonderful ;-) [20:53:37] :p [20:53:43] yeah yeah yeah :) [20:54:52] varnent: it's up http://www.harihareswara.net/sumana/2014/04/23/0 [20:55:07] excellent! that was fast :) [20:55:17] :) [20:55:43] is there a way to return only the parsed html of a template call? [20:55:46] through a url [20:56:00] fhocutt: http://www.harihareswara.net/sumana/2014/04/23/0 mentions you as well :) [20:56:02] i want just the html returned by {{:Special:RecentChanges}} [20:56:03] cortexman: the api can give you the parsed version, I think. Let me see. [20:56:16] cortexman: oh, special:recentchanges is, well, special [20:56:27] but let's see. [20:57:00] cortexman: https://nl.wikipedia.org/w/api.php?action=parse&text={{:Special:RecentChanges}}&title=Test seems to work [20:57:18] * fhocutt clicks through [20:57:37] oh interesting [20:57:44] sumanah: wow - well done - and congrats on the latest gig :) so does that mean I should talk to you about tweaking the translate documentation? :) [20:57:46] but i actually want to use it as the url for an iframe [20:57:59] varnent: It means you can tell me what you want to do and I will probably say "go for it" :) [20:58:54] cortexman: hmm. Not sure about that, to be honest. [20:59:37] sumanah: lol - we should chat - let me know when you’re not in a mtg or such :) basically I’m going to it from my usual “I get this - but I wasn’t in the inside” perspective - so I’m noticing a few things that conflict and a best practices gap between the wiki editors and translators (bullet point lists as something I’ve been scolded in IRC for multiple approaches) [21:00:01] varnent: sounds like something you could talk with Runa/Amir more profitably about :) [21:00:04] Catch you later! [21:00:36] sumanah: you remain an awesome rolodex :) ttyl [21:00:41] aw thanks [21:00:57] in 1 min in #wikimedia-office, https://www.mediawiki.org/wiki/Architecture_meetings/RFC_review_2014-04-23 we're talking about Micru's associated namespaces RfC [21:01:53] i'm surprised there's no way to just get the html [21:01:59] you can do just about everything else [21:02:03] Is there any way to find an old release that's not listed on releases.mediawiki.org? I would like to run a diff against 1.6.7 if possible [21:02:23] 1.6.7? ummm... [21:02:55] 1.6.3 is there [21:03:04] as is 1.6.8 [21:03:15] otherotherphil: all the old versions can be found in the gerrit repository [21:03:27] but, really 1.6? that's like, seven years old [21:04:00] Yup. [21:04:10] I'm not exactly thrilled about this myself [21:04:14] I'd suggest backing up and a new tarball/git release if you are running a seven year old codebase, patching that will not be fun... [21:04:28] I'm wanting to justify total retirement of this one [21:04:35] possibly exporting content first [21:05:20] but knowing how severely they hacked/patched it will help whatever the outcome [21:06:35] Thanks for the info, though; makes an unpleasant job less unpleasant [21:10:26] I don't want to pester, but if anyone knows how to find LDAP login history that would also help sift through the years of neglect [21:10:32] is there a font called wiki sans? [21:10:43] otherotherphil: 1.6.7 would probably be https://github.com/wikimedia/mediawiki-core/commit/94ff79fd44b4f88f907344c1d8f99593de1808ef [21:10:52] I can't find what font is used in the commons logo and such [21:11:03] it's apparently wiki sans but I can't find anything about it [21:11:15] Thanks so much, valhallasw [21:11:22] I was having trouble finding it [21:11:40] otherotherphil: yeah, I had to run git blame on RELEASE-NOTES to find it [21:11:41] :/ [21:12:43] almost 8 years old [21:13:00] https://github.com/wikimedia/mediawiki-core/commits/REL1_6 also works to find it [21:13:07] I guess nobody knows how to answer my question [21:13:42] so https://github.com/wikimedia/mediawiki-core/commit/b5474072b71fb598878757397c6d0236d56bc004 might actually be the last commit to make it into 1.6.7 [21:13:52] llwy-ar-lawr: this is definitely documented *somewhere* [21:14:10] it should be, but where? [21:14:24] I did find the serif font at least [21:14:52] llwy-ar-lawr: https://wikimediafoundation.org/wiki/Wikimedia_visual_identity_guidelines#toc-foundation [21:15:00] llwy-ar-lawr: It's Gill Sans [21:15:10] valhallasw: thanks [21:15:24] at least, I *think* the WMF and commons fonts are the same [21:15:32] they look awful similar [21:22:18] Nemo_bis: what is this bug about? https://bugzilla.wikimedia.org/show_bug.cgi?id=64322 [21:22:32] Is the issue in the Admin Links code, or what? [21:23:43] whenever I head about admin links I always think of breakfast links [21:23:47] I know I shouldn't [21:23:52] s/head/hear [21:31:55] Oh... now I get it. [21:44:18] sorry Yaron, is the problem that I used [[mw:personal tools]] jargon? [21:44:30] I know it's not a commonly used term, but at least it's standard [21:44:44] Right... I'm used to just thinking of it as "the top of the page". :) [21:45:26] I just responded on Bugzilla. [21:53:43] is there some javascript for adding new tabs like Read | Edit etc [21:54:03] cortexman: Yeah! [21:54:05] One sec :) [21:54:26] I think it's more common to add items to one of the down-arrow menus on that bar though? [21:54:34] i already did that [21:54:37] https://doc.wikimedia.org/mediawiki-core/master/js/#!/api/mw.util-method-addPortletLink [21:54:38] i think they are too hidden [21:54:59] you can see the hacking i just did here: http://grey.colorado.edu/emergent/index.php/Main_Pageemergent [21:55:05] http://grey.colorado.edu/emergent/index.php/Main_Page [21:55:18] ...hm [21:55:21] That seems wrong [21:55:33] what do you mean [21:55:41] cortexman: Those look like things you should put in the top-right menu, called the personal tools section [21:55:56] yeah, anywhere that they are more visible [21:56:01] and that i can do from Common.js/css [21:56:12] cortexman: Yeah, so see the above [21:56:35] oic, the same method works on all those [21:56:36] neat [21:56:39] ty [21:56:58] No problem :) [21:57:57] it's a lil' busy up there but it seems better [22:14:55] how do i debug lua script errors? [22:18:20] clicking them doesn't do anything (although the wiki says otherwise) [22:25:23] marktraceur: https://www.mediawiki.org/wiki/Help:Multimedia/Media_Viewer#How_can_I_browse_through_a_collection_of_images.3F [22:25:32] what is a "collection of images" exactly? [22:25:44] [ and hello :) ] [22:28:58] aharoni: All of the images on a page. [22:29:03] if anyone can use css or js to put this logo in the upper left corner ill give you a cookie http://grey.colorado.edu/emergent [22:29:36] i have gotten very close, using body:before {content: url(…);} and #mw-head:after {content: url(…);} but no cigar [22:29:41] cortexman: 1. Which logo? 2. Why not use $wgLogo? [22:29:48] i'm hiding the sidebar! [22:29:55] marktraceur: OK, makes sense. The arrows work correctly in RTL \o/ [22:30:11] Thanks to whoever made it work correctly. [22:30:18] this is the logo http://grey.colorado.edu/mediawiki/sites/emergent/images/5/57/logo_small.png [22:31:18] i would actually like the entire string "emergent Neural Network Simulator" in the upper left, with the logo instead of the first e [22:32:24] aharoni: yw :) [22:33:01] cortexman: Hm. You may want to create a skin to accomplish this [22:33:17] But detaching the element and re-attaching it in the right place may be your best bet [22:34:43] oh i found the spot [22:35:24] #mw-page-base [23:07:20] I blocked a user at mediawiki.org and they're still editing [23:07:21] wat [23:07:21] https://www.mediawiki.org/wiki/Special:Contributions/Josep836475 [23:08:47] OH [23:08:49] I see [23:08:54] It can edit its talk page [23:09:17] you want to revoke it? [23:10:22] nah I see someone did [23:10:27] I did [23:10:28] :P [23:10:33] oh that's you [23:10:35] yes [23:10:47] my irc name and wikimedia name are different [23:10:49] :P [23:10:52] me too [23:11:32] my cloak matches my wikimedia name though [23:11:44] yep