refactor(core): ♻️ drop mediawiki.toc remover fallback

mediawiki.toc does not exist in 1.39 anymore.
This commit is contained in:
alistair3149 2022-10-02 21:15:27 -04:00
parent 409c9ad342
commit a123c64efa
No known key found for this signature in database

View file

@ -297,22 +297,6 @@ class SkinCitizen extends SkinMustache {
return $urls;
}
/**
* Returns the javascript entry modules to load. Only modules that need to
* be overriden or added conditionally should be placed here.
* @return array
*/
public function getDefaultModules() {
$modules = parent::getDefaultModules();
$modules['content'] = array_diff( $modules['content'], [
// Citizen provides its own implementation. Loading this will break display.
'mediawiki.toc'
] );
return $modules;
}
/**
* Set up optional skin features
*