'mediawiki.special' violates T92459 due to having both script and styles and
being loaded as a styles-only module. This avoids the warning from I8b6c6a10d.
> Unexpected general module 'mediawiki.special' in styles queue.
mw.special was first introduced in r90943 (
d4abcb526806). I regretted recommending it.
Change-Id: I7bb000c9946d194fd1ae7f9a18fbc031ba225f25
'mediawiki.special' => [
'position' => 'top',
'mediawiki.special' => [
'position' => 'top',
- 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
'targets' => [ 'desktop', 'mobile' ],
],
'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
'targets' => [ 'desktop', 'mobile' ],
],
+++ /dev/null
-/*!
- * Namespace for mediawiki.special.* modules
- */
-
-/**
- * @class mw.special
- * @singleton
- */
-mediaWiki.special = {};