X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fparser%2FParserTestRunner.php;h=59597a8d39ff3b898c39a2e403132ef9e959732f;hp=c8b8ef92a18305ca323146aad1ed7818ef213b2e;hb=c58f4f99856ebe4f8dd42c0d4c07bfdfa1ec74cd;hpb=529fc12d2ad2032337594389448fdb5b55802830 diff --git a/tests/parser/ParserTestRunner.php b/tests/parser/ParserTestRunner.php index c8b8ef92a1..59597a8d39 100644 --- a/tests/parser/ParserTestRunner.php +++ b/tests/parser/ParserTestRunner.php @@ -1246,8 +1246,6 @@ class ParserTestRunner { * @return array */ private function listTables() { - global $wgActorTableSchemaMigrationStage; - $tables = [ 'user', 'user_properties', 'user_former_groups', 'page', 'page_restrictions', 'protected_titles', 'revision', 'ip_changes', 'text', 'pagelinks', 'imagelinks', 'categorylinks', 'templatelinks', 'externallinks', 'langlinks', 'iwlinks', @@ -1256,15 +1254,9 @@ class ParserTestRunner { 'querycache', 'objectcache', 'job', 'l10n_cache', 'redirect', 'querycachetwo', 'archive', 'user_groups', 'page_props', 'category', 'slots', 'content', 'slot_roles', 'content_models', - 'comment', 'revision_comment_temp', + 'comment', 'revision_comment_temp', 'actor', 'revision_actor_temp', ]; - if ( $wgActorTableSchemaMigrationStage & SCHEMA_COMPAT_WRITE_NEW ) { - // The new tables for actors are in use - $tables[] = 'actor'; - $tables[] = 'revision_actor_temp'; - } - if ( in_array( $this->db->getType(), [ 'mysql', 'sqlite' ] ) ) { array_push( $tables, 'searchindex' ); } @@ -1807,7 +1799,7 @@ class ParserTestRunner { * Fake constant timestamp to make sure time-related parser * functions give a persistent value. * - * - Parser::getVariableValue (via ParserGetVariableValueTs hook) + * - Parser::expandMagicVariable (via ParserGetVariableValueTs hook) * - Parser::preSaveTransform (via ParserOptions) */ private function getFakeTimestamp() {