'noscript' => array( 'class' => 'ResourceLoaderNoscriptModule' ),
'startup' => array( 'class' => 'ResourceLoaderStartUpModule' ),
'user' => array( 'class' => 'ResourceLoaderUserModule' ),
- 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
'user.groups' => array( 'class' => 'ResourceLoaderUserGroupsModule' ),
+ 'user.options' => array( 'class' => 'ResourceLoaderUserOptionsModule' ),
+ 'user.tokens' => array( 'class' => 'ResourceLoaderUserTokensModule' ),
/* Skins */
'styles' => array( 'vector/screen.css' => array( 'media' => 'screen' ) ),
'scripts' => 'vector/vector.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.monobook' => array(
'styles' => array(
'monobook/main.css' => array( 'media' => 'screen' ),
),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.simple' => array(
'styles' => array( 'simple/main.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.chick' => array(
'styles' => array( 'chick/main.css' => array( 'media' => 'screen,handheld' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ '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['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.cologneblue' => array(
'styles' => array( 'common/cologneblue.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.nostalgia' => array(
'styles' => array( 'common/nostalgia.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'skins.standard' => array(
'styles' => array( 'common/wikistandard.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
/* jQuery */
'jquery.suggestions' => array(
'scripts' => 'resources/jquery/jquery.suggestions.js',
'styles' => 'resources/jquery/jquery.suggestions.css',
+ 'dependencies' => 'jquery.autoEllipsis',
),
'jquery.tabIndex' => array(
'scripts' => 'resources/jquery/jquery.tabIndex.js',
'mediawiki.htmlform' => array(
'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
),
+ 'mediawiki.Title' => array(
+ 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
+ ),
'mediawiki.user' => array(
'scripts' => 'resources/mediawiki/mediawiki.user.js',
'dependencies' => array(
),
),
'mediawiki.util' => array(
- 'scripts' => 'resources/mediawiki.util/mediawiki.util.js',
+ 'scripts' => 'resources/mediawiki/mediawiki.util.js',
'dependencies' => array(
'jquery.checkboxShiftClick',
'jquery.client',
'jquery.placeholder',
),
),
- 'mediawiki.util.jpegmeta' => array(
- 'scripts' => 'resources/mediawiki.util/mediawiki.util.jpegmeta.js',
+ 'mediawiki.libs.jpegmeta' => array(
+ 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
),
'mediawiki.action.history' => array(
'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
),
'mediawiki.action.watch.ajax' => array(
'scripts' => 'resources/mediawiki.action/mediawiki.action.watch.ajax.js',
- 'dependencies' => 'mediawiki.util',
+ 'messages' => array(
+ 'watch',
+ 'unwatch',
+ 'watching',
+ 'unwatching',
+ 'tooltip-ca-watch',
+ 'tooltip-ca-unwatch',
+ 'watcherrortext',
+ ),
),
/* Special pages */
'mediawiki.special.block' => array(
'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
),
+ 'mediawiki.special.undelete' => array(
+ 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
+ ),
'mediawiki.special.movePage' => array(
'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
'dependencies' => 'jquery.byteLimit',
'size-gigabytes',
'largefileserver',
),
- 'dependencies' => array( 'mediawiki.util.jpegmeta' ),
+ 'dependencies' => array( 'mediawiki.libs.jpegmeta' ),
),
'mediawiki.language' => array(
'mediawiki.legacy.ajax' => array(
'scripts' => 'common/ajax.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
- 'messages' => array(
- 'watch',
- 'unwatch',
- 'watching',
- 'unwatching',
- 'tooltip-ca-watch',
- 'tooltip-ca-unwatch',
- ),
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.commonPrint' => array(
'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'mediawiki.legacy.config' => array(
'scripts' => 'common/config.js',
'styles' => array( 'common/config.css', 'common/config-cc.css' ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.diff' => array(
'styles' => 'common/diff.css',
'group' => 'mediawiki.action.history',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'mediawiki.legacy.edit' => array(
'scripts' => 'common/edit.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.IEFixes' => array(
'scripts' => 'common/IEFixes.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.mwsuggest' => array(
'scripts' => 'common/mwsuggest.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => array( 'mediawiki.legacy.wikibits', 'jquery.client' ),
'messages' => array( 'search-mwsuggest-enabled', 'search-mwsuggest-disabled' ),
),
'mediawiki.legacy.preview' => array(
'scripts' => 'common/preview.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.protect' => array(
'scripts' => 'common/protect.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => array(
'mediawiki.legacy.wikibits',
'jquery.byteLimit',
'mediawiki.legacy.search' => array(
'scripts' => 'common/search.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'styles' => 'common/search.css',
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.shared' => array(
'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'mediawiki.legacy.oldshared' => array(
'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
'mediawiki.legacy.upload' => array(
'scripts' => 'common/upload.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.legacy.wikibits',
),
'mediawiki.legacy.wikibits' => array(
'scripts' => 'common/wikibits.js',
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
'dependencies' => 'mediawiki.language',
'messages' => array( 'showtoc', 'hidetoc' ),
),
'mediawiki.legacy.wikiprintable' => array(
'styles' => array( 'common/wikiprintable.css' => array( 'media' => 'print' ) ),
'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => "{$GLOBALS['IP']}/skins",
+ 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
);