Copy querycache: encoding and a table definition change
[lhc/web/wiklou.git] / maintenance / parserTests.php
index 1205090..adb341b 100644 (file)
@@ -30,6 +30,7 @@ $optionsWithArgs = array( 'regex' );
 
 require_once( 'commandLine.inc' );
 require_once( "$IP/includes/ObjectCache.php" );
+require_once( "$IP/includes/BagOStuff.php" );
 require_once( "$IP/languages/LanguageUtf8.php" );
 
 /**
@@ -321,12 +322,12 @@ class ParserTest {
        function listTables() {
                return array('user', 'page', 'revision', 'text',
                        'pagelinks', 'imagelinks', 'categorylinks',
-                       'linkscc', 'site_stats', 'hitcounter',
+                       'site_stats', 'hitcounter',
                        'ipblocks', 'image', 'oldimage',
                        'recentchanges',
                        'watchlist', 'math', 'searchindex',
                        'interwiki', 'querycache',
-                       'objectcache', 'groups'
+                       'objectcache'
                );
        }
        
@@ -405,13 +406,6 @@ class ParserTest {
                                       'iw_local'  => 1 ),
                                ) );
 
-                       # Hack: initialize a group
-                       $db->insert( 'groups', array(
-                               'gr_id' => 1,
-                               'gr_name' => 'Anonymous',
-                               'gr_description' => 'Anonymous users',
-                               'gr_rights' => 'read' ) );
-                       
                        # Hack: Insert an image to work with
                        $db->insert( 'image', array(
                                'img_name'        => 'Foobar.jpg',