mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
refactor(core): ♻️ drop mediawiki.toc remover fallback
mediawiki.toc does not exist in 1.39 anymore.
This commit is contained in:
parent
409c9ad342
commit
a123c64efa
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue