user-customized ones (like Common.css, Common.js)
* (bug 12283) Special:Newpages forgets parameters
* (bug 12031) All namespaces doesn't work in Special:Newpages
+* (bug 585) Only create searchindex replica table for parser tests if db is MySQL
== Parser changes in 1.12 ==
* Some of these probably aren't necessary.
*/
private function listTables() {
+ global $wgDBtype;
$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',
+ 'recentchanges', 'watchlist', 'math', 'interwiki',
'querycache', 'objectcache', 'job', 'redirect', 'querycachetwo',
'archive', 'user_groups'
);
+
+ if ($wgDBtype === 'mysql')
+ array_push( $tables, 'searchindex' );
// Allow extensions to add to the list of tables to duplicate;
// may be necessary if they hook into page save or other code