summaryrefslogtreecommitdiff
path: root/resources/Resources.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2014-12-27 15:41:37 +0100
committerPierre Schmitz <pierre@archlinux.de>2014-12-31 11:43:28 +0100
commitc1f9b1f7b1b77776192048005dcc66dcf3df2bfb (patch)
tree2b38796e738dd74cb42ecd9bfd151803108386bc /resources/Resources.php
parentb88ab0086858470dd1f644e64cb4e4f62bb2be9b (diff)
Update to MediaWiki 1.24.1
Diffstat (limited to 'resources/Resources.php')
-rw-r--r--resources/Resources.php1318
1 files changed, 849 insertions, 469 deletions
diff --git a/resources/Resources.php b/resources/Resources.php
index 3b06e1be..70f64dd3 100644
--- a/resources/Resources.php
+++ b/resources/Resources.php
@@ -50,256 +50,262 @@ return array(
// Scripts for the dynamic language specific data, like grammar forms.
'mediawiki.language.data' => array( 'class' => 'ResourceLoaderLanguageDataModule' ),
+ /* MediaWiki base skinning modules */
+
/**
- * Skins
- * Be careful not to add 'scripts' to these modules,
- * since they are loaded with OutputPage::addModuleStyles so that the skin styles
- * apply without javascript.
- * If a skin needs custom js in the interface, register a separate module
- * and add it to the load queue with OutputPage::addModules.
+ * Common skin styles, grouped into three graded levels.
+ *
+ * Level 1 "elements":
+ * The base level that only contains the most basic of common skin styles.
+ * Only styles for single elements are included, no styling for complex structures like the
+ * TOC is present. This level is for skins that want to implement the entire style of even
+ * content area structures like the TOC themselves.
+ *
+ * Level 2 "content":
+ * The most commonly used level for skins implemented from scratch. This level includes all
+ * the single element styles from "elements" as well as styles for complex structures such
+ * as the TOC that are output in the content area by MediaWiki rather than the skin.
+ * Essentially this is the common level that lets skins leave the style of the content area
+ * as it is normally styled, while leaving the rest of the skin up to the skin
+ * implementation.
+ *
+ * Level 3 "interface":
+ * The highest level, this stylesheet contains extra common styles for classes like
+ * .firstHeading, #contentSub, et cetera which are not outputted by MediaWiki but are common
+ * to skins like MonoBook, Vector, etc... Essentially this level is for styles that are
+ * 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.
*
- * See Vector for an example.
+ * 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.
*/
- '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(
+ 'mediawiki.skinning.elements' => array(
'styles' => array(
- 'modern/main.css' => array( 'media' => 'screen' ),
- 'modern/print.css' => array( 'media' => 'print' ),
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.monobook' => array(
+ 'mediawiki.skinning.content' => array(
'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'monobook/main.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.archlinux' => array(
- 'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'archlinux/main.css' => array( 'media' => 'screen' ),
- 'archlinux/archnavbar.css' => array( 'media' => 'screen' ),
- 'archlinux/arch.css' => array( 'media' => 'screen' ),
- 'archlinux/print.css' => array( 'media' => 'print' ),
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.vector' => array(
+ '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' ),
- 'vector/styles.less',
+ 'resources/src/mediawiki.skinning/elements.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/content.css' => array( 'media' => 'screen' ),
+ 'resources/src/mediawiki.skinning/interface.css' => array( 'media' => 'screen' ),
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
),
- 'skins.vector.beta' => array(
- // Keep in sync with skins.vector
- 'styles' => array(
- 'common/commonElements.css' => array( 'media' => 'screen' ),
- 'common/commonContent.css' => array( 'media' => 'screen' ),
- 'common/commonInterface.css' => array( 'media' => 'screen' ),
- 'vector/styles-beta.less',
+
+ 'mediawiki.skinning.content.parsoid' => array(
+ // Style Parsoid HTML+RDFa output consistent with wikitext from PHP parser
+ // with the interface.css styles; skinStyles should be used if your
+ // skin over-rides common content styling.
+ 'skinStyles' => array(
+ 'default' => 'resources/src/mediawiki.skinning/content.parsoid.less',
),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'targets' => array( 'desktop', 'mobile' ),
),
- 'skins.vector.js' => array(
- 'scripts' => array(
- 'vector/collapsibleTabs.js',
- 'vector/vector.js',
+
+ 'mediawiki.skinning.content.externallinks' => array(
+ 'styles' => array(
+ 'resources/src/mediawiki.skinning/content.externallinks.css' => array( 'media' => 'screen' ),
),
- 'position' => 'top',
- 'dependencies' => 'jquery.delayedBind',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'skins.vector.collapsibleNav' => array(
- 'scripts' => array(
- 'vector/collapsibleNav.js',
- ),
- 'messages' => array(
- 'vector-collapsiblenav-more',
- ),
- 'dependencies' => array(
- 'jquery.client',
- 'jquery.cookie',
- 'jquery.tabIndex',
- ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'position' => 'bottom',
),
/* jQuery */
'jquery' => array(
- 'scripts' => 'resources/jquery/jquery.js',
- 'debugRaw' => false,
+ 'scripts' => ( $GLOBALS['wgIncludejQueryMigrate'] ?
+ array(
+ 'resources/lib/jquery/jquery.js',
+ 'resources/lib/jquery/jquery.migrate.js'
+ ) :
+ array(
+ 'resources/lib/jquery/jquery.js'
+ ) ),
+ 'raw' => true,
'targets' => array( 'desktop', 'mobile' ),
),
/* jQuery Plugins */
+ 'jquery.accessKeyLabel' => array(
+ '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(
- 'scripts' => 'resources/jquery/jquery.appear.js',
+ 'scripts' => 'resources/lib/jquery/jquery.appear.js',
),
'jquery.arrowSteps' => array(
- 'scripts' => 'resources/jquery/jquery.arrowSteps.js',
- 'styles' => 'resources/jquery/jquery.arrowSteps.css',
+ 'scripts' => 'resources/src/jquery/jquery.arrowSteps.js',
+ 'styles' => 'resources/src/jquery/jquery.arrowSteps.css',
),
'jquery.async' => array(
- 'scripts' => 'resources/jquery/jquery.async.js',
+ 'scripts' => 'resources/lib/jquery/jquery.async.js',
),
'jquery.autoEllipsis' => array(
- 'scripts' => 'resources/jquery/jquery.autoEllipsis.js',
+ 'scripts' => 'resources/src/jquery/jquery.autoEllipsis.js',
'dependencies' => 'jquery.highlightText',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.badge' => array(
- 'scripts' => 'resources/jquery/jquery.badge.js',
- 'styles' => 'resources/jquery/jquery.badge.css',
+ 'scripts' => 'resources/src/jquery/jquery.badge.js',
+ 'styles' => 'resources/src/jquery/jquery.badge.css',
'dependencies' => 'mediawiki.language',
),
'jquery.byteLength' => array(
- 'scripts' => 'resources/jquery/jquery.byteLength.js',
+ 'scripts' => 'resources/src/jquery/jquery.byteLength.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.byteLimit' => array(
- 'scripts' => 'resources/jquery/jquery.byteLimit.js',
+ 'scripts' => 'resources/src/jquery/jquery.byteLimit.js',
'dependencies' => 'jquery.byteLength',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.checkboxShiftClick' => array(
- 'scripts' => 'resources/jquery/jquery.checkboxShiftClick.js',
+ 'scripts' => 'resources/src/jquery/jquery.checkboxShiftClick.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.chosen' => array(
- 'scripts' => 'resources/jquery.chosen/chosen.jquery.js',
- 'styles' => 'resources/jquery.chosen/chosen.css',
+ 'scripts' => 'resources/lib/jquery.chosen/chosen.jquery.js',
+ 'styles' => 'resources/lib/jquery.chosen/chosen.css',
),
'jquery.client' => array(
- 'scripts' => 'resources/jquery/jquery.client.js',
+ 'scripts' => 'resources/src/jquery/jquery.client.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.color' => array(
- 'scripts' => 'resources/jquery/jquery.color.js',
+ 'scripts' => 'resources/src/jquery/jquery.color.js',
'dependencies' => 'jquery.colorUtil',
),
'jquery.colorUtil' => array(
- 'scripts' => 'resources/jquery/jquery.colorUtil.js',
+ 'scripts' => 'resources/src/jquery/jquery.colorUtil.js',
+ ),
+ 'jquery.confirmable' => array(
+ 'scripts' => array(
+ 'resources/src/jquery/jquery.confirmable.js',
+ 'resources/src/jquery/jquery.confirmable.mediawiki.js',
+ ),
+ 'messages' => array(
+ 'confirmable-confirm',
+ 'confirmable-yes',
+ 'confirmable-no',
+ 'word-separator',
+ ),
+ 'styles' => 'resources/src/jquery/jquery.confirmable.css',
+ 'dependencies' => 'mediawiki.jqueryMsg',
),
+ // Use mediawiki.cookie in new code, rather than jquery.cookie.
'jquery.cookie' => array(
- 'scripts' => 'resources/jquery/jquery.cookie.js',
+ 'scripts' => 'resources/lib/jquery/jquery.cookie.js',
'targets' => array( 'desktop', 'mobile' ),
),
- 'jquery.delayedBind' => array(
- 'scripts' => 'resources/jquery/jquery.delayedBind.js',
- ),
'jquery.expandableField' => array(
- 'scripts' => 'resources/jquery/jquery.expandableField.js',
- 'dependencies' => 'jquery.delayedBind',
+ 'scripts' => 'resources/src/jquery/jquery.expandableField.js',
),
'jquery.farbtastic' => array(
- 'scripts' => 'resources/jquery/jquery.farbtastic.js',
- 'styles' => 'resources/jquery/jquery.farbtastic.css',
+ 'scripts' => 'resources/src/jquery/jquery.farbtastic.js',
+ 'styles' => 'resources/src/jquery/jquery.farbtastic.css',
'dependencies' => 'jquery.colorUtil',
),
'jquery.footHovzer' => array(
- 'scripts' => 'resources/jquery/jquery.footHovzer.js',
- 'styles' => 'resources/jquery/jquery.footHovzer.css',
+ 'scripts' => 'resources/src/jquery/jquery.footHovzer.js',
+ 'styles' => 'resources/src/jquery/jquery.footHovzer.css',
),
'jquery.form' => array(
- 'scripts' => 'resources/jquery/jquery.form.js',
+ 'scripts' => 'resources/lib/jquery/jquery.form.js',
+ ),
+ 'jquery.fullscreen' => array(
+ 'scripts' => 'resources/lib/jquery/jquery.fullscreen.js',
),
'jquery.getAttrs' => array(
- 'scripts' => 'resources/jquery/jquery.getAttrs.js',
+ 'scripts' => 'resources/src/jquery/jquery.getAttrs.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.hidpi' => array(
- 'scripts' => 'resources/jquery/jquery.hidpi.js',
+ 'scripts' => 'resources/src/jquery/jquery.hidpi.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.highlightText' => array(
- 'scripts' => 'resources/jquery/jquery.highlightText.js',
+ 'scripts' => 'resources/src/jquery/jquery.highlightText.js',
'dependencies' => 'jquery.mwExtension',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'jquery.hoverIntent' => array(
- 'scripts' => 'resources/jquery/jquery.hoverIntent.js',
+ 'scripts' => 'resources/lib/jquery/jquery.hoverIntent.js',
),
'jquery.json' => array(
- 'scripts' => 'resources/jquery/jquery.json.js',
+ // @deprecated since 1.24: Use the 'json' module and global JSON object instead.
+ 'scripts' => array(
+ 'resources/lib/jquery/jquery.json.js',
+ 'resources/src/jquery.json-deprecate.js',
+ ),
'targets' => array( 'mobile', 'desktop' ),
),
'jquery.localize' => array(
- 'scripts' => 'resources/jquery/jquery.localize.js',
+ 'scripts' => 'resources/src/jquery/jquery.localize.js',
),
'jquery.makeCollapsible' => array(
- 'scripts' => 'resources/jquery/jquery.makeCollapsible.js',
- 'styles' => 'resources/jquery/jquery.makeCollapsible.css',
+ 'scripts' => 'resources/src/jquery/jquery.makeCollapsible.js',
+ 'styles' => 'resources/src/jquery/jquery.makeCollapsible.css',
'messages' => array( 'collapsible-expand', 'collapsible-collapse' ),
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.mockjax' => array(
- 'scripts' => 'resources/jquery/jquery.mockjax.js',
+ 'scripts' => 'resources/lib/jquery/jquery.mockjax.js',
),
'jquery.mw-jump' => array(
- 'scripts' => 'resources/jquery/jquery.mw-jump.js',
+ 'scripts' => 'resources/src/jquery/jquery.mw-jump.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.mwExtension' => array(
- 'scripts' => 'resources/jquery/jquery.mwExtension.js',
+ 'scripts' => 'resources/src/jquery/jquery.mwExtension.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.placeholder' => array(
- 'scripts' => 'resources/jquery/jquery.placeholder.js',
+ 'scripts' => 'resources/src/jquery/jquery.placeholder.js',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.qunit' => array(
- 'scripts' => 'resources/jquery/jquery.qunit.js',
- 'styles' => 'resources/jquery/jquery.qunit.css',
+ 'scripts' => 'resources/lib/jquery/jquery.qunit.js',
+ 'styles' => 'resources/lib/jquery/jquery.qunit.css',
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.qunit.completenessTest' => array(
- 'scripts' => 'resources/jquery/jquery.qunit.completenessTest.js',
+ 'scripts' => 'resources/src/jquery/jquery.qunit.completenessTest.js',
'dependencies' => 'jquery.qunit',
'targets' => array( 'desktop', 'mobile' ),
),
'jquery.spinner' => array(
- 'scripts' => 'resources/jquery/jquery.spinner.js',
- 'styles' => 'resources/jquery/jquery.spinner.css',
+ 'scripts' => 'resources/src/jquery/jquery.spinner.js',
+ 'styles' => 'resources/src/jquery/jquery.spinner.css',
),
'jquery.jStorage' => array(
- 'scripts' => 'resources/jquery/jquery.jStorage.js',
- 'dependencies' => 'jquery.json',
+ 'scripts' => 'resources/lib/jquery/jquery.jStorage.js',
+ 'dependencies' => 'json',
),
'jquery.suggestions' => array(
- 'scripts' => 'resources/jquery/jquery.suggestions.js',
- 'styles' => 'resources/jquery/jquery.suggestions.css',
- 'dependencies' => 'jquery.autoEllipsis',
+ 'scripts' => 'resources/src/jquery/jquery.suggestions.js',
+ 'styles' => 'resources/src/jquery/jquery.suggestions.css',
+ 'dependencies' => 'jquery.highlightText',
),
'jquery.tabIndex' => array(
- 'scripts' => 'resources/jquery/jquery.tabIndex.js',
+ 'scripts' => 'resources/src/jquery/jquery.tabIndex.js',
),
'jquery.tablesorter' => array(
- 'scripts' => 'resources/jquery/jquery.tablesorter.js',
- 'styles' => 'resources/jquery/jquery.tablesorter.css',
+ 'scripts' => 'resources/src/jquery/jquery.tablesorter.js',
+ 'styles' => 'resources/src/jquery/jquery.tablesorter.css',
'messages' => array( 'sort-descending', 'sort-ascending' ),
'dependencies' => array(
'jquery.mwExtension',
@@ -307,376 +313,537 @@ return array(
),
),
'jquery.textSelection' => array(
- 'scripts' => 'resources/jquery/jquery.textSelection.js',
+ 'scripts' => 'resources/src/jquery/jquery.textSelection.js',
'dependencies' => 'jquery.client',
),
+ 'jquery.throttle-debounce' => array(
+ 'scripts' => 'resources/lib/jquery/jquery.ba-throttle-debounce.js',
+ ),
'jquery.validate' => array(
- 'scripts' => 'resources/jquery/jquery.validate.js',
+ 'scripts' => 'resources/lib/jquery/jquery.validate.js',
),
'jquery.xmldom' => array(
- 'scripts' => 'resources/jquery/jquery.xmldom.js',
+ 'scripts' => 'resources/lib/jquery/jquery.xmldom.js',
),
/* jQuery Tipsy */
'jquery.tipsy' => array(
- 'scripts' => 'resources/jquery.tipsy/jquery.tipsy.js',
- 'styles' => 'resources/jquery.tipsy/jquery.tipsy.css',
+ 'scripts' => 'resources/src/jquery.tipsy/jquery.tipsy.js',
+ 'styles' => 'resources/src/jquery.tipsy/jquery.tipsy.css',
),
/* jQuery UI */
- // Core
'jquery.ui.core' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.core.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.core.js',
'skinStyles' => array(
'default' => array(
- 'resources/jquery.ui/themes/default/jquery.ui.core.css',
- 'resources/jquery.ui/themes/default/jquery.ui.theme.css',
- ),
- 'vector' => array(
- 'resources/jquery.ui/themes/vector/jquery.ui.core.css',
- 'resources/jquery.ui/themes/vector/jquery.ui.theme.css',
+ 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.core.css',
+ 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.theme.css',
),
),
- 'dependencies' => 'jquery',
'group' => 'jquery.ui',
),
- 'jquery.ui.widget' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.widget.js',
+ 'jquery.ui.accordion' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.accordion.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.accordion.css',
+ ),
'group' => 'jquery.ui',
),
- 'jquery.ui.mouse' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.mouse.js',
- 'dependencies' => 'jquery.ui.widget',
+ 'jquery.ui.autocomplete' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.autocomplete.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ 'jquery.ui.menu',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.autocomplete.css',
+ ),
'group' => 'jquery.ui',
),
- 'jquery.ui.position' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.position.js',
+ 'jquery.ui.button' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.button.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.button.css',
+ ),
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.datepicker' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.datepicker.js',
+ 'dependencies' => 'jquery.ui.core',
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.datepicker.css',
+ ),
+ 'languageScripts' => array(
+ 'af' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-af.js',
+ 'ar' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
+ 'ar-dz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ar-DZ.js',
+ 'az' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-az.js',
+ 'bg' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
+ 'bs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
+ 'ca' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
+ 'cs' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
+ 'da' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-da.js',
+ 'de' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-de.js',
+ 'el' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-el.js',
+ 'en-au' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-AU.js',
+ 'en-gb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
+ 'en-nz' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-en-NZ.js',
+ 'eo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
+ 'es' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-es.js',
+ 'et' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-et.js',
+ 'eu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
+ 'fa' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
+ 'fi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
+ 'fo' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
+ 'fr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
+ 'fr-ch' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-fr-CH.js',
+ 'gl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
+ 'he' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-he.js',
+ 'hi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
+ 'hr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
+ 'hu' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
+ 'hy' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
+ 'id' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-id.js',
+ 'is' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-is.js',
+ 'it' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-it.js',
+ 'ja' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
+ 'ka' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
+ 'kk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
+ 'km' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-km.js',
+ 'ko' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
+ 'lb' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
+ 'lt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
+ 'lv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
+ 'mk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
+ 'ml' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
+ 'ms' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
+ 'nl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
+ 'nl-be' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-nl-BE.js',
+ 'no' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-no.js',
+ 'pl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
+ 'pt' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
+ 'pt-br' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
+ 'rm' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
+ 'ro' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
+ 'ru' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
+ 'sk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
+ 'sl' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
+ 'sq' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
+ 'sr-sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
+ 'sr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
+ 'sv' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
+ 'ta' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
+ 'th' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-th.js',
+ 'tj' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tj.js',
+ 'tr' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
+ 'uk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
+ 'vi' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
+ 'zh-cn' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
+ 'zh-hk' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
+ 'zh-tw' => 'resources/lib/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
+ ),
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.dialog' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.dialog.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.button',
+ 'jquery.ui.draggable',
+ 'jquery.ui.mouse',
+ 'jquery.ui.position',
+ 'jquery.ui.resizable',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.dialog.css',
+ ),
'group' => 'jquery.ui',
),
- // Interactions
'jquery.ui.draggable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.draggable.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget' ),
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.draggable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
+ ),
'group' => 'jquery.ui',
),
'jquery.ui.droppable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.droppable.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.droppable.js',
'dependencies' => array(
- 'jquery.ui.core', 'jquery.ui.mouse', 'jquery.ui.widget', 'jquery.ui.draggable',
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
+ 'jquery.ui.draggable',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.resizable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.resizable.js',
+ 'jquery.ui.menu' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.menu.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.resizable.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.resizable.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.menu.css',
),
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
'group' => 'jquery.ui',
),
- 'jquery.ui.selectable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.selectable.js',
- 'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.selectable.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.selectable.css',
- ),
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.mouse' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.mouse.js',
+ 'dependencies' => 'jquery.ui.widget',
'group' => 'jquery.ui',
),
- 'jquery.ui.sortable' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.sortable.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.position' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.position.js',
'group' => 'jquery.ui',
),
- // Widgets
- 'jquery.ui.accordion' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.accordion.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.progressbar' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.progressbar.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.accordion.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.accordion.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.progressbar.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.autocomplete' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.autocomplete.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.position' ),
+ 'jquery.ui.resizable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.resizable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.autocomplete.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.autocomplete.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.resizable.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.button' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.button.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.selectable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.selectable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.button.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.button.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.selectable.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.datepicker' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.datepicker.js',
- 'dependencies' => 'jquery.ui.core',
+ 'jquery.ui.slider' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.slider.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.mouse',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.datepicker.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.datepicker.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.slider.css',
),
- 'languageScripts' => array(
- 'af' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-af.js',
- 'ar' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ar.js',
- 'az' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-az.js',
- 'bg' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bg.js',
- 'bs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-bs.js',
- 'ca' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ca.js',
- 'cs' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-cs.js',
- 'da' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-da.js',
- 'de' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-de.js',
- 'el' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-el.js',
- 'en-gb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-en-GB.js',
- 'eo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eo.js',
- 'es' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-es.js',
- 'et' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-et.js',
- 'eu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-eu.js',
- 'fa' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fa.js',
- 'fi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fi.js',
- 'fo' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fo.js',
- 'fr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-fr.js',
- 'gl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-gl.js',
- 'he' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-he.js',
- 'hi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hi.js',
- 'hr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hr.js',
- 'hu' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hu.js',
- 'hy' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-hy.js',
- 'id' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-id.js',
- 'is' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-is.js',
- 'it' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-it.js',
- 'ja' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ja.js',
- 'ka' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ka.js',
- 'kk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-kk.js',
- 'km' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-km.js',
- 'ko' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ko.js',
- 'lb' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lb.js',
- 'lt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lt.js',
- 'lv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-lv.js',
- 'mk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-mk.js',
- 'ml' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ml.js',
- 'ms' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ms.js',
- 'nl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-nl.js',
- 'no' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-no.js',
- 'pl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pl.js',
- 'pt' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt.js',
- 'pt-br' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-pt-BR.js',
- 'rm' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-rm.js',
- 'ro' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ro.js',
- 'ru' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ru.js',
- 'sk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sk.js',
- 'sl' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sl.js',
- 'sq' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sq.js',
- 'sr-sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr-SR.js',
- 'sr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sr.js',
- 'sv' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-sv.js',
- 'ta' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-ta.js',
- 'th' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-th.js',
- 'tr' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-tr.js',
- 'uk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-uk.js',
- 'vi' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-vi.js',
- 'zh-cn' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-CN.js',
- 'zh-hk' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-HK.js',
- 'zh-tw' => 'resources/jquery.ui/i18n/jquery.ui.datepicker-zh-TW.js',
+ 'group' => 'jquery.ui',
+ ),
+ 'jquery.ui.sortable' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.sortable.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.mouse',
+ 'jquery.ui.widget',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.dialog' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.dialog.js',
+ 'jquery.ui.spinner' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.spinner.js',
'dependencies' => array(
'jquery.ui.core',
'jquery.ui.widget',
'jquery.ui.button',
- 'jquery.ui.draggable',
- 'jquery.ui.mouse',
- 'jquery.ui.position',
- 'jquery.ui.resizable',
),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.dialog.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.dialog.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.spinner.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.progressbar' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.progressbar.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
+ 'jquery.ui.tabs' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tabs.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.progressbar.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.progressbar.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tabs.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.slider' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.slider.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget', 'jquery.ui.mouse' ),
+ 'jquery.ui.tooltip' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.tooltip.js',
+ 'dependencies' => array(
+ 'jquery.ui.core',
+ 'jquery.ui.widget',
+ 'jquery.ui.position',
+ ),
'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.slider.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.slider.css',
+ 'default' => 'resources/lib/jquery.ui/themes/smoothness/jquery.ui.tooltip.css',
),
'group' => 'jquery.ui',
),
- 'jquery.ui.tabs' => array(
- 'scripts' => 'resources/jquery.ui/jquery.ui.tabs.js',
- 'dependencies' => array( 'jquery.ui.core', 'jquery.ui.widget' ),
- 'skinStyles' => array(
- 'default' => 'resources/jquery.ui/themes/default/jquery.ui.tabs.css',
- 'vector' => 'resources/jquery.ui/themes/vector/jquery.ui.tabs.css',
- ),
+ 'jquery.ui.widget' => array(
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.widget.js',
'group' => 'jquery.ui',
),
// Effects
'jquery.effects.core' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.core.js',
- 'dependencies' => 'jquery',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect.js',
'group' => 'jquery.ui',
),
'jquery.effects.blind' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.blind.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-blind.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.bounce' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.bounce.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-bounce.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.clip' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.clip.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-clip.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.drop' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.drop.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-drop.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.explode' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.explode.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-explode.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.fade' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.fade.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fade.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.fold' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.fold.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-fold.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.highlight' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.highlight.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-highlight.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.pulsate' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.pulsate.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-pulsate.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.scale' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.scale.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-scale.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.shake' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.shake.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-shake.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.slide' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.slide.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-slide.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
'jquery.effects.transfer' => array(
- 'scripts' => 'resources/jquery.effects/jquery.effects.transfer.js',
+ 'scripts' => 'resources/lib/jquery.ui/jquery.ui.effect-transfer.js',
'dependencies' => 'jquery.effects.core',
'group' => 'jquery.ui',
),
+ /* json2 */
+
+ 'json' => array(
+ 'scripts' => 'resources/lib/json2/json2.js',
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'skipFunction' => 'resources/src/json-skip.js',
+ ),
+
+ /* Moment.js */
+
+ 'moment' => array(
+ 'scripts' => 'resources/lib/moment/moment.js',
+ 'languageScripts' => array(
+ 'af' => 'resources/lib/moment/locale/af.js',
+ 'ar' => 'resources/lib/moment/locale/ar.js',
+ 'ar-ma' => 'resources/lib/moment/locale/ar-ma.js',
+ 'ar-sa' => 'resources/lib/moment/locale/ar-sa.js',
+ 'az' => 'resources/lib/moment/locale/az.js',
+ 'be' => 'resources/lib/moment/locale/be.js',
+ 'bg' => 'resources/lib/moment/locale/bg.js',
+ 'bn' => 'resources/lib/moment/locale/bn.js',
+ 'bo' => 'resources/lib/moment/locale/bo.js',
+ 'br' => 'resources/lib/moment/locale/br.js',
+ 'bs' => 'resources/lib/moment/locale/bs.js',
+ 'ca' => 'resources/lib/moment/locale/ca.js',
+ 'cs' => 'resources/lib/moment/locale/cs.js',
+ 'cv' => 'resources/lib/moment/locale/cv.js',
+ 'cy' => 'resources/lib/moment/locale/cy.js',
+ 'da' => 'resources/lib/moment/locale/da.js',
+ 'de' => 'resources/lib/moment/locale/de.js',
+ 'de-at' => 'resources/lib/moment/locale/de-at.js',
+ 'el' => 'resources/lib/moment/locale/el.js',
+ 'en-au' => 'resources/lib/moment/locale/en-au.js',
+ 'en-ca' => 'resources/lib/moment/locale/en-ca.js',
+ 'en-gb' => 'resources/lib/moment/locale/en-gb.js',
+ 'eo' => 'resources/lib/moment/locale/eo.js',
+ 'es' => 'resources/lib/moment/locale/es.js',
+ 'et' => 'resources/lib/moment/locale/et.js',
+ 'eu' => 'resources/lib/moment/locale/eu.js',
+ 'fa' => 'resources/lib/moment/locale/fa.js',
+ 'fi' => 'resources/lib/moment/locale/fi.js',
+ 'fo' => 'resources/lib/moment/locale/fo.js',
+ 'fr-ca' => 'resources/lib/moment/locale/fr-ca.js',
+ 'fr' => 'resources/lib/moment/locale/fr.js',
+ 'gl' => 'resources/lib/moment/locale/gl.js',
+ 'he' => 'resources/lib/moment/locale/he.js',
+ 'hi' => 'resources/lib/moment/locale/hi.js',
+ 'hr' => 'resources/lib/moment/locale/hr.js',
+ 'hu' => 'resources/lib/moment/locale/hu.js',
+ 'hy-am' => 'resources/lib/moment/locale/hy-am.js',
+ 'id' => 'resources/lib/moment/locale/id.js',
+ 'is' => 'resources/lib/moment/locale/is.js',
+ 'it' => 'resources/lib/moment/locale/it.js',
+ 'ja' => 'resources/lib/moment/locale/ja.js',
+ 'ka' => 'resources/lib/moment/locale/ka.js',
+ 'ko' => 'resources/lib/moment/locale/ko.js',
+ 'lt' => 'resources/lib/moment/locale/lt.js',
+ 'lv' => 'resources/lib/moment/locale/lv.js',
+ 'mk' => 'resources/lib/moment/locale/mk.js',
+ 'ml' => 'resources/lib/moment/locale/ml.js',
+ 'mr' => 'resources/lib/moment/locale/mr.js',
+ 'ms-my' => 'resources/lib/moment/locale/ms-my.js',
+ 'my' => 'resources/lib/moment/locale/my.js',
+ 'nb' => 'resources/lib/moment/locale/nb.js',
+ 'ne' => 'resources/lib/moment/locale/ne.js',
+ 'nl' => 'resources/lib/moment/locale/nl.js',
+ 'nn' => 'resources/lib/moment/locale/nn.js',
+ 'pl' => 'resources/lib/moment/locale/pl.js',
+ 'pt-br' => 'resources/lib/moment/locale/pt-br.js',
+ 'pt' => 'resources/lib/moment/locale/pt.js',
+ 'ro' => 'resources/lib/moment/locale/ro.js',
+ 'ru' => 'resources/lib/moment/locale/ru.js',
+ 'sk' => 'resources/lib/moment/locale/sk.js',
+ 'sl' => 'resources/lib/moment/locale/sl.js',
+ 'sq' => 'resources/lib/moment/locale/sq.js',
+ 'sr' => 'resources/lib/moment/locale/sr.js',
+ 'sr-ec' => 'resources/lib/moment/locale/sr-cyrl.js',
+ 'sv' => 'resources/lib/moment/locale/sv.js',
+ 'ta' => 'resources/lib/moment/locale/ta.js',
+ 'th' => 'resources/lib/moment/locale/th.js',
+ 'tl-ph' => 'resources/lib/moment/locale/tl-ph.js',
+ 'tr' => 'resources/lib/moment/locale/tr.js',
+ 'tzm' => 'resources/lib/moment/locale/tzm.js',
+ 'tzm-latn' => 'resources/lib/moment/locale/tzm-latn.js',
+ 'uk' => 'resources/lib/moment/locale/uk.js',
+ 'uz' => 'resources/lib/moment/locale/uz.js',
+ 'vi' => 'resources/lib/moment/locale/vi.js',
+ 'zh-cn' => 'resources/lib/moment/locale/zh-cn.js',
+ 'zh-tw' => 'resources/lib/moment/locale/zh-tw.js',
+ ),
+ ),
+
/* MediaWiki */
'mediawiki' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.js',
- 'debugScripts' => 'resources/mediawiki/mediawiki.log.js',
- 'debugRaw' => false,
+ 'scripts' => 'resources/src/mediawiki/mediawiki.js',
+ 'debugScripts' => 'resources/src/mediawiki/mediawiki.log.js',
+ 'raw' => true,
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.api' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.js',
'dependencies' => 'mediawiki.util',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.api.category' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.category.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.category.js',
'dependencies' => array(
'mediawiki.api',
'mediawiki.Title',
),
),
'mediawiki.api.edit' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.edit.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.edit.js',
'dependencies' => array(
'mediawiki.api',
'mediawiki.Title',
+ 'user.tokens',
),
),
'mediawiki.api.login' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.login.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.login.js',
'dependencies' => array(
'mediawiki.api',
),
),
'mediawiki.api.parse' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.parse.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.parse.js',
'dependencies' => 'mediawiki.api',
),
'mediawiki.api.watch' => array(
- 'scripts' => 'resources/mediawiki.api/mediawiki.api.watch.js',
+ 'scripts' => 'resources/src/mediawiki.api/mediawiki.api.watch.js',
'dependencies' => array(
'mediawiki.api',
'user.tokens',
),
),
- 'mediawiki.icon' => array(
- 'styles' => 'resources/mediawiki/mediawiki.icon.css',
+ 'mediawiki.content.json' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.content.json.css',
),
'mediawiki.debug' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.debug.js',
- 'styles' => 'resources/mediawiki/mediawiki.debug.css',
- 'dependencies' => 'jquery.footHovzer',
+ 'scripts' => array(
+ 'resources/src/mediawiki/mediawiki.debug.js',
+ 'resources/src/mediawiki/mediawiki.debug.profile.js'
+ ),
+ 'styles' => array(
+ 'resources/src/mediawiki/mediawiki.debug.less',
+ 'resources/src/mediawiki/mediawiki.debug.profile.css'
+ ),
+ 'dependencies' => array(
+ 'jquery.footHovzer',
+ 'jquery.tipsy',
+ ),
'position' => 'bottom',
),
'mediawiki.debug.init' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.debug.init.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.debug.init.js',
'dependencies' => 'mediawiki.debug',
// Uses a custom mw.config variable that is set in debughtml,
// must be loaded on the bottom
'position' => 'bottom',
),
- 'mediawiki.inspect' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.inspect.js',
- 'dependencies' => array(
- 'jquery.byteLength',
- 'jquery.json',
- ),
- 'targets' => array( 'desktop', 'mobile' ),
- ),
'mediawiki.feedback' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.feedback.js',
- 'styles' => 'resources/mediawiki/mediawiki.feedback.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.feedback.js',
+ 'styles' => 'resources/src/mediawiki/mediawiki.feedback.css',
'dependencies' => array(
'mediawiki.api.edit',
'mediawiki.Title',
@@ -700,36 +867,66 @@ return array(
),
),
'mediawiki.hidpi' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.hidpi.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.hidpi.js',
'dependencies' => array(
'jquery.hidpi',
),
+ 'skipFunction' => 'resources/src/mediawiki.hidpi-skip.js',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.hlist' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.hlist.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.hlist.js',
+ 'dependencies' => array(
+ 'jquery.client',
+ ),
+ ),
'mediawiki.htmlform' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.htmlform.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.htmlform.js',
+ 'dependencies' => array(
+ 'jquery.mwExtension',
+ ),
'messages' => array( 'htmlform-chosen-placeholder' ),
),
+ 'mediawiki.icon' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.icon.less',
+ ),
+ 'mediawiki.inspect' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.inspect.js',
+ 'dependencies' => array(
+ 'jquery.byteLength',
+ 'json',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
'mediawiki.notification' => array(
- 'styles' => 'resources/mediawiki/mediawiki.notification.css',
- 'scripts' => 'resources/mediawiki/mediawiki.notification.js',
+ 'styles' => array(
+ 'resources/src/mediawiki/mediawiki.notification.css',
+ 'resources/src/mediawiki/mediawiki.notification.hideForPrint.css'
+ => array( 'media' => 'print' ),
+ ),
+ 'scripts' => 'resources/src/mediawiki/mediawiki.notification.js',
'dependencies' => array(
'mediawiki.page.startup',
),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.notify' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.notify.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.notify.js',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.pager.tablePager' => array(
+ 'styles' => 'resources/src/mediawiki/mediawiki.pager.tablePager.less',
+ 'position' => 'top',
+ ),
'mediawiki.searchSuggest' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.searchSuggest.js',
- 'styles' => 'resources/mediawiki/mediawiki.searchSuggest.css',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.searchSuggest.js',
+ 'styles' => 'resources/src/mediawiki/mediawiki.searchSuggest.css',
'messages' => array(
'searchsuggest-search',
'searchsuggest-containing',
),
'dependencies' => array(
- 'jquery.autoEllipsis',
'jquery.client',
'jquery.placeholder',
'jquery.suggestions',
@@ -737,62 +934,85 @@ return array(
),
),
'mediawiki.Title' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.Title.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.Title.js',
'dependencies' => array(
'jquery.byteLength',
'mediawiki.util',
),
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.toc' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.toc.js',
+ 'dependencies' => array(
+ 'jquery.cookie',
+ ),
+ 'messages' => array( 'showtoc', 'hidetoc' ),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.Uri' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.Uri.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.Uri.js',
+ 'dependencies' => 'mediawiki.util',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.user' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.user.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.user.js',
'dependencies' => array(
'jquery.cookie',
'mediawiki.api',
'user.options',
'user.tokens',
),
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.util' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.util.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.util.js',
'dependencies' => array(
- 'jquery.client',
- 'jquery.cookie',
+ 'jquery.accessKeyLabel',
'jquery.mwExtension',
'mediawiki.notify',
),
- 'messages' => array( 'showtoc', 'hidetoc' ),
'position' => 'top', // For $wgPreloadJavaScriptMwUtil
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.cookie' => array(
+ 'scripts' => 'resources/src/mediawiki/mediawiki.cookie.js',
+ 'dependencies' => array(
+ 'jquery.cookie',
+ ),
+ ),
/* MediaWiki Action */
'mediawiki.action.edit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.css',
'dependencies' => array(
'mediawiki.action.edit.styles',
+ 'mediawiki.action.edit.toolbar',
'jquery.textSelection',
'jquery.byteLimit',
),
'position' => 'top',
),
'mediawiki.action.edit.styles' => array(
- 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.styles.css',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.styles.css',
'position' => 'top',
),
+ 'mediawiki.action.edit.toolbar' => array(
+ 'class' => 'ResourceLoaderEditToolbarModule',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.toolbar/mediawiki.action.edit.toolbar.less',
+ ),
'mediawiki.action.edit.collapsibleFooter' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
- 'styles' => 'resources/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.edit.collapsibleFooter.css',
'dependencies' => array(
'jquery.makeCollapsible',
+ 'jquery.cookie',
'mediawiki.icon',
),
),
'mediawiki.action.edit.preview' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.preview.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.preview.js',
'dependencies' => array(
'jquery.form',
'jquery.spinner',
@@ -800,83 +1020,106 @@ return array(
),
),
'mediawiki.action.history' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.history.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.history.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.css',
'group' => 'mediawiki.action.history',
),
'mediawiki.action.history.diff' => array(
- 'styles' => 'resources/mediawiki.action/mediawiki.action.history.diff.css',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.history.diff.css',
'group' => 'mediawiki.action.history',
+ 'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.action.view.dblClickEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.dblClickEdit.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.page.startup',
),
),
'mediawiki.action.view.metadata' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.metadata.js',
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.css',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.metadata.js',
'messages' => array(
'metadata-expand',
'metadata-collapse',
),
),
'mediawiki.action.view.postEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.js',
- 'styles' => 'resources/mediawiki.action/mediawiki.action.view.postEdit.css',
+ '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(
- 'postedit-confirmation',
+ 'postedit-confirmation-created',
+ 'postedit-confirmation-restored',
+ 'postedit-confirmation-saved',
+ ),
+ ),
+ 'mediawiki.action.view.redirect' => array(
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.redirect.js',
+ 'dependencies' => array(
+ 'jquery.client',
),
+ 'position' => 'top',
+ ),
+ 'mediawiki.action.view.redirectPage' => array(
+ 'styles' => 'resources/src/mediawiki.action/mediawiki.action.view.redirectPage.css',
+ 'position' => 'top',
),
'mediawiki.action.view.rightClickEdit' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.view.rightClickEdit.js',
),
'mediawiki.action.edit.editWarning' => array(
- 'scripts' => 'resources/mediawiki.action/mediawiki.action.edit.editWarning.js',
+ 'scripts' => 'resources/src/mediawiki.action/mediawiki.action.edit.editWarning.js',
+ 'dependencies' => array(
+ 'jquery.textSelection',
+ 'mediawiki.jqueryMsg'
+ ),
'messages' => array(
'editwarning-warning',
+ 'prefs-editing'
),
),
- // Alias for backwards compatibility
- 'mediawiki.action.watch.ajax' => array(
- 'dependencies' => 'mediawiki.page.watch.ajax'
- ),
/* MediaWiki Language */
'mediawiki.language' => array(
'scripts' => array(
- 'resources/mediawiki.language/mediawiki.language.js',
- 'resources/mediawiki.language/mediawiki.language.numbers.js'
+ 'resources/src/mediawiki.language/mediawiki.language.js',
+ 'resources/src/mediawiki.language/mediawiki.language.numbers.js',
+ 'resources/src/mediawiki.language/mediawiki.language.fallback.js',
),
'languageScripts' => array(
- 'bs' => 'resources/mediawiki.language/languages/bs.js',
- 'dsb' => 'resources/mediawiki.language/languages/dsb.js',
- 'fi' => 'resources/mediawiki.language/languages/fi.js',
- 'ga' => 'resources/mediawiki.language/languages/ga.js',
- 'he' => 'resources/mediawiki.language/languages/he.js',
- 'hsb' => 'resources/mediawiki.language/languages/hsb.js',
- 'hu' => 'resources/mediawiki.language/languages/hu.js',
- 'hy' => 'resources/mediawiki.language/languages/hy.js',
- 'la' => 'resources/mediawiki.language/languages/la.js',
- 'os' => 'resources/mediawiki.language/languages/os.js',
- 'ru' => 'resources/mediawiki.language/languages/ru.js',
- 'sl' => 'resources/mediawiki.language/languages/sl.js',
- 'uk' => 'resources/mediawiki.language/languages/uk.js',
+ 'bs' => 'resources/src/mediawiki.language/languages/bs.js',
+ 'dsb' => 'resources/src/mediawiki.language/languages/dsb.js',
+ 'fi' => 'resources/src/mediawiki.language/languages/fi.js',
+ 'ga' => 'resources/src/mediawiki.language/languages/ga.js',
+ 'he' => 'resources/src/mediawiki.language/languages/he.js',
+ 'hsb' => 'resources/src/mediawiki.language/languages/hsb.js',
+ 'hu' => 'resources/src/mediawiki.language/languages/hu.js',
+ 'hy' => 'resources/src/mediawiki.language/languages/hy.js',
+ 'la' => 'resources/src/mediawiki.language/languages/la.js',
+ 'os' => 'resources/src/mediawiki.language/languages/os.js',
+ 'ru' => 'resources/src/mediawiki.language/languages/ru.js',
+ 'sl' => 'resources/src/mediawiki.language/languages/sl.js',
+ 'uk' => 'resources/src/mediawiki.language/languages/uk.js',
),
'dependencies' => array(
'mediawiki.language.data',
'mediawiki.cldr',
),
'targets' => array( 'desktop', 'mobile' ),
+ 'messages' => array(
+ 'and',
+ 'comma-separator',
+ 'word-separator'
+ ),
),
'mediawiki.cldr' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.cldr.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.cldr.js',
'dependencies' => array(
'mediawiki.libs.pluralruleparser',
),
@@ -884,17 +1127,17 @@ return array(
),
'mediawiki.libs.pluralruleparser' => array(
- 'scripts' => 'resources/mediawiki.libs/CLDRPluralRuleParser.js',
+ 'scripts' => 'resources/src/mediawiki.libs/CLDRPluralRuleParser.js',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.language.init' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.language.init.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.init.js',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.jqueryMsg' => array(
- 'scripts' => 'resources/mediawiki/mediawiki.jqueryMsg.js',
+ 'scripts' => 'resources/src/mediawiki/mediawiki.jqueryMsg.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.language',
@@ -903,7 +1146,7 @@ return array(
),
'mediawiki.language.months' => array(
- 'scripts' => 'resources/mediawiki.language/mediawiki.language.months.js',
+ 'scripts' => 'resources/src/mediawiki.language/mediawiki.language.months.js',
'dependencies' => 'mediawiki.language',
'messages' => array_merge(
Language::$mMonthMsgs,
@@ -912,39 +1155,40 @@ return array(
)
),
+ 'mediawiki.language.names' => array( 'class' => 'ResourceLoaderLanguageNamesModule' ),
+
/* MediaWiki Libs */
'mediawiki.libs.jpegmeta' => array(
- 'scripts' => 'resources/mediawiki.libs/mediawiki.libs.jpegmeta.js',
+ 'scripts' => 'resources/src/mediawiki.libs/mediawiki.libs.jpegmeta.js',
),
/* MediaWiki Page */
'mediawiki.page.gallery' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.gallery.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.gallery.js',
),
'mediawiki.page.ready' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.ready.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.ready.js',
'dependencies' => array(
+ 'jquery.accessKeyLabel',
'jquery.checkboxShiftClick',
'jquery.makeCollapsible',
'jquery.placeholder',
'jquery.mw-jump',
- 'mediawiki.util',
),
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.page.startup' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.startup.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.startup.js',
'dependencies' => array(
- 'jquery.client',
'mediawiki.util',
),
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
'mediawiki.page.patrol.ajax' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.patrol.ajax.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.patrol.ajax.js',
'dependencies' => array(
'mediawiki.page.startup',
'mediawiki.api',
@@ -961,12 +1205,13 @@ return array(
),
),
'mediawiki.page.watch.ajax' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.watch.ajax.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.watch.ajax.js',
'dependencies' => array(
- 'mediawiki.page.startup',
'mediawiki.api.watch',
- 'mediawiki.util',
'mediawiki.notify',
+ 'mediawiki.page.startup',
+ 'mediawiki.util',
+ 'jquery.accessKeyLabel',
'jquery.mwExtension',
),
'messages' => array(
@@ -980,29 +1225,30 @@ return array(
),
),
'mediawiki.page.image.pagination' => array(
- 'scripts' => 'resources/mediawiki.page/mediawiki.page.image.pagination.js',
+ 'scripts' => 'resources/src/mediawiki.page/mediawiki.page.image.pagination.js',
'dependencies' => array(
'mediawiki.Uri',
'mediawiki.util',
'jquery.spinner',
- )
+ ),
),
/* MediaWiki Special pages */
'mediawiki.special' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.css',
),
'mediawiki.special.block' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.block.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.block.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.block.css',
'dependencies' => array(
'mediawiki.util',
),
),
'mediawiki.special.changeemail' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.changeemail.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeemail.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeemail.css',
'dependencies' => array(
'mediawiki.util',
),
@@ -1012,31 +1258,55 @@ return array(
),
),
'mediawiki.special.changeslist' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.css',
+ ),
+ 'mediawiki.special.changeslist.legend' => array(
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.css',
+ ),
+ 'mediawiki.special.changeslist.legend.js' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.legend.js',
+ 'dependencies' => array(
+ 'jquery.makeCollapsible',
+ 'jquery.cookie',
+ ),
),
'mediawiki.special.changeslist.enhanced' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.changeslist.enhanced.css',
+ ),
+ 'mediawiki.special.import' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.import.js',
),
'mediawiki.special.movePage' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.movePage.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.movePage.js',
'dependencies' => 'jquery.byteLimit',
),
+ 'mediawiki.special.pageLanguage' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.pageLanguage.js',
+ ),
'mediawiki.special.pagesWithProp' => array(
- 'styles' => 'resources/mediawiki.special/mediawiki.special.pagesWithProp.css',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.pagesWithProp.css',
),
'mediawiki.special.preferences' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.preferences.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.preferences.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.preferences.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.preferences.css',
'position' => 'top',
+ 'messages' => array(
+ 'prefs-tabs-navigation-hint',
+ 'prefswarning-warning',
+ 'saveprefs',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.language',
+ ),
),
'mediawiki.special.recentchanges' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.recentchanges.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.recentchanges.js',
'dependencies' => array( 'mediawiki.special' ),
'position' => 'top',
),
'mediawiki.special.search' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.search.js',
- 'styles' => 'resources/mediawiki.special/mediawiki.special.search.css',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.search.js',
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.search.css',
'messages' => array(
'powersearch-togglelabel',
'powersearch-toggleall',
@@ -1044,11 +1314,10 @@ return array(
),
),
'mediawiki.special.undelete' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.undelete.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.undelete.js',
),
'mediawiki.special.upload' => array(
- // @todo merge in remainder of mediawiki.legacy.upload
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.upload.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.upload.js',
'messages' => array(
'widthheight',
'size-bytes',
@@ -1058,35 +1327,76 @@ return array(
'largefileserver',
),
'dependencies' => array(
+ 'jquery.spinner',
+ 'mediawiki.api',
'mediawiki.libs.jpegmeta',
+ 'mediawiki.Title',
'mediawiki.util',
),
),
- 'mediawiki.special.userlogin' => array(
+ 'mediawiki.special.userlogin.common.styles' => array(
+ 'styles' => array(
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.css',
+ ),
+ 'position' => 'top',
+ ),
+ 'mediawiki.special.userlogin.signup.styles' => array(
'styles' => array(
- 'resources/mediawiki.special/mediawiki.special.vforms.css',
- 'resources/mediawiki.special/mediawiki.special.userLogin.css',
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.css',
),
'position' => 'top',
),
- 'mediawiki.special.createaccount' => array(
+ 'mediawiki.special.userlogin.login.styles' => array(
'styles' => array(
- 'resources/mediawiki.special/mediawiki.special.vforms.css',
- 'resources/mediawiki.special/mediawiki.special.createAccount.css',
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.login.css',
),
+ 'position' => 'top',
),
- 'mediawiki.special.createaccount.js' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.createAccount.js',
+ 'mediawiki.special.userlogin.common.js' => array(
+ 'scripts' => array(
+ 'resources/src/mediawiki.special/mediawiki.special.userlogin.common.js',
+ ),
'messages' => array(
'createacct-captcha',
+ 'createacct-imgcaptcha-ph',
+ ),
+ ),
+ 'mediawiki.special.userlogin.signup.js' => array(
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.userlogin.signup.js',
+ 'messages' => array(
+ 'createacct-error',
'createacct-emailrequired',
- 'createacct-imgcaptcha-ph'
+ 'noname',
+ 'userexists',
+ ),
+ 'dependencies' => array(
+ 'mediawiki.api',
+ 'mediawiki.jqueryMsg',
+ '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.util',
),
- 'dependencies' => 'mediawiki.jqueryMsg',
- 'position' => 'top',
),
'mediawiki.special.javaScriptTest' => array(
- 'scripts' => 'resources/mediawiki.special/mediawiki.special.javaScriptTest.js',
+ 'scripts' => 'resources/src/mediawiki.special/mediawiki.special.javaScriptTest.js',
'messages' => array_merge( Skin::getSkinNameMessages(), array(
'colon-separator',
'javascripttest-pagetext-skins',
@@ -1095,92 +1405,162 @@ return array(
'position' => 'top',
'targets' => array( 'desktop', 'mobile' ),
),
+ 'mediawiki.special.version' => array(
+ 'styles' => 'resources/src/mediawiki.special/mediawiki.special.version.css',
+ ),
- /* MediaWiki Tests */
+ /* MediaWiki Installer */
- 'mediawiki.tests.qunit.testrunner' => array(
- 'scripts' => 'tests/qunit/data/testrunner.js',
- 'dependencies' => array(
- 'jquery.getAttrs',
- 'jquery.qunit',
- 'jquery.qunit.completenessTest',
- 'mediawiki.page.startup',
- 'mediawiki.page.ready',
- ),
- 'position' => 'top',
- 'targets' => array( 'desktop', 'mobile' ),
+ 'mediawiki.legacy.config' => array(
+ // Used in the web installer. Test it after modifying this definition!
+ // These files are not actually loaded via ResourceLoader, so dependencies etc. won't work.
+ 'scripts' => 'mw-config/config.js',
+ 'styles' => 'mw-config/config.css',
),
/* MediaWiki Legacy */
'mediawiki.legacy.ajax' => array(
- 'scripts' => 'common/ajax.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/ajax.js',
'dependencies' => array(
'mediawiki.util',
'mediawiki.legacy.wikibits',
),
- 'position' => 'top', // Temporary hack for legacy support
+ 'position' => 'top',
),
'mediawiki.legacy.commonPrint' => array(
- 'styles' => array( 'common/commonPrint.css' => array( 'media' => 'print' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'mediawiki.legacy.config' => array(
- // Used in the web installer. Test it after modifying this definition!
- 'scripts' => 'common/config.js',
- 'styles' => array( 'common/config.css' ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'dependencies' => 'mediawiki.legacy.wikibits',
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/commonPrint.css' => array( 'media' => 'print' )
+ ),
),
'mediawiki.legacy.protect' => array(
- 'scripts' => 'common/protect.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/protect.js',
'dependencies' => array(
'jquery.byteLimit',
),
- 'position' => 'top',
+ 'messages' => array( 'protect-unchain-permissions' )
),
'mediawiki.legacy.shared' => array(
// Used in the web installer. Test it after modifying this definition!
- 'styles' => array( 'common/shared.css' => array( 'media' => 'screen' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/shared.css' => array( 'media' => 'screen' )
+ ),
),
'mediawiki.legacy.oldshared' => array(
- 'styles' => array( 'common/oldshared.css' => array( 'media' => 'screen' ) ),
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- ),
- 'mediawiki.legacy.upload' => array(
- 'scripts' => 'common/upload.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
- 'dependencies' => array(
- 'jquery.spinner',
- 'mediawiki.api',
- 'mediawiki.Title',
- 'mediawiki.util',
+ 'styles' => array(
+ 'resources/src/mediawiki.legacy/oldshared.css' => array( 'media' => 'screen' )
),
),
'mediawiki.legacy.wikibits' => array(
- 'scripts' => 'common/wikibits.js',
- 'remoteBasePath' => $GLOBALS['wgStylePath'],
- 'localBasePath' => $GLOBALS['wgStyleDirectory'],
+ 'scripts' => 'resources/src/mediawiki.legacy/wikibits.js',
'dependencies' => array(
'mediawiki.util',
),
'position' => 'top',
),
+
+ /* MediaWiki UI */
+
'mediawiki.ui' => array(
'skinStyles' => array(
- 'default' => 'resources/mediawiki.ui/mediawiki.ui.default.css',
- 'vector' => 'resources/mediawiki.ui/mediawiki.ui.vector.css',
+ 'default' => array(
+ 'resources/src/mediawiki.ui/default.less',
+ ),
),
'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.ui.checkbox' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/checkbox.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ // Lightweight module for anchor styles
+ 'mediawiki.ui.anchor' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/anchors.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ // Lightweight module for button styles
+ 'mediawiki.ui.button' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/buttons.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+ 'mediawiki.ui.input' => array(
+ 'skinStyles' => array(
+ 'default' => array(
+ 'resources/src/mediawiki.ui/components/inputs.less',
+ ),
+ ),
+ 'position' => 'top',
+ 'targets' => array( 'desktop', 'mobile' ),
+ ),
+
+ /* es5-shim */
+ 'es5-shim' => array(
+ 'scripts' => array(
+ 'resources/lib/es5-shim/es5-shim.js',
+ 'resources/src/polyfill-object-create.js',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'skipFunction' => 'resources/src/es5-skip.js',
+ ),
+
+ /* OOjs */
+ 'oojs' => array(
+ 'scripts' => array(
+ 'resources/lib/oojs/oojs.jquery.js',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
+ 'dependencies' => array(
+ 'es5-shim',
+ 'json',
+ ),
+ ),
+
+ /* OOjs UI */
+ // WARNING: OOjs-UI is NOT TESTED with older browsers and is likely to break
+ // if loaded in browsers that don't support ES5
+ 'oojs-ui' => array(
+ 'scripts' => array(
+ 'resources/lib/oojs-ui/oojs-ui.js',
+ ),
+ 'styles' => array(
+ 'resources/lib/oojs-ui/oojs-ui.svg.css',
+ ),
+ 'skinStyles' => array(
+ 'default' => 'resources/lib/oojs-ui/oojs-ui-apex.css',
+ // FIXME As of July 2014, this is to be gone "in a couple of months".
+ 'minerva' => 'resources/lib/oojs-ui/oojs-ui-minerva.css',
+ ),
+ 'messages' => array(
+ 'ooui-outline-control-move-down',
+ 'ooui-outline-control-move-up',
+ 'ooui-outline-control-remove',
+ 'ooui-toolbar-more',
+ 'ooui-dialog-message-accept',
+ 'ooui-dialog-message-reject',
+ 'ooui-dialog-process-dismiss',
+ 'ooui-dialog-process-error',
+ 'ooui-dialog-process-retry',
+ ),
+ 'dependencies' => array(
+ 'es5-shim',
+ 'oojs',
+ ),
+ 'targets' => array( 'desktop', 'mobile' ),
),
);