[21:10:45] anomie hi, i doin't think the actor change works with https://github.com/wikimedia/mediawiki/blob/master/maintenance/rebuildtextindex.php [21:10:52] It generates this sql query: [21:11:30] https://phabricator.wikimedia.org/P7824 [21:11:51] Which then can cause either the db to go all crazy or causes the mediawiki host to loose all it's ram. [21:13:02] it has "NULL AS" which im guessing could be the problem? [21:15:14] looks like the joins get omitted [21:17:10] i filled https://phabricator.wikimedia.org/T209885 [21:17:17] oh [21:17:34] you probably need to change __METHOD__ to __METHOD__, [], $revQuery['joins'] [21:18:02] ah [21:18:04] * paladox trys [21:18:05] we really should have a helper method for converting a query info array to a query, it's a but fragile to let people do it by hand [21:18:42] or a Query object or something [21:18:59] tgr that works! [21:19:00] thank you! [21:19:20] tgr if we added it to the script would it break sites that doin't use actor yet? [21:25:38] tgr: https://gerrit.wikimedia.org/r/c/mediawiki/core/+/459242 :) [21:28:10] paladox: You should submit the patch for T209885. [21:28:11] T209885: rebuildtextindex.php does not work with "actor" - https://phabricator.wikimedia.org/T209885 [21:28:22] anomie ah ok :) [21:28:25] will credit tgr [21:31:09] anomie https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/474794/ [21:57:54] anomie another issue or bug i've noticed is that when a extension calls User::newSystemUser it seems to create the user with id 0 thus breaking because you get errors like:Error: 1062 Duplicate entry '0' for key 'actor_user' [21:58:00] i have the full traceback [21:58:36] anomie https://phabricator.wikimedia.org/P7825 [22:04:51] paladox: Can't reproduce. Why in your trace is it trying to create a user named '0', and how did $dbw->insertId() manage to return 0? [22:05:39] oh could it be because im migrating a site from 1.30 to 1.31 whilst doing the mgiration to actor all in one thing)? [22:07:53] It's possible some bug fix wasn't backported to 1.31. [22:08:43] hmm [22:09:51] [86bfa33caf84c3f2581f2b8e] [no req] InvalidArgumentException from line 686 of /srv/mediawiki/w/includes/user/User.php: Cannot create a user with no name, no ID, and no actor ID [22:10:05] when i switch actor of for that wiki i get ^^ when running update.php [22:58:36] anomie wondering could you merge https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/474797/ and https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/474796/ please? [22:58:43] they both have unrelated test failures. [23:05:13] legoktm: I can't make sense of https://integration.wikimedia.org/ci/job/mwext-php70-phan-seccheck-docker/26589/console [23:05:45] is that complaining about double escaping? it's not happening as far as I can see [23:19:02] anomie on another wiki, i get the duplicate id when doing just "User::newSystemUser( 'Delete page script', [ 'steal' => true ] );" [23:26:30] it works when going back to disabling actor (create the system user) then switch back to actor