'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
+ 'mediawiki.skinning.content.parsoid' => array(
+ // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
+ // with the commonInterface.css styles; skinStyles should be used if your
+ // skin over-rides common content styling.
+ 'skinStyles' => array(
+ 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
/**
* Skins
*
* See Vector for an example.
*/
- 'skins.cologneblue' => array(
- 'styles' => array(
- 'cologneblue/screen.css' => array( 'media' => 'screen' ),
- 'cologneblue/print.css' => array( 'media' => 'print' ),
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.modern' => array(
- 'styles' => array(
- 'modern/main.css' => array( 'media' => 'screen' ),
- 'modern/print.css' => array( 'media' => 'print' ),
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
'skins.vector.styles' => array(
// Used in the web installer. Test it after modifying this definition!
'styles' => array(
/* jQuery */
'jquery' => array(
- 'scripts' => 'resources/lib/jquery/jquery.js',
+ 'scripts' => array(
+ 'resources/lib/jquery/jquery.js',
+ 'resources/lib/jquery/jquery.migrate.js',
+ ),
'debugRaw' => false,
'targets' => array( 'desktop', 'mobile' ),
),
'scripts' => 'resources/src/jquery/jquery.accessKeyLabel.js',
'dependencies' => array(
'jquery.client',
+ 'jquery.mwExtension',
),
+ 'messages' => array( 'brackets', 'word-separator' ),
'targets' => array( 'mobile', 'desktop' ),
),
'jquery.appear' => array(
'jquery.colorUtil' => array(
'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
),
+ // Use mediawiki.cookie in new code, rather than jquery.cookie.
'jquery.cookie' => array(
'scripts' => 'resources/lib/jquery/jquery.cookie.js',
'targets' => array( 'desktop', 'mobile' ),
'position' => 'top', // For $wgPreloadJavaScriptMwUtil
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.cookie' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
+ 'dependencies' => array(
+ 'jquery.cookie',
+ ),
+ ),
/* MediaWiki Action */
'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.js',
'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.postEdit.css',
'dependencies' => array(
- 'jquery.cookie',
+ 'mediawiki.cookie',
'mediawiki.jqueryMsg'
),
'messages' => array(
'mediawiki.page.watch.ajax' => array(
'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
'dependencies' => array(
- 'mediawiki.page.startup',
'mediawiki.api.watch',
- 'mediawiki.util',
'mediawiki.notify',
+ 'mediawiki.util',
+ 'jquery.accessKeyLabel',
'jquery.mwExtension',
),
'messages' => array(
'jquery.throttle-debounce',
),
),
+ 'mediawiki.special.unwatchedPages' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.unwatchedPages.css',
+ 'messages' => array(
+ 'addedwatchtext-short',
+ 'removedwatchtext-short',
+ 'unwatch',
+ 'unwatching',
+ 'watch',
+ 'watcherrortext',
+ 'watching',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.api',
+ 'mediawiki.api.watch',
+ 'mediawiki.notify',
+ 'mediawiki.Title'
+ ),
+ ),
'mediawiki.special.javaScriptTest' => array(
'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
'messages' => array_merge( Skin::getSkinNameMessages(), array(
'ooui-outline-control-move-up',
'ooui-outline-control-remove',
'ooui-toolbar-more',
+ 'ooui-dialog-confirm-title',
+ 'ooui-dialog-confirm-default-prompt',
+ 'ooui-dialog-confirm-default-ok',
+ 'ooui-dialog-confirm-default-cancel'
),
'dependencies' => array(
'oojs',