* (bug 52812) Removed "Disable search suggestions" from Preference.
* (bug 52809) Removed "Disable browser page caching" from Preference.
* Three new modules intended for use by custom skins were added:
- 'skins.common.elements', 'skins.common.content', and 'skins.common.interface',
- representing three levels of standard MediaWiki styling. Previously skin
- creators wishing to use them had to refer to the file names of appropriate
- files directly, which is now discouraged.
+ 'mediawiki.skinning.elements', 'mediawiki.skinning.content', and
+ 'mediawiki.skinning.interface', representing three levels of standard
+ MediaWiki styling. Previously skin creators wishing to use them had to refer
+ to the file names of appropriate files directly, which is now discouraged.
* The modules 'skins.vector' and 'skins.monobook' have been renamed to
'skins.vector.styles' and 'skins.monobook.styles', respectively,
and their definition was changed not to include the common*.css files;
- the two skins now load the 'skins.common.interface' module instead.
+ the two skins now load the 'mediawiki.skinning.interface' module instead.
* A page_links_updated field has been added to the page table.
* SpecialPage::getTitle has been deprecated in favor of
SpecialPage::getPageTitle.
// Scripts for the dynamic language specific data, like grammar forms.
'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
+ /* MediaWiki base skinning modules */
+
/**
* Common skin styles, grouped into three graded levels.
*
* common to MonoBook clones. And since practically every skin that currently exists within
* core is a MonoBook clone, all our core skins currently use this level.
*
- * These modules are typically loaded by addModuleStyles which has absolutely no concept of
- * dependency management. As a result, the skins.common.* modules contain duplicate stylesheet
- * references instead of setting 'dependencies' to the lower level the module is based on. For
- * this reason avoid including multiple skins.common.* modules into your skin as this will
- * result in duplicate css.
+ * These modules are typically loaded by addModuleStyles(), which has absolutely no concept of
+ * dependency management. As a result they contain duplicate stylesheet references instead of
+ * setting 'dependencies' to the lower level the module is based on. For this reason avoid
+ * including more than one of them into your skin as this will result in duplicate CSS.
*/
+ 'mediawiki.skinning.elements' => array(
+ 'styles' => array(
+ 'common/commonElements.css' => array( 'media' => 'screen' ),
+ ),
+ 'remoteBasePath' => $GLOBALS['wgStylePath'],
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ ),
+ 'mediawiki.skinning.content' => array(
+ 'styles' => array(
+ 'common/commonElements.css' => array( 'media' => 'screen' ),
+ 'common/commonContent.css' => array( 'media' => 'screen' ),
+ ),
+ 'remoteBasePath' => $GLOBALS['wgStylePath'],
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ ),
+ 'mediawiki.skinning.interface' => array(
+ // Used in the web installer. Test it after modifying this definition!
+ 'styles' => array(
+ 'common/commonElements.css' => array( 'media' => 'screen' ),
+ 'common/commonContent.css' => array( 'media' => 'screen' ),
+ 'common/commonInterface.css' => array( 'media' => 'screen' ),
+ ),
+ 'remoteBasePath' => $GLOBALS['wgStylePath'],
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ ),
+
+ // Temporarily kept for backwards-compatibility with generated HTML
'skins.common.elements' => array(
'styles' => array(
'common/commonElements.css' => array( 'media' => 'screen' ),
'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.common.interface' => array(
- // Used in the web installer. Test it after modifying this definition!
'styles' => array(
'common/commonElements.css' => array( 'media' => 'screen' ),
'common/commonContent.css' => array( 'media' => 'screen' ),
'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
+
/**
* Skins
* Be careful not to add 'scripts' to these modules,