JavaScript and CSS resource definitions. More...
Go to the source code of this file.
Variables | |
$resourcePaths | |
$wgResourceModules ['ext.translate'] | |
$wgResourceModules ['ext.translate.base'] | |
$wgResourceModules ['ext.translate.dropdownmenu'] | |
$wgResourceModules ['ext.translate.editor'] | |
$wgResourceModules ['ext.translate.groupselector'] | |
$wgResourceModules ['ext.translate.helplink'] | |
$wgResourceModules ['ext.translate.hooks'] | |
$wgResourceModules ['ext.translate.loader'] | |
$wgResourceModules ['ext.translate.messagetable'] | |
$wgResourceModules ['ext.translate.messagewebimporter'] | |
$wgResourceModules ['ext.translate.multiselectautocomplete'] | |
$wgResourceModules ['ext.translate.navitoggle'] | |
$wgResourceModules ['ext.translate.pagetranslation.uls'] | |
$wgResourceModules ['ext.translate.parsers'] | |
$wgResourceModules ['ext.translate.quickedit'] | |
$wgResourceModules ['ext.translate.selecttoinput'] | |
$wgResourceModules ['ext.translate.special.aggregategroups'] | |
$wgResourceModules ['ext.translate.special.importtranslations'] | |
$wgResourceModules ['ext.translate.special.languagestats'] | |
$wgResourceModules ['ext.translate.special.managegroups'] | |
$wgResourceModules ['ext.translate.special.pagetranslation'] | |
$wgResourceModules ['ext.translate.special.searchtranslations'] | |
$wgResourceModules ['ext.translate.special.supportedlanguages'] | |
$wgResourceModules ['ext.translate.special.translate'] | |
$wgResourceModules ['ext.translate.special.translatesandbox'] | |
$wgResourceModules ['ext.translate.special.translationstash'] | |
$wgResourceModules ['ext.translate.special.translationstats'] | |
$wgResourceModules ['ext.translate.statsbar'] | |
$wgResourceModules ['ext.translate.storage'] | |
$wgResourceModules ['ext.translate.tabgroup'] | |
$wgResourceModules ['ext.translate.translationstashstorage'] | |
$wgResourceModules ['ext.translate.workflowselector'] | |
$wgResourceModules ['jquery.autosize'] | |
$wgResourceModules ['jquery.textchange'] | |
$wgResourceModules ['jquery.ui.position.custom'] | |
$wgHooks ['ResourceLoaderTestModules'][] |
JavaScript and CSS resource definitions.
Definition in file Resources.php.
$resourcePaths |
array( 'localBasePath' => __DIR__, 'remoteExtPath' => 'Translate' )
Definition at line 9 of file Resources.php.
$wgHooks['ResourceLoaderTestModules'][] |
function ( array &$modules ) use ( $resourcePaths ) { $modules['qunit']['ext.translate.parsers.test'] = array( 'scripts' => array( 'tests/qunit/ext.translate.parsers.test.js' ), 'dependencies' => array( 'ext.translate.parsers' ), ) + $resourcePaths; return true; }
Definition at line 457 of file Resources.php.
Referenced by TranslationFuzzyUpdaterTest::setUp(), TranslateHooksTest::setUp(), SolrTTMServerTest::setUp(), PageTranslationTaggingText::setUp(), MessageGroupsTest::setUp(), MessageGroupStatesUpdaterJobTest::setUp(), MessageCollectionTest::setUp(), ApiTranslationReviewTest::setUp(), ApiQueryMessageGroupsTest::setUp(), TranslateHooks::setupTranslate(), and SolrTTMServerTest::testSearchableTTMServer().
$wgResourceModules['jquery.ui.position.custom'] |
array( 'scripts' => 'resources/js/jquery.ui.position.js', ) + $resourcePaths
Definition at line 453 of file Resources.php.
$wgResourceModules['jquery.textchange'] |
array( 'scripts' => 'resources/js/jquery.textchange.js', ) + $resourcePaths
Definition at line 447 of file Resources.php.
$wgResourceModules['jquery.autosize'] |
array( 'scripts' => 'resources/js/jquery.autosize.js', ) + $resourcePaths
Definition at line 443 of file Resources.php.
$wgResourceModules['ext.translate.workflowselector'] |
array( 'styles' => 'resources/css/ext.translate.workflowselector.css', 'scripts' => 'resources/js/ext.translate.workflowselector.js', 'messages' => array( 'translate-workflow-set-doing', 'translate-workflowstatus', ), 'dependencies' => array( 'ext.translate.dropdownmenu', ), ) + $resourcePaths
Definition at line 430 of file Resources.php.
$wgResourceModules['ext.translate.translationstashstorage'] |
array( 'scripts' => 'resources/js/ext.translate.translationstashstorage.js', ) + $resourcePaths
Definition at line 426 of file Resources.php.
$wgResourceModules['ext.translate.tabgroup'] |
array( 'styles' => 'resources/css/ext.translate.tabgroup.css', 'position' => 'top', ) + $resourcePaths
Definition at line 421 of file Resources.php.
$wgResourceModules['ext.translate.storage'] |
array( 'scripts' => 'resources/js/ext.translate.storage.js', ) + $resourcePaths
Definition at line 416 of file Resources.php.
$wgResourceModules['ext.translate.statsbar'] |
array( 'styles' => 'resources/css/ext.translate.statsbar.css', 'scripts' => 'resources/js/ext.translate.statsbar.js', 'messages' => array( 'translate-statsbar-tooltip', 'translate-statsbar-tooltip-with-fuzzy', ), 'position' => 'top', ) + $resourcePaths
Definition at line 406 of file Resources.php.
$wgResourceModules['ext.translate.special.translationstats'] |
array( 'scripts' => 'resources/js/ext.translate.special.translationstats.js', 'dependencies' => array( 'jquery.ui.datepicker', ), ) + $resourcePaths
Definition at line 399 of file Resources.php.
$wgResourceModules['ext.translate.special.translationstash'] |
array( 'scripts' => 'resources/js/ext.translate.special.translationstash.js', 'styles' => 'resources/css/ext.translate.special.translationstash.css', 'position' => 'top', 'dependencies' => array( 'ext.translate.editor', 'ext.translate.messagetable', 'ext.translate.translationstashstorage', 'mediawiki.language', ), 'messages' => array( 'translate-translationstash-translations', 'translate-translationstash-skip-button-label', 'tsb-limit-reached-title', 'tsb-limit-reached-body', ), ) + $resourcePaths
Definition at line 381 of file Resources.php.
$wgResourceModules['ext.translate.special.translatesandbox'] |
array( 'scripts' => 'resources/js/ext.translate.special.translatesandbox.js', 'styles' => 'resources/css/ext.translate.special.translatesandbox.css', 'position' => 'top', 'dependencies' => array( 'ext.translate.translationstashstorage', 'mediawiki.api', 'jquery.uls.grid', 'jquery.ui.dialog', 'mediawiki.jqueryMsg', ), 'messages' => array( 'tsb-accept-button-label', 'tsb-reject-button-label', 'tsb-accept-all-button-label', 'tsb-reject-all-button-label', 'tsb-reminder-link-text', 'tsb-translations-source', 'tsb-translations-user', 'tsb-translations-current', 'tsb-request-count', ), ) + $resourcePaths
Definition at line 357 of file Resources.php.
$wgResourceModules['ext.translate.special.translate'] |
array( 'styles' => 'resources/css/ext.translate.special.translate.css', 'scripts' => 'resources/js/ext.translate.special.translate.js', 'position' => 'top', 'dependencies' => array( 'mediawiki.jqueryMsg', 'mediawiki.Uri', 'mediawiki.api.parse', 'ext.translate.base', 'ext.translate.groupselector', 'ext.translate.messagetable', 'ext.translate.navitoggle', 'ext.translate.workflowselector', 'ext.uls.init', ), 'messages' => array( 'translate-workflow-set-do', 'translate-workflow-set-doing', 'translate-workflow-set-done', 'translate-workflow-set-error-alreadyset', 'translate-documentation-language', 'translate-workflow-state-', 'tpt-discouraged-language-force', 'tpt-discouraged-language', 'tux-editor-proofreading-hide-own-translations', 'tux-editor-proofreading-show-own-translations', ), ) + $resourcePaths
Definition at line 328 of file Resources.php.
$wgResourceModules['ext.translate.special.supportedlanguages'] |
array( 'styles' => 'resources/css/ext.translate.special.supportedlanguages.css', 'position' => 'top', ) + $resourcePaths
Definition at line 323 of file Resources.php.
$wgResourceModules['ext.translate.special.searchtranslations'] |
array( 'scripts' => 'resources/js/ext.translate.special.searchtranslations.js', 'styles' => 'resources/css/ext.translate.special.searchtranslations.css', 'dependencies' => array( 'ext.translate.editor', 'ext.uls.init', 'ext.uls.geoclient', 'ext.translate.groupselector', ), 'messages' => array( 'translate-documentation-language', 'translate-search-more-languages-info', 'translate-search-more-groups-info', ), 'position' => 'top', ) + $resourcePaths
Definition at line 306 of file Resources.php.
$wgResourceModules['ext.translate.special.pagetranslation'] |
array( 'scripts' => 'resources/js/ext.translate.special.pagetranslation.js', 'styles' => 'resources/css/ext.translate.special.pagetranslation.css', 'dependencies' => array( 'ext.translate.multiselectautocomplete', ), 'position' => 'top', ) + $resourcePaths
Definition at line 297 of file Resources.php.
$wgResourceModules['ext.translate.special.managegroups'] |
array( 'styles' => 'resources/css/ext.translate.special.managegroups.css', 'position' => 'top', ) + $resourcePaths
Definition at line 292 of file Resources.php.
$wgResourceModules['ext.translate.special.languagestats'] |
array( 'scripts' => 'resources/js/ext.translate.special.languagestats.js', 'styles' => 'resources/css/ext.translate.special.languagestats.css', 'messages' => array( 'translate-langstats-expandall', 'translate-langstats-collapseall', 'translate-langstats-expand', 'translate-langstats-collapse' ), 'dependencies' => 'jquery.tablesorter', ) + $resourcePaths
Definition at line 280 of file Resources.php.
$wgResourceModules['ext.translate.special.importtranslations'] |
array( 'scripts' => 'resources/js/ext.translate.special.importtranslations.js', 'dependencies' => array( 'jquery.ui.autocomplete', ), ) + $resourcePaths
Definition at line 273 of file Resources.php.
$wgResourceModules['ext.translate.special.aggregategroups'] |
array( 'scripts' => 'resources/js/ext.translate.special.aggregategroups.js', 'styles' => 'resources/css/ext.translate.special.aggregategroups.css', 'position' => 'top', 'dependencies' => array( 'mediawiki.util', 'jquery.async', 'jquery.chosen' ), 'messages' => array( 'tpt-aggregategroup-remove-confirm', ), ) + $resourcePaths
Definition at line 259 of file Resources.php.
$wgResourceModules['ext.translate.selecttoinput'] |
array( 'scripts' => 'resources/js/ext.translate.selecttoinput.js', ) + $resourcePaths
Definition at line 255 of file Resources.php.
$wgResourceModules['ext.translate.quickedit'] |
array( 'scripts' => 'resources/js/ext.translate.quickedit.js', 'styles' => 'resources/css/ext.translate.quickedit.css', 'messages' => array( 'translate-js-nonext', 'translate-js-save-failed' ), 'dependencies' => array( 'jquery.form', 'jquery.ui.dialog', 'jquery.autosize', 'mediawiki.util', ), ) + $resourcePaths
Definition at line 243 of file Resources.php.
$wgResourceModules['ext.translate.parsers'] |
array( 'scripts' => 'resources/js/ext.translate.parsers.js', 'dependencies' => array( 'mediawiki.util', ), ) + $resourcePaths
Definition at line 236 of file Resources.php.
$wgResourceModules['ext.translate.pagetranslation.uls'] |
array( 'scripts' => 'resources/js/ext.translate.pagetranslation.uls.js', 'dependencies' => array( 'ext.uls.init', 'mediawiki.util', ), ) + $resourcePaths
Definition at line 228 of file Resources.php.
$wgResourceModules['ext.translate.navitoggle'] |
array( 'skinScripts' => array( 'vector' => 'resources/js/ext.translate.navitoggle.js', ), 'skinStyles' => array( 'vector' => 'resources/css/ext.translate.navitoggle.css', ), ) + $resourcePaths
Definition at line 219 of file Resources.php.
$wgResourceModules['ext.translate.multiselectautocomplete'] |
array( 'scripts' => 'resources/js/ext.translate.multiselectautocomplete.js', 'dependencies' => array( 'jquery.ui.autocomplete', ), 'position' => 'top', ) + $resourcePaths
Definition at line 211 of file Resources.php.
$wgResourceModules['ext.translate.messagewebimporter'] |
array( 'styles' => 'resources/css/ext.translate.messagewebimporter.css', 'position' => 'top', ) + $resourcePaths
Definition at line 206 of file Resources.php.
$wgResourceModules['ext.translate.messagetable'] |
Definition at line 148 of file Resources.php.
$wgResourceModules['ext.translate.loader'] |
array( 'styles' => 'resources/css/ext.translate.loader.css', 'position' => 'top', ) + $resourcePaths
Definition at line 143 of file Resources.php.
$wgResourceModules['ext.translate.hooks'] |
array( 'scripts' => 'resources/js/ext.translate.hooks.js', 'position' => 'top', ) + $resourcePaths
Definition at line 138 of file Resources.php.
$wgResourceModules['ext.translate.helplink'] |
array( 'styles' => 'resources/css/ext.translate.helplink.css', 'position' => 'top', ) + $resourcePaths
Definition at line 133 of file Resources.php.
$wgResourceModules['ext.translate.groupselector'] |
array( 'styles' => 'resources/css/ext.translate.groupselector.css', 'scripts' => 'resources/js/ext.translate.groupselector.js', 'position' => 'top', 'dependencies' => array( 'ext.translate.base', 'jquery.uls.grid', 'ext.translate.statsbar', 'mediawiki.jqueryMsg', 'ext.translate.loader', 'jquery.ui.position.custom', ), 'messages' => array( 'translate-msggroupselector-projects', 'translate-msggroupselector-search-placeholder', 'translate-msggroupselector-search-all', 'translate-msggroupselector-search-recent', 'translate-msggroupselector-view-subprojects', ), ) + $resourcePaths
Definition at line 112 of file Resources.php.
$wgResourceModules['ext.translate.editor'] |
Definition at line 36 of file Resources.php.
$wgResourceModules['ext.translate.dropdownmenu'] |
array( 'styles' => 'resources/css/ext.translate.dropdownmenu.css', 'scripts' => 'resources/js/ext.translate.dropdownmenu.js', ) + $resourcePaths
Definition at line 31 of file Resources.php.
$wgResourceModules['ext.translate.base'] |
array( 'scripts' => 'resources/js/ext.translate.base.js', 'dependencies' => array( 'mediawiki.util', 'mediawiki.api', 'ext.translate.hooks' ), 'messages' => array( 'translate-js-support-unsaved-warning', ), ) + $resourcePaths
Definition at line 19 of file Resources.php.
$wgResourceModules['ext.translate'] |
array( 'styles' => 'resources/css/ext.translate.css', 'position' => 'top', ) + $resourcePaths
Definition at line 14 of file Resources.php.
Referenced by ResourcesTest::testAlphabeticalOrder().