[03:08:52] anyone parsoid and visualeditor working with subpages? I am probably missing something simple [03:12:44] Getting 404 only for subpages [03:19:20] holy crap i got it [03:19:31] it was a problem with apache configuration [03:19:42] i have to use ProxyPass / http://localhost:8142/ nocanon [03:19:47] nocanon [04:39:10] Hey [04:41:40] Is there a test wiki for centralauth? [04:44:47] Hi Abcdefgquestion. [04:44:57] Depends what you want to test, I guess. [04:45:04] test.wikipedia.org is hooked up to CentralAuth! [04:50:01] Oh, he's gone. I was also going to suggest https://en.wikipedia.beta.wmflabs.org/wiki/Main_Page for a testing version of the SUL system [07:50:17] Is there a way to write "{| class="mw-collapsible mw-collapsed wikitable"" without it becoming a 2 inch frame? I want it to keep the expanded size and use 1 line [08:04:30] |+ class="nowrap" | [11:48:25] Hey all, I am setting up mediawiki with semantic mediawiki and semantic forms. Is it possible to create a template for users' pages that include some of their profile variables? And to add properties to users? [12:04:50] SmokeyD: i don't think many semantic MW people talk here, you should try asking on their channel too [12:04:53] !semantic [12:04:53] Semantic MediaWiki is MediaWiki extension that lets you store and query data within the wiki's pages. It has a dedicated IRC channel at #semantic-mediawiki. [12:05:14] Ah, sorry MatmaRex [12:05:18] thanks [12:05:35] not much awaken dude there ): [12:05:47] in smw channel^ [14:55:39] Will there be extension updates for the announced security release? If so will they be named REL1_29.zip or REL1_29_2.zip? (I would like to update our scripts.) [14:56:05] There's no security updates for extensions [14:56:19] I'm not sure if there's been any changes in the extensions... other backports and stuff [14:56:28] And no, they won't be named like that [14:57:05] they'll be like mediawiki-1.29.2.tar.gz mediawiki-core-1.29.2.tar.gz mediawiki-1.29.2.patch.gz [15:04:41] So I just need to turn 1.29.1 into 1.29.2 in composer.json. Thanks Reedy! [15:04:49] Possibly... [15:04:54] You install MW via composer? Scary [15:05:22] why? [15:05:36] actually we install it with ansible. [15:06:18] together with mariadb, apache, parsoid and all the imports. [15:07:10] composer may be the most comfortable way to handle all the extension updates and post-install triggers. [15:08:43] the only problem is the MW update script because it fails when run twice. [15:09:02] shouldn't do... [15:10:36] I agree :) [15:10:59] What's it fail with? [15:11:06] I can run it many times in a row on my dev wiki and it's fine [15:16:42] i see a lot like "...objectcache table already exists." and the error code is not 0 [15:17:25] but as I said we have a lot of extension, I could check if the error comes from there. [15:17:48] it should be the last thing output [15:18:01] The stuff already existing should be fine, as it's just sanity checking many things to make sure things are right [15:29:47] So it might be one of our own extensions. [15:30:05] ;P [15:30:42] Need help fixing it? [15:43:51] not yet, need to gather all logs first, but thanks :) [21:53:32] looking to update to the latest version of 1.29 branch, and I deploy via the REL1_29 branch in git .. 1) will that branch be updated when the release for 1.29.2 comes out? 2) when will that be released? [21:54:51] A few hours from now [21:54:56] Yes, the branch will be updated [21:55:02] great, thanks so much Reedy! [21:55:11] I'm dealing with a few tooling issues [21:55:14] But things are underway :) [21:55:36] hope it goes well, and it doesnt take ya too long :) [21:59:38] Oh, and then we'll have to wait for CI for a while... :P [21:59:38] But yeah, afterwards a git pull && git submodule update --init --recursive [22:02:30] falsedades en wikipedia que no me permiten corregir acusandome de vandalismo por decir la verdad. solo corijo mentiras falsedades y se me acusa...en la pagian pueblo mapuche solo hay falsedades no se permite decir la verdad sobre este pueblo... que aun hoy ataca a los argentinos..quema propiedades usurpando con violencia territorio argentino...esto es publco en noticias y libros de historia "pueblo mapuche" [22:04:38] Rrenataa ? [22:04:59] este canal es sobre el software MediaWiki [22:05:15] zomg a Platonides [22:05:24] probablemente estés buscando #wikipedia-es [22:40:31] so, i've inherited this old mediawiki instance. i've upgraded it to 1.29 and i would now like to update the password hashes [22:41:06] `php maintenance/wrapOldPasswords.php --type pbkdf2-legacyA` laconically tells me "$wgAuth does not allow local passwords. Aborting." [22:41:19] Are you using ldap or something? [22:41:24] nope [22:41:41] at least i don't think so :) [22:41:51] $wgAuth implies that you're using some extension or other means of authenticating users against an external database [22:42:14] ok. would that be in LocalSettings.php or are there other places where it could hide? [22:42:15] check your LocalSettings.php for what extensions are enabled :) [22:42:26] or Special:Version [22:42:28] if your wiki is accessible [22:42:36] it has 235 lines... anything more specific? [22:42:45] Not easily [22:42:47] the wiki is running mostly fine [22:42:50] [[Special:Version]] then :) [22:42:53] It's possible you have something custom we don't know about [22:43:18] "auth" does not appear on Special:Version [22:43:27] it wouldn't necessarily say "auth" [22:43:33] what extensions do you have enabled there? [22:43:45] eval.php and var_dump( $wgAuth ) ? [22:43:51] https://metalab.at/wiki/Spezial:Version [22:44:07] Reedy: what's that? [22:44:12] !eval.php [22:44:12] There is no such key, you probably want to try: !eval, [22:44:15] !eval [22:44:15] To query MediaWiki objects and functions live, you can use maintenance/eval.php script https://www.mediawiki.org/wiki/Manual:Eval.php [22:44:24] ok so not an extension [22:44:43] see if $wgAuth appears in LocalSettings.php, and if not do what Reedy suggested (running the eval.php maintenance script) [22:45:16] public function execute() { [22:45:17] global $wgAuth; [22:45:17] if ( !$wgAuth->allowSetLocalPassword() ) { [22:46:03] this is the output of the eval thing: https://pastebin.com/xeAqa3Bn [22:46:36] looks a lot like my dev wiki [22:47:08] the only thing with auth in LocalSettings.php is wgEmailAuthentication [22:47:15] I think.. It's going to be a case of the maintenance script has been neglected [22:47:51] AuthManagerPlugin... [22:47:52] public function allowSetLocalPassword() { [22:47:52] // There should be a PrimaryAuthenticationProvider that does this, if necessary [22:47:52] return false; [22:47:53] } [22:47:55] anomie: tgr|away ^ [22:47:57] that was my suspicion [22:48:19] https://github.com/wikimedia/mediawiki/commits/master/maintenance/wrapOldPasswords.php [22:48:23] Yeah... It's not had any love in a while [22:48:29] I guess it needs authmanager updates [22:48:37] hop: Do you have an account on our bug tracker, phabricator? [22:48:55] after what i read about the history of password hashes in php... i really try to keep calm :] [22:49:10] What version of mediawiki are you upgrading from? [22:49:19] Reedy: no account, don't know what phabricator is [22:49:28] Let me file a task for you [22:49:48] Reedy: old, old version. i wanna say 1.22? [22:50:03] That's not seriously old... [22:50:09] but even that might have been somebody else taking an aborted stab at it [22:51:04] if i hack the maintenance script, is it worth it? or will auth then fail anyway? [22:51:08] hop, wanna submit a patch? [22:51:18] harr. harr. harr. [22:51:34] basically you just replace AuthPlugin with AuthManager::allowsAuthenticationDataChange(new PasswordAuthenticationRequest()) [22:51:46] like, where? [22:51:48] https://phabricator.wikimedia.org/T180537 filed in the first instance... [22:52:27] I can do that if you'd rather not [22:52:32] https://github.com/wikimedia/mediawiki/blob/master/includes/Setup.php#L799-L813 [22:53:13] my knowledge of php is already very limited, let alone mediawiki [22:53:45] Reedy: much appreciated! [22:54:04] Have you installed from git btw? [22:54:16] i've got to catch a train. might be a few days before i can pay attention to this again, but thank you very much for your help! [22:54:29] yes, first thing i did was moving to git [22:54:31] We can get this backported into the 1.29... But it's probably not gonna make the 1.29.2 [22:54:35] So you should just be a git pull [22:54:43] Bookmark https://phabricator.wikimedia.org/T180537 for updates :) [22:54:51] cheers! [23:11:36] tgr: lol, really just that simple? [23:12:08] I don't see a way of accurately capturing that check with AuthManager [23:12:19] and it didn't seem particularly useful [23:12:58] the alternatives would be to [23:13:52] 1) check whether the auth system accepts passwords (with the snippet I mentioned above) which still doesn't preclude LDAP and whatnot, and it's hard to imagine somone calling wrapOldPasswords.php for a site that does not use passwords [23:15:07] 2) check if LocalPasswordAuthenticationProvider is amongst the providers, which mostly works, but in theory someone can write another provider which uses the user_password field in a compatible way [23:16:02] anyway I would argue wrapping old passwords is a sane thing to do even if your auth system doesn't use them at the moment (deleting them would be better but maybe you don't want to for some reason) so that check is just pointless [23:16:43] WFM :)