[04:08:28] anyone know of a way to filter recent changes by user group? [04:21:14] mww113: i suppose you could use CSS to color users by group [04:21:18] mww113: Doesn't it already have that? [04:21:20] but you couldn't filter it [04:21:22] You can filter out bots. [04:21:28] And you can filter out logged-in users, I think? [04:21:29] c: that's a thought [04:21:46] There's server-side filtering and client-side filtering. [04:21:46] Katie: yes i think so. I was trying to find an active bureaucrat on a wiki though [04:21:55] Special:ActiveUsers ? [04:22:11] oh very nice [04:22:19] didn't know that existed. thanks! [04:22:23] No problem. [04:22:33] though color filtering with CSS does sound like fun ;) [04:22:42] ActiveUsers doesn't seem to support arbitrary groups. [04:22:53] It has "Hide administrators" as a checkbox. How bizarre. [04:23:15] anyone around who is familiar with semantic mediawiki? I fubared my install and am reconstructing my LocalSettings.php and need to know what string I passed into enableSemantics() [04:23:25] is it in the db somewhere? [04:23:32] Katie: perhaps to filter out good edits with edits needing vetting [04:23:42] Maybe. [04:23:44] lol [04:23:52] It seems like a weird user interface, though. [04:23:55] I'll file a task. [04:23:59] yeah it is a little strange [04:24:29] but that actually accomplished the task. it's the test wikipedia so there aren't that many users [04:27:19] https://phabricator.wikimedia.org/T116354 [04:28:25] you're doing good work, Katie [04:28:52] Thanks, you too, c. [04:29:52] thanks for making that task! :) [04:30:45] No problem. [04:30:49] Katie: we'll blame that Special page on Logan_ [04:31:03] actually Katie... going off the name on your phabricator account [04:31:09] aren't you a 'crat on test? [04:31:16] Yes. [04:33:39] I sent you a pm [04:34:22] Why in PM? [04:35:15] not really on topic for this channel, didn't want to flood [04:35:23] It's okay. [04:36:00] thanks for your help though. can anyone file a phabricator bug? [04:36:21] Anyone with a Phabricator account, yes. [04:36:35] > 04:33, 23 October 2015 Pmlineditor (talk | contribs | block) changed group membership for Mww113 from reviewer to reviewer and administrator (Per request) [04:36:41] Crisis averted. [04:36:52] yes haha. I sent that in a pm too [04:37:03] of course as soon as I poke someone on IRC, it gets done by someone else [04:37:06] ;) [04:37:25] Chat is funny like that. [04:37:40] ninjas [04:37:42] everywhere [04:37:53] Anyway, you were an admin in 2008. [04:37:57] I would've done it. [04:38:07] But Pmlineditor is faster, apparently. [04:38:30] 2008 feels like forever ago [04:38:34] yes apparently so [04:38:37] and it does indeed [04:39:08] you guys may be able to offer some insight though on this, do MediaWiki: pages for system messages parse wikitext? [04:39:40] depends on the page [04:41:22] right [04:41:33] can you elaborate? or is it kind of a case-by-case thing? [04:42:01] I guess a better way to ask that is, are there any particular rules or ways to know which pages will parse wikitext? [04:42:18] By reading the code. [04:42:29] Or by editing the page and seeing what happens. [04:42:35] You know about ?uselang=qqx ? [04:49:50] Katie: Yes I do [04:51:51] Then you're all set. [04:54:57] is there a way to make a page parse a link other than using [[wikitext]] if it won't parse wikitext? [04:55:06] html tags seem to be disallowed [04:58:28] mww113: you can put direct url inside "[]" - https://www.mediawiki.org/wiki/Help:Links#External_links [04:58:46] that doesn't do it [04:58:57] [] is wikitext just like [[ ]] [04:59:16] neither is parsed in this particular message. MediaWiki:Antispoof-conflict-bottom [04:59:38] What are you trying to do? [05:02:48] so [05:03:15] we're trying to inform users who encounter an antispoof conflict when creating an account of the availability of WP:ACC [05:03:33] since an antispoof conflict can be overridden in some cases [05:04:06] problem is, the wikitext is parsed on the MediaWiki page. but when the user actually encounters the message from creating an account [05:04:15] WP:ACC is a plague on us all. [05:04:22] the wikitext is all passed as plain text [05:04:27] lol what makes you say that? [05:04:32] It's a nightmarish bureaucracy. [05:04:43] sure [05:04:49] It shouldn't exist, in my opinion. [05:04:58] I mean it is useful though [05:05:01] But anyway, it sounds like the AntiSpoof extension is using ->plain or something. [05:05:06] Special:CreateAccount is useful. [05:05:12] For instance, if you're on a rangeblocked ISP or cell provider [05:05:17] The creeping and entirely unnecessary bureaucracy is not useful. [05:05:20] and you want to create an account, you can't [05:05:49] you either need to find another computer with a different IP, or ping someone off-wiki to create it for you [05:05:50] Maybe we should stop blocking so many people. [05:05:55] I mean yes [05:06:03] but that's a whole other topic :P [05:06:18] tl;dr ACC is no more a bureaucracy than Wikipedia itself [05:06:25] Not really. [05:06:31] I mean, kind of, but not really. [05:07:16] I mean I don't really find the process that bureaucratic [05:07:22] User can't create account for whatever reason [05:07:29] they fill out a simple form [05:07:31] For whatever reason? [05:07:34] They already filled out a form! [05:07:35] We have a form! [05:07:38] mww113: "-" will not be intrepreted as is, replace it with "%2D" in full url to [] [05:07:41] We have a user account creation form. [05:07:53] yes we do [05:07:56] If that form isn't working, the answer is not to create another form. [05:07:59] but not everyone can use it [05:08:02] Don't you see the madness in this? [05:08:03] due to blocks [05:08:08] antispoof conflicts [05:08:10] Then stop blocking people. [05:08:12] title blacklist conflicts [05:08:23] The whole thing is crazy. [05:08:31] Trying to tell anyone who "does ACC" that never works. [05:08:36] or visually/auditory impaired people who cant get past the CAPTCHA [05:08:37] But it really is complete insanity. [05:08:57] I mean I agree that it could be changed [05:09:03] I think you mean killed. [05:09:03] less blocks would be a good thing imho [05:09:18] well before we kill it someone needs to undo the blocks [05:09:23] there are rangeblocks [05:09:35] that block THOUSANDS of IPs and disable account creation [05:09:58] until you get rid of those, you have to have some way for those people to make accounts [05:10:25] Or what? [05:10:40] wfMessage( 'antispoof-conflict-bottom' )->escaped(); [05:10:44] Is the answer you're looking for. [05:12:11] https://www.mediawiki.org/wiki/Manual:Messages_API explains what escaped() means. [05:13:04] thank you [05:13:20] and to answer your previous question [05:13:44] The only satisfactory answer for my previous question is "we're sorry for this horrible mess we've created, we'll destroy it in short order." [05:13:48] But that's not gonna happen. [05:13:49] what if you were affected by a huge range block, couldn't create an account, and when you asked for one people were like "ehh... don't really care" [05:13:55] Doesn't it have some absurd name now, too? [05:13:57] UTRS? [05:13:58] Is that it? [05:14:00] no [05:14:03] that's for unblocking [05:14:06] Oh, right. [05:14:11] Another horrible bureaucracy. [05:14:15] needed though [05:14:21] sometimes people have their user talk protected [05:14:28] Not to be confused with Request for CheckUser. [05:14:33] lol [05:14:47] SPI or whatever. Ugh. [05:14:51] ACC has rfcu integrated into it [05:14:54] Ugh at all of it. [05:15:02] so checkuser requests can be made non-publically [05:15:15] but I do understand your frustration, really I do [05:15:20] This is English Wikipedia madness. [05:15:27] Not every wiki has this stupidity. [05:15:30] yes [05:15:43] but not every wiki has hundreds of millions of unique visitors per month [05:15:45] so there's that [05:15:46] If we have to shrink the English Wikipedia down to the size that it can no longer sustain enough volunteers to support these dumb tools, [05:15:50] it might be worth it. [05:16:19] If there were hundreds of millions of users, that point might be relevant. [05:16:22] Katie: I take it you're not active on enwiki? lol ;) [05:16:33] since you seem to dislike it so [05:16:39] It's a pretty terrible place. [05:16:47] aw don't say that :P [05:16:47] I have more edits than you, I imagine. [05:16:50] you may [05:16:55] I mean, I run Wikimedia. [05:16:59] I have a few edits. [05:17:23] one would assume ;) [05:17:34] I'm really not trying to be combative here. just a difference in opinion [05:17:44] Yes, I'm right and you're wrong. ;-) [05:17:55] hahaha. [05:18:13] if only it were that easy to convince someone ;) [05:19:02] Favre. [05:19:05] Not Farve. [05:19:09] Don't worry, I fixed it for you. [05:19:21] It's a dumb spelling. [05:20:55] lol thank you [05:21:03] I honestly wouldn't have caught that [05:21:55] I wonder Katie if we might find some common ground here if I say: [05:22:03] I don't think all admins should be allowed to rangeblock [05:22:27] Because... I've seen some things. People blocking like a third of a country for example. [05:22:42] Range blocks are probably only going to become more common. [05:22:43] Given IPv6. [05:22:52] Maybe the software should stop dumb admins from making dumb blocks. [05:22:54] It already does that a bit. [05:22:59] By warning about self-blocks. [05:23:05] It could probably go a bit further. [05:23:44] The English Wikipedia already has a warning for sensitive IP addresses, I believe. [05:25:45] lol [05:25:54] yes it could go a bit further [05:26:16] "you're about to block 45,000 IP addresses. are you sure you meant to do this?" [05:26:35] and then when they click yes it should still not allow the block [05:38:00] :-) [08:08:35] Hey everyone, I have a question regarding UploadWizard: I've checked out the latest version of the REL1_26 branch and I'm on REL1_26 branch of MediaWiki. When I load up the UploadWizard console throws: "Uncaught Error: Unknown dependency: mediawiki.widgets.CategorySelector" [08:18:42] anyone know how to get the category hierarchy of wiktionary? i have the xml dump of all the articles, but it doesn't seem to tell me the category structure [08:21:58] ah, categorylinks.sql. sorry, not sure how i missed that [08:24:07] styl1te, how large is the dump, out of interest? [08:32:58] enwiktionary-latest-pages-articles.xml.bz2: 467M [08:33:04] (from a few months ago) [08:33:17] 183M enwiktionary-20151002-categorylinks.sql.gz [08:33:43] interesting ratio [08:35:40] good night! [09:14:17] Trying to load a css file with ResourceLoader, but it end up being included inline with a style tag instead of being attached at the end of the link request. [09:26:46] What is mediawiki.widgets.CategorySelector? [09:30:42] marcello: https://www.mediawiki.org/wiki/MediaWiki_1.27/wmf.2 links to https://gerrit.wikimedia.org/r/#/q/40a8367f,n,z and https://phabricator.wikimedia.org/T108733 [09:31:23] So it is included in WM 1.27 and maybe not in 1.26. I wonder why my UploadWizard on branch REL1_26 wants this dependency [09:31:49] Am I'm wrong to think that when I am on both REL1_26 branch of my mw and my extensions it should work together? [09:53:22] git review -s is not working and showing this error https://dpaste.de/rzBo . I am using ubuntu 12.04. Please help. I am new here. Thanks :) [10:15:49] !outreachy [10:15:49] To participate in the Outreachy program, please follow the steps from https://www.mediawiki.org/wiki/Outreachy/Round_11#Where_to_start Pick a project from https://phabricator.wikimedia.org/tag/possible-tech-projects and research it to prepare the applicaton. Check Phabricator and mediawiki.org for more information. [10:18:03] wm-bot18: outreachy is To successfully apply to the Outreachy 11 round, please see https://www.mediawiki.org/wiki/Outreachy/Round_11#Candidates and https://www.mediawiki.org/wiki/Outreach_programs/Life_of_a_successful_project#Coming_up_with_a_proposal . Pick a project from https://phabricator.wikimedia.org/tag/possible-tech-projects and prepare your proposal in Phabricator. [10:18:33] wm-bot: outreachy del [10:18:45] wm-bot: !outreachy del [10:19:29] !outreachy del [10:19:29] Successfully removed outreachy [10:19:37] !outreachy is To successfully apply to the Outreachy 11 round, please see https://www.mediawiki.org/wiki/Outreachy/Round_11#Candidates and https://www.mediawiki.org/wiki/Outreach_programs/Life_of_a_successful_project#Coming_up_with_a_proposal . Pick a project from https://phabricator.wikimedia.org/tag/possible-tech-projects and prepare your proposal in Phabricator. [10:19:37] Key was added [10:23:57] saper: But how I am going to know my mentor [10:24:09] saper: and to discuss the timeline [10:27:56] no [10:28:09] mentors will pick up successful candidates based on the proposal [10:42:43] saper: no that's not what I am asking [10:44:19] khushbu: do you have any specific question to the timeline? [10:45:44] saper: yeah ! What are the things we need to work during dec - march that's what I want to discuss cz my project is bug reporting system [10:49:52] khushbu: you start development of your feature on December 7 and you are working on it full-time until March 7th. That's when you do your coding, documentation, reports - pretty much everything. [10:50:08] ok [10:50:19] khushbu: what is your proposal about? [10:50:34] now I just need to select a project and make a proposal according to that [10:51:58] so you write what you are going to do - and most importantly what are steps to do achieve that. Try to plan small steps, for example what will be done every 2 weeks. [10:53:20] or every week is better [10:55:26] be as specific as possible [10:55:44] khushbu: is it more clear now? do you have a specific issue in Phabricator you would like to work on? [10:59:55] hi paladox [11:00:09] saper: Hi saper [11:02:28] This bugfix https://phabricator.wikimedia.org/T93204 should be in the latest stable mw release (1.25.3) of VisualEditor extension, right? [11:02:47] Hi saper. Thanks for guiding the Outreachy applicants. :) [11:04:00] Niharika: will send a bill to San Francisco afterwards, no worries :) [11:04:15] saper: :P [11:04:17] paladox: didn't have a chance to look at your updater changes yet [11:05:02] saper: Ok i followed your advice and reused the postgres code but i am not sure how to open the code up so there is less duplicating. [11:05:07] Is there a good documentation on how the repositories are setup. I'm looking especially into understanding how extensions, skins and mw core versions are compatible together. For example: How can I be sure that all of these things are working together [11:09:54] paladox: I am looking at https://gerrit.wikimedia.org/r/#/c/227238 now. Why are you dealing only with 'LoadExtensionSchemaUpdates' ? Is installer not using any other hooks? [11:10:57] saper: I am not sure, I was just fixing the installer to work with GLOBALS since it wont work with GLOBALS it has to be a normal $wg for it to work. So i fixed it in that patch. [11:12:36] paladox: but you pick only $GLOBALS['wgHooks']['LoadExtensionSchemaUpdates'] 165 ); [11:12:52] and not the rest [11:13:00] babel fails because they hook the parser I think [11:14:08] saper: Yes because everything else works. And yes i think babel fails i am not sure how to fix that, it is broken even before this patch [11:22:07] well that does not solve the globals problem [11:22:18] you try to fixit in the wrong place, probably [11:33:54] Hello guys! I working on a company that use Microsoft SharePoint and we are really in need of a wiki so their suggestion is that we should use SharePoint wiki for that. I have done some research on my own and ended up in that mediawiki is one of the best choices to use if you want a wiki. My question for you if you have some kind of comparison between mediawiki and SharePoint wiki? If not how do I convince them go for the media w [11:43:39] gillzon, https://en.wikipedia.org/wiki/Comparison_of_wiki_software [11:44:27] gillzon: if there are specific workflow/functionality needs feel free to ask about them :) [11:51:08] I think that not convincing enough its only compares the functionality which don’t explain why we should go for mediawiki because its seems that mediawiki have exact same functionality as SharePoint. What I looking for is a more detailed explanation why we should choose mediawiki? For example if mediawiki can handle more pages than SharePoint etc. [12:40:20] saper: Ok what should i do to fix the problem. [15:26:40] saper: Could you re review https://gerrit.wikimedia.org/r/#/c/227238/ please since i followed the feedback from legoktm. And made changes. I also wrote a comment in the patch asking should this be here. Please read the comment. [15:54:00] saper: It seems that the parser problem is fixed if you use extension regestration eg extension.json. [17:55:13] Hello mediawiki folks. Does anyone know where the rules for usernames live in the MW codebase (or if they're not there at all but someplace else). I'd like to be able to add some client side validation to WP's signup page. [18:02:21] Protonk: User::isValidUserName() [18:03:41] ty, MatmaRex [18:03:50] Protonk: usernames must also be valid page titles, code for checking that is in MediaWikiTitleCodec::splitTitleString(), apparently [18:04:58] I can go look, but do you know if similarity checks are handled elsewhere? [18:05:14] similarity? [18:05:19] oh, usernames similar to existing ones? [18:05:22] correct [18:05:59] i think that's only implemented by some extension… [18:06:09] !e AntiSpoof [18:06:09] https://www.mediawiki.org/wiki/Extension:AntiSpoof [18:06:16] yeah, that one [18:06:26] https://www.mediawiki.org/wiki/Extension:AntiSpoof [18:06:29] oh ahaha [18:06:32] ok cool [18:06:35] Protonk: tbh, i think you're going to have a bad time trying to replicate all this logic [18:06:46] Protonk: there's an API you can use to check username validity [18:06:56] What I'm hoping to do is put a call into it when the username field loses focus [18:07:03] then return yes/no [18:07:14] and color/warn accordingly [18:09:06] Protonk: MW has something like that on Special:UserLogin/signup, the code is in /resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js [18:09:39] for example, https://en.wikipedia.org/w/api.php?action=query&list=users&format=json&ususers=%3Cfoo%3E / https://en.wikipedia.org/wiki/Special:ApiSandbox#action=query&list=users&format=json&ususers=%3Cfoo%3E [18:09:48] That's weird, since I didn't get any warning before hitting "sign up" when I was testing 'bad' usernames [18:09:53] but this apparently doesn't include antispoof checks [18:10:42] also doesn't include the valid pagename checks, probably [18:11:01] since the names I put in that would be invalid pagenames just had the invalid characters silently stripped [18:11:31] If I want to set a skin configuration flag through an extension, which hook should I attach to? [18:11:33] I'll poke around and take a look. Thanks for the pointer. Finding the entry points for this stuff is the hardest part for me, since there's so many different codebases ineracting [18:11:39] https://en.wikipedia.org/wiki/Special:ApiSandbox#action=antispoof&format=json&username=Matma%20rex [18:11:48] this seems to be a way to do antispoof checks [18:13:14] Protonk: the best way to find API modules for things is to look at https://en.wikipedia.org/w/api.php?action=help&recursivesubmodules=1 [18:13:22] which displays a massive list of everything you can do [18:13:44] MatmaRex: o_0 [18:13:49] ok that's sweet [18:13:53] (or the same api.php URL on your own wiki) [18:25:13] Ohai Protonk! Good to e-see you again [18:25:41] hey marktraceur! [18:29:14] marktraceur: how are things? [18:29:42] Protonk: Oh, you know, trudging along, making cool stuff [18:29:43] You? [18:30:22] also trudging along. Doing cool stuff. Not making enough cool stuff. Hoping to fix that in a minor sense w/ all the above questions [18:42:20] Sorry for the repeat question, if I want to set a skin configuration flag through an extension, which hook should I attach to? [18:47:29] Randomage: you'll probably want to use $wgExtensionFunctions (not a hook, actually) [18:47:32] !wg ExtensionFunctions [18:47:33] https://www.mediawiki.org/wiki/Manual:%24wgExtensionFunctions [18:50:11] hmm, that seems like a 1.24 approach tho. [18:51:04] how so? [18:51:58] Where would I put that? LocalSettings? [18:53:15] i think the better question is... what kind u mean with 'skin configuration flag' [18:56:31] VectorUseSimpleSearch, VectorResponsive, etc... [19:01:58] and you want to change that from an extension ? [19:02:45] override continiously, or actually change and persist or something ? [19:25:39] just override what might (or might not) be set in LocalSettings.php [19:41:45] hello :-) I just downloaded/installed the latest version of SyntaxHighlight_GeSHi and am getting this error: Fatal error: Cannot redeclare class GeSHi in /var/www/html/w/extensions/SyntaxHighlight_GeSHi/geshi/geshi.php on line 259 [19:42:15] mw version 1.25 [19:42:49] paladox: that's not a fix for those (99% of them still using PHP) [19:48:13] jspin: looks like you're loading the extension twice? [19:50:31] saper: It works for me. Just that parser will still break it if you use mediawiki <1.24 [19:51:14] saper: I tryed using the web updater with the patch applied using GLOBALS and works then i tryed it without the patch and didn't work. [19:53:18] matmarex: it's only in LocalSettings once, but maybe 1 of the other extensions is also require'ing it?