[01:25:46] I've been getting this error on all pages as well as the update script after upgrading to 1.25.1 "PHP Warning: array_merge_recursive(): Argument #1 is not an array in w/includes/registration/ExtensionProcessor.php on line 294" [01:48:40] hey guys, i have a question on custom namespace to ask [01:48:59] right now , i have created a group "request" where users can create and edit page [01:49:16] i mean i want to allow the creation and editing of page permission to users who are in the request group [01:49:22] this is my code in localsetting file [01:49:23] https://dpaste.de/J8t9 [01:49:45] however, when i tried to create a page starting with Request:ABC, it tells me permission denied. why is that so? [01:49:46] thanks all [02:00:06] four: well, you say users need "editrequest" to edit Request namespace [02:00:15] urms.. [02:00:15] but you give them "Request" rather than "editrequest" [02:00:22] so i made a mistake? [02:00:34] so i should create page that starts with [02:00:37] editrequest:abc? [02:00:46] In line 6 [02:00:55] you say users need the "editrequest" permission [02:01:02] But in lines 14-15 [02:01:07] you give the users the "Request" permission [02:01:11] rather than the editrequest permission [02:01:23] hmmm [02:01:31] so i can change line6 to Request instead too right? [02:01:51] four: i guess, but it might be confusing [02:01:55] because it is the same name as the namespace [02:02:27] oh [02:03:36] so should i change line 17-18 to "editrequest" too ? :o [02:03:46] i guess, try it [02:03:48] see what happens [02:04:43] negative :/ [02:05:00] tried creating pages with editrequest:abc / request:abc [02:05:07] but gives me You do not have permission to create pages, for the following reasons: The action you have requested is limited to users in one of the groups: Editor, editrequest. You do not have permission to create new pages. [02:05:34] $wgGroupPermissions['user']['edit'] = false; $wgGroupPermissions['user']['createpage'] = false; [02:05:34] i have these 2 permissions set too. dunno if it matters [02:07:32] four: did you take a look at https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection ? [02:08:01] oh not this but others :) [02:08:06] thanks, will have a look :) [02:08:18] no problem [02:18:05] I wonder what happens when someone chsh into something that is not a shell [02:18:09] like tar or emacs [02:21:35] I know some people like to launch emacs immediately after logging in with a script [02:21:48] but what if emacs _was_ the login shell? i guess bad things would happen [02:24:15] well not necessarily. some people on stackexchange got it to work [02:41:07] four: any progress? [02:41:58] still permission denied ... [02:43:50] four: well, is your test account in the right group? [02:45:03] i checked special:usergroup [02:45:13] Member of: Bureaucrats and Administrators [02:46:43] four: well, did you give sysops the right permissions? [02:46:54] try adding your test user to the request group [02:47:15] (pretty sure sysops and crats don't get all permissions by default, so you will have to give them the permissions) [02:49:26] i just added request group to my account [02:49:32] it can create pages.. but not really what i want [02:49:53] is it possible to create pages that start with Request:abc only? [02:49:58] instead of abc ,123 etc? [02:50:14] four: you mean only able to create Request namespace pages? [02:50:38] yup, thats what i want to do...... i think [02:50:55] because i am trying to do this function [02:50:58] well, try making a new test user [02:51:04] implement a “make a request” function whereby user can request for a non-existing article. and the request will appear somewhere on the homepage for ppl to contribute their input [02:51:04] that is part of the request group [02:51:14] ok.. [02:51:17] but remove the permissions [02:51:26] for editing on other namespaces [02:52:38] meaning like this? [02:52:44] $wgGroupPermissions['Requests']['createpage'] = true; ? [02:53:38] four: I think that when you set a permission for editing a namspace, that includes creating pages in that namespace [02:54:09] if you want to prevent them from editing default namespace, see https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection#Restricting_editing_of_the_main_namespace [02:54:22] and make sure the requester group doesn't get that permission [02:56:33] currently, i have a test account who is only in the "Request" Group [03:03:03] and the code in localsetting file is currently this (https://dpaste.de/HJTD) [03:06:25] and it doesn't work? [03:06:59] four: you say that NS_REQUEST is 508 at the top [03:07:12] but in $wgExtraNamespaces you say it is 100 [03:07:19] and same for REQUEST_TALK [03:07:21] wth [03:07:27] copy and paste :p [03:07:41] do i need to add these 2 ? [03:07:42] $wgGroupPermissions['Requests']['edit'] = true; $wgGroupPermissions['Requests']['createpage'] = true; [03:08:19] four: idk, try fixing the ExtraNamespaces and tr again? [03:09:03] yup, i changed to 508,509 already [03:09:25] it gives me permission error when i tried to create a new page [03:15:30] four: which user groups does it say are authorized to create? [03:16:35] four: give Requests group createpage but not edit, see what happens :P [03:19:16] if i add both $wgGroupPermissions['Requests']['edit'] = true; $wgGroupPermissions['Requests']['createpage'] = true; [03:19:19] then can create page [03:19:48] but still it can random article instead of only Requests:(title) :O [03:21:11] four: try this: $wgNamespaceProtection[NS_MAIN] = array( 'main-edit' ); [03:21:24] and don't give it to requesters [03:24:38] add it in ? [03:24:47] to my localsettings? [03:25:45] yea [03:25:59] don't give requesters the 'main-edit' permission [03:26:04] OMG IT WORKS [03:26:12] i tried creating abc it denies [03:26:12] lol [03:26:19] i requests Requests:ABC then it works [03:26:21] came from https://www.mediawiki.org/wiki/Manual:$wgNamespaceProtection#Restricting_editing_of_the_main_namespace [03:26:23] omg thanks so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [03:26:25] no problem [03:26:49] how should I thank you!!!!!!!!!!! Really really appreciated your help!!! [03:27:34] :) [03:27:43] good luck with your project [03:28:16] thanks =D [03:38:51] four: remember to give the main-edit permission to groups that you want to be able to edit the main namespace [03:39:04] ya i am encountering issues of that now :p [03:39:15] And you might have to do the same thing with other namespaces you don't want requesters to edit [03:39:28] Anyways I gotta go to bed, have fun :P [03:39:45] thanks so much for your help!!! [10:28:43] spam, spam, spam and spam! [10:29:15] are there any working anti-spam solutions for small mediawikis? [10:30:31] situation: mw 1.19.3, anon edits disabled, questycaptcha with dynamic custom questions for account creation and external links - it took only about a month for spammers to add the custom captcha to their bots [10:34:14] is https://www.mediawiki.org/wiki/Extension:SpamBlacklist actually worthwhile? i¨'is it possible to disallow external links completely or limit them to a usergroup? that might solve the issue simply enoughlooks like the game of cat and mouse continues for a while [10:39:11] Actually, what's the correct way to instantiate/obtain/invoke a parser object in a unit test? Figured out a way to do it last week, but it's messy, and I run into issues with mStripState [10:39:17] thre's got to be a simple way, right? [10:49:53] Hi all [10:50:42] I’m making a wiki-site for my company. Do any of you know under which license, you would normally upload it? [10:51:08] whoops - brain fart. Under which license you would normally upload the company logo? [10:54:59] JohnR^^, do you refer to setting up a local web site that runs MediaWiki software? [10:55:20] (trying to understand what "wiki-site" means) [10:56:24] andre__: ohhh, heh. No I am making a page for the company i work for on wikipedia.com [10:57:25] JohnR^^: try asking in #wikipedia-en-help [10:57:56] JohnR^^, that's a better question for #wikipedia or such (and it's .org) [10:58:01] MC8: yeah, I tried them. But no-one seems to be active on that channel atm [10:58:30] andre__: right… I tried them aswell, without success :/ [10:58:58] but ok - wrong channel, sry [10:59:48] (and I guess that Wikipedia:Neutral point of view and Wikipedia:Notability have been read) [11:00:19] Hmm, https://commons.wikimedia.org/wiki/Commons:Village_pump might be a place to ask [11:00:23] anyway, offtopic here :) [11:02:53] andre__: ok, thank you :) [11:48:12] Hello. I tried submitting a patch, bit it doesn't seem to work (submitting, not the patch) can someone help me? [11:50:55] Drizt: can you post your commands and the output to http://dpaste.de ? [11:51:47] I just run `git push origin master` and I when I tried my username and password they didn't work. [11:52:20] Drizt: can you please please paste the command and the output? [11:52:33] "doesn't work" doesn't cut it [11:53:23] I get a authentication error. I tried retyping a few times. [11:53:55] I tried logging out from gerrit and reloggin, just to make sure I'm using the right usename and password [11:54:23] So change your host name and port, maybe. [11:54:46] And maybe import your SSH key. [11:56:16] Drizt: https://www.mediawiki.org/wiki/Gerrit/Tutorial [11:56:31] tell me which step are you on [11:57:21] I added the ssh public key to gerrit, and I managed to connect using ssh. [11:58:04] sorry, must go. [11:58:07] and what did you get after connecting via ssh? [15:09:30] hello, is there any desktop offline editor for mediawiki? i cannot find anyhting useful on the web.. [15:21:36] dape, plenty... what are you trying to achieve? [15:36:34] kim_bruning, well, believe it or not i kindof ignored the wiki phenomen these years but lately i have to edit some tutorials in a internal company mediawiki installation (kindof old) and i find that editor horrible (i suspect it does not parse nor format correctly what i type there) and so i thought maybe a markdown offline editor ? [15:37:09] and then i paste the file inside that ckeditor on the website? [15:37:27] dape: MediaWiki does not use Markdown. [15:37:40] dape: We use our own markup language called Wikitext, which is different. [15:38:10] dape: https://en.wikipedia.org/wiki/WP:CHEATSHEET is a good place to start learning about it [15:39:06] dape: If you want to edit Wikitext offline, you can use ItsAllText, which is a browser addon, or you can use one of the many wiki<-->git scripts that will let you get all the files you want locally, edit them in whatever editor you want, and upload them again. [15:43:00] dape, if you would like wysiwyg editing, you CAN get a wysiwwyg editor for mediawiki (not ck) [15:43:09] though tricky to install [15:43:59] !ve [15:43:59] VisualEditor is a project to create a simple editor for MediaWiki that would make it far simpler for people to contribute to Wikimedia projects. See also https://www.mediawiki.org/wiki/VisualEditor and #mediawiki-visualeditor channel. [15:45:05] VisualEditor cured my cancer [15:45:29] Parsoid and I aren't talking though [15:46:44] thanks for the hints but itsalltext it sucks and i do not have administrative access to the mediawiki server [15:48:06] dape: I'm trying to think of a way you could vaporize any inclination people have to help than to tell them the documentation they wrote to help you sucks and you don't have permissions to install it anyway [15:50:59] dape: what's the issue with itsalltext? [15:52:50] kim_bruning, i might aswell copy paste the source from the ckeditor, edit it in some editor and upload it back. i was looking for a more visual editor, more friendly [15:54:04] i guess i should learn the markup and get over it [15:54:30] that's one solution [15:54:37] or use confluence. (though that's expensive!) [15:55:51] to tell you the truth i tried editing online but that ckeditor seemed crooked, it broke my toc, the headings, was pretty weird, perhaps its outdated or buggy [15:56:24] ckeditor no longer supports mediawiki :-/ [15:56:42] Alright, I give up. I only want password reset e-mails to be sent by the webserver to users. No other e-mails for stuff like account creation should be sent. How might I accomplish this? [15:57:03] For the moment I've got the htaccess set to just not send any e-mail, but I'm getting REALLY sick of resetting people's passwords [15:57:19] htaccess, or localsettings? [15:57:34] htaccess [15:57:42] !? [15:57:43] The PHP closing tag "?>" is never required at the end of a pure-code php file, and mediawiki developers actively remove it, as it often causes problems related to trailing whitespace, and "headers already sent" errors. See also http://news.php.net/php.general/280796 and !bom as well as https://phabricator.wikimedia.org/T19642 [15:57:55] wut [15:58:13] I can't find documentation on where that stuff is because people use email message and email account as the word email [15:58:13] LocalSettings.php lets you set what mails get sent to some extent [15:58:48] yeah, but when I checked the documentation I found stuff for whether e-mail is turned on, or if people get notified about changes on watched pages [15:58:55] I think you can also provide default settings for user accounts so it doesn't send a lot of trash (unless people ask for it) [15:59:27] I don't doubt it, I just can't find the correct $wg vars to modify so apache stops trying to help but making a big mess instead [15:59:43] but winds up* [16:00:20] there shouldn't be anything in the .htaccess [16:00:34] (depending on circumstances, there might not even be one) [16:00:39] but at least nothing relating to mail [16:00:43] I know that [16:00:52] I just did it because I was lazy and it was the weekend and people were yelling [16:01:03] okay [16:01:04] I'm trying to resolve it in a smarter fashion this morning, I just can't find the documetation [16:01:29] I think if you specifically want to alter mediawiki's behaviour.... I dunno [16:01:40] it does send account creation emails to verify the email address [16:01:57] if you've got everything off, it should only send the creation email, and the password resets [16:02:02] Right, people don't make their own accounts, they get generated becasue reasons [16:02:08] okay [16:02:21] but you do want to set email ... [16:02:28] and I'd like to disable the account creation, e-mail verification, and e-mail verification code messages [16:02:33] that's getting very specific [16:02:34] but still allow people to reset their passwords [16:02:55] https://www.mediawiki.org/wiki/Manual:Preventing_access#Restrict_account_creation [16:02:58] will this go far? [16:03:15] Oh I've got site access where I want it [16:03:26] I just want to stop sending e-mails xD [16:03:29] well [16:03:31] certain e-mails [16:03:31] well either you do or you don't [16:03:53] if you restrict account creation to sysops, IIRC there's no mail sent either [16:04:01] ymmv [16:05:25] I thought so too, but one of the girls who does data entry sent me a screen cap where she'd created an account and it said "a confirmation code was sent to your e-mail address. it is not necessary to log in but is required for e-mail related features" [16:05:34] which is bad [16:05:50] I haven't the foggiest if it was actually sent or not, because apache e-mail is wizardry [16:11:37] well, use your own email address to check? [16:11:44] * kim_bruning scratches head [16:12:21] https://www.mediawiki.org/wiki/Manual:$wgEmailAuthentication [16:12:56] which , incidentally, seems to be exactly what you need? [16:13:09] or close enough that it can be tweaked I'm sure [16:14:27] kim_bruning: unfortunately the method I made for mass importing user accounts auto authenticates the associated e-mail address [16:14:51] I can't magically dig you out of your own holes ;-) [16:14:53] and asking data entry people to alter a process after a few months is like trying to tell a kitten that a computer mouse isn't a real mouse [16:15:09] I honestly wish I was the one digging myself into these holes, but my users do it to me :( [16:15:48] since I don't know your method, I can't help you further (yet) [16:16:07] though I figure you might be able to puzzle something out with the information you have now already :-) [16:16:18] yep! I'm going in and altering the core [16:16:24] um [16:16:33] I'm a madman! [16:16:33] those are famous last words. [16:16:52] eh, I've done it before. the amount of people who crawl out the woodwork and go nooooooooooo is amazing though [16:16:55] Alas poor Ulfr, we knew you not [16:17:02] There's a reason for that [16:17:08] make sure to document every change you make [16:17:16] at some point in time, you'll have to *gasp* do an updat [16:17:17] e [16:17:29] and then your changes will come and bite you ;-) [16:18:05] yeah, I know [16:18:37] that's why as a rule I fix whatever my users were complaining about by futzing with code, tell marktraceur about it so he can judge me a little, and then when I have time do it in an evergreen fashion [16:18:40] ok, you know what you're doing [16:18:47] well [16:18:47] no [16:18:52] but I can fake it like you read about [16:19:20] I mean, you're a responsible adult, willing to shoulder the consequences of your decisions [16:19:23] does that help? ;-) [16:19:35] * marktraceur is a pro at judging Ulfr [16:20:00] I remember this one time I linked some jquery I wrote, that was the first time marktraceur judged me :( [16:20:04] * kim_bruning is an amateur at judging Ulfr ... yet [16:20:07] I declared my arrays wrong [16:20:10] and he was all like [16:20:11] noob [16:20:20] * kim_bruning is learning here [16:20:32] so I'm supposed to go: [16:20:38] "Ulfr: Noob" [16:20:48] and now I'm an expert at judging Ulfrs? ;-) [16:20:55] or is there more to it? [16:21:03] * kim_bruning defers to sensei marktraceur [16:21:14] honestly just wait [16:21:17] Ulfr: In your defense I spend like twenty hours a day looking at jquery code and going "GOD DAMN IT THIS IS TERRIBLE" [16:21:22] So you're in good company :) [16:21:26] xD [16:21:41] everyone hates code they didn't write [16:21:49] And you might say "gosh, get some sleep Mark" but no, I see it in my nightmares [16:22:34] been there, done that [16:22:39] marktraceur, I see you use the WTFs/min code metric? http://commadot.com/wp-content/uploads/2009/02/wtf.png [16:23:33] kim_bruning: I have to recalibrate it depending on what extension I'm working in [16:24:00] and how many plebians snuck in while he wasn't looking [16:24:25] oh, man. I forgot I did that. [16:24:43] * Ulfr passed in a 1,000 line C++ program in for a final on one unbroken line [16:24:51] Hahaha [16:25:19] Ulfr: Pretend you were relying on undefined behaviour in your compiler to optimize the code or something. :) [16:25:28] marktraceur: oh, no. prof was just a dick [16:25:40] he'd take 10 points off if you used the wrong comment char [16:26:15] like, if you used // instead of /* */ [16:26:16] bam [16:26:18] A becomes B [16:28:12] Ouch. [16:30:03] yeah [16:30:11] MediaWiki:Confirmemail_body [16:30:15] That e-mail needs to stahp [16:30:30] * Ulfr begins the googling [16:34:01] oh for the love of [16:34:05] * Ulfr flips several tables [16:34:33] user neglected to mention that this only happened when she used the built in interface for MW [16:34:43] not the jquery page I wrote to do it which skips that step [16:34:51] or the import extension I wrote [16:34:54] that also skips that step [16:35:04] * Ulfr ponders if it's too early to start drinking [16:35:22] you can block the mw built-in page in htaccess? [16:35:38] * kim_bruning reminds you of variant 1000 of murphy's law [16:35:46] "Anything the user can do wrong, they will" [16:36:28] ulfr, never to early to drink :-) [16:38:26] * kim_bruning tries reasking my question from this morning ... [16:38:29] Actually, what's the correct way to instantiate/obtain/invoke a parser object in a unit test? Figured out a way to do it last week, but it's messy, and I run into issues with mStripState [16:38:29] thre's got to be a simple way, right? [16:44:16] anyone know why Im gettinga suppressWarnings error message while trying to run update.php [16:46:31] Betacommand: wfSuppressWarnigns was moved to a separate component and namespaces, it's now MediaWiki\suppressWarnings [16:46:38] running composer update should fix it [16:47:51] DanielK_WMDE_: Ah, new step in the update process [16:48:27] Betacommand: sine 1.25 i think [16:48:37] but only if you installked from git. [16:54:44] kim_bruning: that's an intense question >> [16:56:26] kim_bruning: $parser = new Parser(); $parser->startExternalParse(...); [16:56:32] that's it, should work fine then [16:56:42] oh, I did one of those once [16:56:47] Ulfr: or do you know of any issues with instantiating a parser that way? [16:57:14] DanielK_WMDE_: Uhhh it wasn't precisely easy to understand but once i got my brain around it I was fine [16:58:27] More than one brave coder has lost their mind trying top understand Parser [16:59:22] well, to be fair, it makes PERFECT sense once it's through the API [16:59:34] but trying without the api between me and it [17:01:48] kim_bruning: I found the code I wrote using a parser object [17:02:01] I have no idea what unit testing is but I can send an example :D [17:04:19] Oh sure, can you pastebin it or so? :) [17:04:58] DanielK_WMDE_, hmm, I thought that's what I had, but I'll check again ^^;; [17:05:26] kim_bruning: http://pastebin.com/VdAxZKGC [17:05:32] Parser is not exactly great code. I reimplemented part of it in python [17:05:38] the preprocessor looked ok-ish [17:05:42] ... [17:05:44] you crazy [17:05:46] the parser itself not so much [17:06:17] hum, that looks sane enough [17:06:25] You'd think so [17:06:53] but getting from realizing I need to parse something in PHP without calling the API to getting that call was quite the rabbit hole [17:07:08] ah, the code I had is using $wgParser ... [17:07:30] eww globals [17:07:36] kim_bruning: long time no see :) [17:07:41] you have the right attitude sir ;-) [17:07:45] and hi saper! [17:08:30] I only vaguely understand why they're bad, but other than ribbing demon about it I just go with the flow [17:08:40] since the flow cares zero about my laziness [17:08:46] and hates globals [17:22:54] oh for the love of [17:23:05] do y'all have a job listing page? I need a new one [17:23:19] my bosses son just 404'd all of my frontends [17:26:42] because apparently when you need disk space [17:26:45] rm -r /etc [17:26:47] is teh way to go [17:31:31] hello there [17:33:58] i've updated mediawiki but it now throws this: MediaWiki\suppressWarnings(); [17:34:06] in includes/Setup.php [17:34:08] any ideas? [17:36:25] Axelei: can you copy paste the whole error into a pastebin? [17:36:38] it's just a line, but sure [17:36:45] paraphrasing errors doesn't really get the message across xD [17:37:31] http://pastebin.com/CPT9222H [17:37:50] yea, i didn't express myself very well, sorry [17:38:47] uhhh [17:38:56] there's something very wrong with your install I think [17:39:03] either permissions or paths are off xD [17:39:29] Axelei: run composer update [17:39:52] i ran php update.php [17:40:04] what else should i run? [17:40:05] That's something else. [17:40:09] composer update [17:40:12] ^ is smarter than me [17:40:14] composer is a thing [17:44:55] my browser got ated by the recursion monster :( [17:45:23] use an irc client? [17:45:56] uh.,.. how do i do that composer update? [17:47:24] just like how you did php update.php? ;) [17:48:33] php update.php throws the same [17:48:41] Glaisher: the IT people here are a little... paranoid [17:48:59] easier to just use freenode and not be an idiot w/ recursion [17:49:10] Axelei: What do you get when you run composer update? [17:49:28] i wish i know a) what a composer update is b) how do I run a composer update [17:49:33] i knew* [17:50:05] Axelei: do you have command line access to the MW directory [17:50:05] Do you have access to command line? [17:50:15] yes, i've got SSH access [17:50:24] php composer.phar update [17:50:55] run that in the mediawiki directory [17:51:47] ah ok [17:52:45] hmm i've got composer.json, but no composer.phar [17:52:55] Ok, I figured out what was going wrong with the parser test I was doing. The function I'm testing is actually returning armored html (which is to say it returns only a strip token :-p) [17:52:57] %-) [17:53:12] which is exactly what it's supposed to do according to the documentation [17:53:20] kim_bruning: you read gud [17:54:35] Axelei: https://getcomposer.org/download/ [17:54:56] I can think of one time where I was stuck in an encode loop and couldn't remember which way it needed to go thru so many times [17:54:58] ah, is the new composer mandatory? [17:55:08] can't just I go with the classic mediawiki? [17:56:01] well i'll give it a try anyway [17:56:05] it's kinda handy [17:56:52] Axelei: or you could clone mediawiki/vendor repo [18:01:30] i guess i better try that [18:05:24] composer doesn't bite :-) [18:05:53] yeah it does [18:06:00] installs stuff without me noticing and junk [18:07:54] ok, it nibbles a bit [18:09:38] :D [18:15:53] !composer [18:15:53] Composer is a dependency manager for PHP. MediaWiki uses it to include certain external libraries. See https://www.mediawiki.org/wiki/Composer for more details. For information on how to install MediaWiki dependencies with composer see https://www.mediawiki.org/wiki/Download_from_Git#Fetch_external_libraries [18:16:15] ^ the second link is probably what you're looking for [18:18:25] i updated the vendor directory with git and it worked [18:18:27] kinda [18:18:55] but maybe it's because i'm using the bleeding edge on the git [18:20:39] also i've noticed with last php versions apc is emulated [18:20:47] not just on (in phpinfo) [18:36:14] Anyone familiar with the Flow extension? It's holding some discussion pages hostage on me [18:36:15] a la http://www.wikidoc.org/index.php/Talk:Main_Page [18:40:20] Vulpix! Just the pokemon I was looking for [18:40:28] I have a hostage situation [18:40:52] hi [18:41:03] http://www.wikidoc.org/index.php/Talk:Main_Page Flow wants ransom:( [18:44:00] I don't have experience in installing flow, sorry :( [18:54:32] Ulfr: hi! [18:54:33] I allegedly know about Flow [18:54:45] Ulfr: did you uninstall it? [18:54:54] legoktm: good move :) [18:55:11] :P [19:06:12] legoktm: Huh? Uninstall what [19:06:33] I want flow to work! ;; [19:06:39] Ulfr: Flow. The error message of "No handler for model 'flow-board' registered in $wgContentHandlers" is usually seen when people uninstall Flow [19:07:13] nah, flow's running and you can see it on special:version [19:07:50] hmm [19:08:06] Ulfr: can you use eval.php and var_dump($wgContentHandlers) ? [19:08:25] Ulfr: I do not see Flow on http://www.wikidoc.org/index.php/Special:Version [19:08:50] * legoktm will bbl, lunch time [19:08:53] that talk page is working at random F5... [19:09:08] maybe Ulfr is changing things at this moment? [19:09:19] legoktm: http://pastebin.com/2W9KPkNq [19:09:48] no, I just have several front end servers and they all got wiped earlier because someone decided to rm -r /etc [19:09:52] one sec [19:10:20] sometimes I see that page working, and somethimes I see "No such action - " [19:11:16] the same happens for Special:Version, sometimes Flow appears, sometimes doesn't [19:11:54] basically, some of your front-end servers have flow installed, while others don't? [19:13:07] Vulpix: yeah, one was missing it [19:13:09] if it was just that [19:13:11] I'ma be annoyed [19:15:41] Yep. It was the caching that threw me off [19:16:01] legoktm: is flow your baby? [19:43:31] I AM SO CONFUSED [19:43:49] if I bypass varnish, the flow page works. if I don't bypass varnish it has that stupid error [19:52:09] Ulfr: not my baby, but I'm somewhat responsible for it. So did a bad page get cached or something? [19:52:48] Ulfr: what version of Flow is this? we don't really support anything that isn't master atm :/ [19:53:48] legoktm: I'm honestly not looking for much support, just want a couple discussion pages like that one back. I installed maybe a month ago [19:55:15] it's just really freaking weird [19:55:23] I also have no idea how to clear my varnish cache apparently [19:57:39] ok, so deleting it fixed it [19:57:41] what the hell [19:57:44] my wiki is possessed [19:57:46] ..again [20:02:06] later all, thanks for the help :) [22:40:14] Guys, anyone can tell me how to find information about new ExtensionRegistry & extension.json things, especially about config variables and ExtensionRegistry->getAttribute ? [22:41:34] Vedmaka: hi, https://www.mediawiki.org/wiki/Extension_registration [22:43:09] checked it already but i have no idea how to property set these variables. I have extension.json with "FooOption" in "config" section. When i tried to fetch this options via ExtensionRegistry::getInstance()->getAttribute( 'FooOption' ) at extensions SpecialPage i receive empty array always, regardless of value in config or $wgFooOption in LocalSettings. [22:45:48] btw, from debug i see that ExtensionRegistry have no attributes loaded except "manifest_version" o_O [22:47:45] Vedmaka: "config" are set to globals, so it should be $wgFooOption [22:48:12] Vedmaka: and there's a non-released bug fix for manifest_version in 1.25.2 [22:49:32] i see, yep looks like attributes variable contains only extra keys from extension.json root level, but nothing from config [22:50:31] can you pastebin your extension.json? [22:51:13] sure: http://pastebin.com/5CZxAF0C [22:52:12] in ExtensionRegistry attributes i can see "wtf" and "manifest_version" only [22:53:04] it's not an attribute [22:53:36] it should be a global variable prefixed with "wg" [22:53:36] so, $wgSlackBotWebHookURL, $wgSlackBotTeam, etc. [22:58:36] yep, thanks for advice. Maybe you can clarify text at https://www.mediawiki.org/wiki/Extension_registration for me about accessing attribute ? if attributes should be specified outside "config" array, how other extensions can modify them? or i am misunderstanding something about attributes? [22:59:52] trying to get rid of globals, thought it was solution ;) [23:00:57] Vedmaka: attributes are for things other extensions are setting for extensions. config settings are for what people should be writing in LocalSettings.php [23:03:21] ah, i see, all attribute values across extension are merged into one array [23:03:30] *extensions [23:03:48] legoktm: thanks for clarify it for me ! [23:05:32] np :) [23:05:50] thank you for asking questions, because it helps me figure out where the documentation is lacking :) [23:14:02] ur welcome :)