'patch-protected_titles-fix-pk.sql' ],
[ 'renameIndex', 'site_identifiers', 'site_ids_type', 'PRIMARY', false,
'patch-site_identifiers-fix-pk.sql' ],
+ [ 'addIndex', 'recentchanges', 'rc_this_oldid', 'patch-recentchanges-rc_this_oldid-index.sql' ],
];
}
'Converting links and brokenlinks tables to pagelinks'
);
- global $wgContLang;
- foreach ( $wgContLang->getNamespaces() as $ns => $name ) {
+ foreach (
+ MediaWikiServices::getInstance()->getContentLanguage()->getNamespaces() as $ns => $name
+ ) {
if ( $ns == 0 ) {
continue;
}