[02:27:59] hooooooooolaaaaaaaaa alvaro molina [02:48:01] aaaaalllllllvaaaaaaaroooooo moooooooolllllllliiiiiiiiiinaaaaaaaaaa [02:56:18] Alllllvaaaaroooo moooolllllliiiiiinaaaaa [02:57:59] Alllllvaaaaroooo moooolllllliiiiiinaaaaa [02:58:29] !ops [02:58:39] Too late [02:58:52] I don't think I even have ops here. [02:59:00] Nope. [02:59:12] Thanks chanserv [02:59:19] :3 [02:59:45] if we could just channel the energy into writing patches... [03:00:01] Heh : [03:00:03] * :) [03:29:09] Alllllvaaaaroooo moooolllllliiiiiinaaaaa [05:48:16] alllllllvaaaaaaarooooo moooooliiiiiinaaaaaaa [06:00:48] alllllllvaaaaaaarooooo moooooliiiiiinaaaaaaa [06:24:01] lol http://xkcd.com/1742/ [06:24:31] legoktm can use this in the Debian webpages for the MediaWiki package ;) [07:58:44] L [08:03:04] JJSJS [12:02:52] Does Echo extension work with mediawiki 1.27.1? When I insert require_once "$IP/extensions/Echo/Echo.php"; into LocalSettings.php the wiki stops working [12:04:13] I would like notifications for wiki contributions... is echo the correct extension to install? [12:05:38] yes it is. [12:05:47] Erik___, what does "stops working" mean exactly? [12:05:56] see https://www.mediawiki.org/wiki/How_to_debug for more info [12:06:45] I can not acess the web updater via mv-config... it turns to Mv-config and says the page do not exist.. [12:08:05] (I don't know how to get to "mw-config" I'm afraid) [12:08:39] http://www.gsjournalist.se/Mv-config/ [12:09:18] http://www.gsjournalist.se/Mv-config/ says "Login required" here. [12:09:47] I guess it is only admin access... [12:10:24] Are there any consultants who deal with wikiproblems for payment? [12:10:51] yes, https://www.mediawiki.org/wiki/Professional_development_and_consulting [12:11:17] I'd still like to understand which steps you performed and what you clicked exactly [12:11:32] for example, which "page does not exist" exactly? [12:13:11] OK... I´m total novice... I uploaded the echo folder to extensions folder, pasted the code into LocalSettings.php according to instructions, but then I can not run the update.php... I don´t know "command line" but tried from web browser with no success. [12:13:47] No, it's not designed for web access [12:13:54] Do you have shell access [12:14:58] Don´t know what shell access is.. I believe I have all access possible. [12:16:57] So I can´t enable echo without shell? [12:18:12] It's the same for a lot of extensions [12:18:22] You can re-run the installer, but it's not as reliable usually [12:19:53] shell is ssh/bash access and in case you're on Windows, that would be cmd access to the server and maintenance tools ran via php-cli [13:23:25] Is there a way to do multiple condition ifeq statements without nesting? [13:23:44] or ifexpr [13:26:40] #ifexpr: {{{a}}} = "A" AND {{{b}}} <> "C" | true | false [13:33:18] Use lua? [13:38:47] Not available on the wiki I'm working on Reedy. [13:40:30] I currently have {{ #ifexpr: {{{a}}} = "A" | {{ #ifexpr: {{{b}}} <> "C" | true | false }} | false }} but it seems expensive and redundant. :\ [13:50:56] ShoeMaker: AND and OR are supported, so yes what you have (or similar) should work [14:26:18] I see G_SabinoMullane - except ifexpr only works with numbers, not strings. [14:28:12] {{#ifeq:{{PROTECTIONLEVEL:edit}}|autoconfirmed|{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop||CHANGE PROTECTION}}|CHANGE PROTECTION}} I think is the best I can do. :\ [14:30:21] Now, I need to figure out how to create page protection links that auto-select the correct values... Which doesn't seem currently possible. https://www.mediawiki.org/wiki/Manual:Parameters_to_index.php#cite_note-protect-5 references that I should be able to use mwProtect-level-edit and mwProtect-level-move but they don't work. [14:31:19] ShoeMaker: Yeah, you are right. If it makes you feel better, I've written some horribly nested expressions far worse than that, and they seem very snappy. [14:32:08] Reedy: are there any plans to make templates available across wikis? [14:32:19] In what sense? [14:32:21] IT's been talked about [14:32:29] But it's a big architecture project [14:32:53] Kind of like global user pages? [14:34:53] Does anyone have the URL to index.php source on git so I can take a look at it? [14:35:04] MW 1.23 preferred [14:35:58] oh... https://doc.wikimedia.org/mediawiki-core/master/php/index_8php_source.html seems to show that none of the index.php code is actually in index.php... [14:37:22] ShoeMaker: https://github.com/wikimedia/mediawiki/blob/REL1_23/index.php [14:39:16] I'm guessing if there are any parameters for protect in index.php I'll find them on https://github.com/wikimedia/mediawiki/blob/REL1_23/includes/actions/ProtectAction.php but am probably way off. :\ [14:47:50] Ahh... So... https://github.com/wikimedia/mediawiki/blob/REL1_23/includes/ProtectionForm.php looking for parameter names in getBool(); [19:18:35] Can anyone tell me how to appease confirmaccount? any time someone tries to approve it throws this: /ConfirmAccount/business/ConfirmAccountPreAuthenticationProvider.php: Call to undefined method MediaWiki\MediaWikiServices::getDBLoadBalancerFactory() [19:30:54] because that seems non-sensical, as the database works fine and the extension is up to date :( [19:47:53] No one is able to shed light on why use \MediaWiki\MediaWikiServices; would be non-functional in an extension I copied straight from the website? [19:51:31] Ulfr: which version of MW, and which version of the extension? [19:52:17] I think it may be like MediaWikiServices::getInstance()->getDBLoadBalancerFactory(); now [19:57:09] Vulpix: ConfirmAccount for MW 1.27 and MW 1.27.1 [19:58:02] paladox: That's all well and good, but Reedy and Vulpix and others have finally managed to convince me that going in and updating the code myself is sort of a bad idea xD [19:58:21] Oh yep [19:58:31] Ulfr would you be able to try [19:58:39] just for a test and then revert please? [19:58:48] I'm attempting to write a special page extension but I get a "Class 'SpecialGitAccess' not found in SpecialPageFactory.php" error. I posted on the support desk too: https://www.mediawiki.org/wiki/Topic:Tct8hifrs9cd7ny3 [19:58:49] Since it will help us if we need to make a patch or not? [19:59:15] MTres19 hi did you autoload the SpecialGitAccess file? [19:59:37] Would you be able to upload it to github, for us to take a quick look, too see if there are any errors? [20:00:05] Yep. I linked to SpecialGitAccess.php in extension.json. (The code's here: https://github.com/MTres19/mw-extension-git) [20:00:20] paladox: noooo, I've only got the production environment and it took me waaay too long to upgrade to where I'm at [20:00:31] oh [20:00:46] yes, the ConfirmAccount extension is indeed broken for 1.27 [20:01:41] since nobody seems to have done so, I'll go and report it on phabricator [20:01:55] Vulpix: I know I've said this before, but you're my favorite pokeman [20:01:59] Vulpix working on mw 1.28 [20:02:56] heh :) [20:03:11] Unless it broke in the last few weeks [20:04:23] let me upload a patch for you [20:04:30] to test [20:05:05] paladox: Okay, thanks. I thought the alias was optional, just for l10n. [20:05:09] Nope [20:05:15] its needed for special pages [20:05:19] i18n is optional though [20:05:36] Well thanks for letting me know this one time it's not me that broke it! When should I check on a fix for this particular issue? [20:05:48] like, tomorrow? or is this a don't call us we'll call you type thing [20:06:00] Ulfr you can follow phabricator [20:06:05] by subscribing to the task [20:06:11] when it's been created [20:06:23] You will then get emails when ever someone changes the task [20:07:26] Well, that's the greatest way to ensure I don't read anything about it xD Sooo many e-mails :( I just don't know if this is a update some of the out of date calls type issue or something that [20:07:32] will need actual attention [20:09:21] I'll check back later. Thanks again fellas/pokemon! [20:10:25] T147511 [20:10:25] T147511: ConfirmAccount broken in REL1_27: Call to undefined method MediaWiki\MediaWikiServices::getDBLoadBalancerFactory() - https://phabricator.wikimedia.org/T147511 [20:10:52] He doesn't appear to have a phab account... or at least not with that name [20:12:58] paladox: Thanks. [20:16:29] paladox: Let me upload it to the server and see if it works. [20:16:38] Ok, and your welcome [20:16:47] i hope that fixes your problem [20:16:48] :) [20:19:24] MTres19 hi this https://github.com/MTres19/mw-extension-git/pull/8 [20:19:25] :) [20:19:37] I already corrected that, but thanks. [20:19:46] Oh [20:19:48] ok [20:19:49] Just didn't push to GitHub. [20:19:49] thankjs [20:19:51] thanks [20:20:59] MTres19 does it work for you? [20:21:47] paladox: Unfortunately no... http://hcstechwiki.homenet.org/mw/index.php?title=Special:SpecialPages [20:22:19] paladox: Bad JSON, I guess. I ran into that problem too. I'll fix it. [20:22:25] Oh i now [20:22:28] kkow [20:22:29] know [20:23:14] https://github.com/MTres19/mw-extension-git/pull/9 [20:23:21] MTres19 ^^ [20:23:33] Yep. [20:26:27] paladox: I fixed the JSON but it still doesn't work... Same error as before. [20:30:20] Oh [20:31:19] I checked for typos but couldn't find any. It seems like MW isn't loading SpecialGitAccess.php. [20:31:24] Ah [20:31:27] I found the error [20:31:31] MTres19 ^^ [20:31:48] paladox: You did?! Great! [20:32:17] https://github.com/MTres19/mw-extension-git/pull/10 [20:32:24] MTres19 ^^ [20:32:53] Ah.... I see. Thank you! [20:33:05] Your welcome [20:35:28] http://hcstechwiki.homenet.org/mw/index.php?title=Special:GitAccess [20:35:31] works now [20:36:10] Yep. [20:43:05] VulPix yep deffitly there is no getDBLoadBalancerFactory in 1.27 [20:43:07] i check [20:43:48] sure, I provided links :) [20:44:17] Yep [21:03:22] Vulpix we will have to backport the fix from master branch to REL1_27 [21:03:36] https://gerrit.wikimedia.org/r/#/c/286314/ [21:10:24] feel free to do so, I was just reporting it since nobody else did :) [21:14:58] Ok [21:15:19] Vulpix https://gerrit.wikimedia.org/r/314420 :) [21:19:51] Does anyone know where a list of username restrictions can be found? (e.g. forbidden characters, no leading/trailing underscore, etc.) [21:21:31] paladox: a fix is add an autoloader in master of MediaWiki core? I don't see how does it fix the missing method, but I hope you know more :) [21:21:43] Vulpix [21:21:45] we backport [21:21:48] from master [21:21:52] it is a merge commit [21:21:54] so it wont show [21:22:08] it, but it should show two parent commits [21:22:14] which shows it is a merge commit [21:22:42] from core [21:23:17] Oh let me see if i can do it a different way [21:23:37] well, I had used to understand gerrit, but not anymore, so I'll just move on... [21:23:41] Ok [21:23:59] https://phabricator.wikimedia.org/rMWabe4feca0787de0e4187c3b557f5e3db48fcab7b [21:24:01] vulpix ^^ [21:24:08] that should be better understanding [21:24:38] yes, that's way better [21:25:27] Yep [21:25:31] gerrit is horrible for those merge commits [21:25:52] Yep [21:27:00] still, I don't know if such a big change will be merged into REL1_27 for fixing a single extension, is it the correct approach? [21:27:13] tgr recommended that [21:27:27] ok [21:28:44] I belive we could use this wfGetLBFactory on 1.27.1 [21:28:48] Vulpix ^^ [21:29:05] Since it shows as deprecated in the commit i linked too [21:33:13] https://gerrit.wikimedia.org/r/#/c/314425/ ? [21:33:48] looks more sane :) [21:35:21] Yep :)