From 83b08f469295d49ce29c33f2817ad35451a9fafe Mon Sep 17 00:00:00 2001 From: Aryeh Gregor Date: Sun, 16 Dec 2007 18:23:20 +0000 Subject: [PATCH] Parser tests need to create a temporary protected_titles table to avoid errors. --- maintenance/parserTests.inc | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/maintenance/parserTests.inc b/maintenance/parserTests.inc index 0677179d8b..10e46891c7 100644 --- a/maintenance/parserTests.inc +++ b/maintenance/parserTests.inc @@ -425,16 +425,13 @@ class ParserTest { * Some of these probably aren't necessary. */ private function listTables() { - $tables = array('user', 'page', 'page_restrictions', 'revision', 'text', - 'pagelinks', 'imagelinks', 'categorylinks', - 'templatelinks', 'externallinks', 'langlinks', - 'site_stats', 'hitcounter', - 'ipblocks', 'image', 'oldimage', - 'recentchanges', - 'watchlist', 'math', 'searchindex', - 'interwiki', 'querycache', - 'objectcache', 'job', 'redirect', - 'querycachetwo', 'archive', 'user_groups' + $tables = array('user', 'page', 'page_restrictions', + 'protected_titles', 'revision', 'text', 'pagelinks', 'imagelinks', + 'categorylinks', 'templatelinks', 'externallinks', 'langlinks', + 'site_stats', 'hitcounter', 'ipblocks', 'image', 'oldimage', + 'recentchanges', 'watchlist', 'math', 'searchindex', 'interwiki', + 'querycache', 'objectcache', 'job', 'redirect', 'querycachetwo', + 'archive', 'user_groups' ); // Allow extensions to add to the list of tables to duplicate; -- 2.20.1