jenkins-bot has submitted this change and it was merged. Change subject: Fix pageprepation rl modules ......................................................................
Fix pageprepation rl modules * Add missing dependency to mediawiki.Title * Sort dependencies alphabetically * Remove unused duplicate with wrong name * Prune unused message Change-Id: I096c7050f9381afdce1b256607204cce1a928150 --- M Resources.php 1 file changed, 3 insertions(+), 24 deletions(-) Approvals: Amire80: Looks good to me, approved jenkins-bot: Verified diff --git a/Resources.php b/Resources.php index 9d1535d..2cfd1d5 100644 --- a/Resources.php +++ b/Resources.php @@ -233,27 +233,6 @@ ), ) + $resourcePaths; -$wgResourceModules['ext.translate.pagepreparation'] = array( - 'scripts' => 'resources/js/ext.translate.special.pagepreparation.js', - 'messages' => array( - 'pp-save-summary', - 'pp-save-message', - 'pp-save-button-label', - 'pp-cancel-button-label', - 'pp-prepare-message', - 'pp-already-prepared-message', - 'pp-pagename-missing' - ), - 'dependencies' => array( - 'mediawiki.ui', - 'mediawiki.api', - 'mediawiki.api.edit', - 'jquery.mwExtension', - 'mediawiki.action.history.diff', - 'mediawiki.jqueryMsg', - ), -) + $resourcePaths; - $wgResourceModules['ext.translate.pagetranslation.uls'] = array( 'scripts' => 'resources/js/ext.translate.pagetranslation.uls.js', 'dependencies' => array( @@ -392,17 +371,17 @@ 'scripts' => 'resources/js/ext.translate.special.pagepreparation.js', 'messages' => array( 'pp-save-message', - 'pp-save-button-label', 'pp-prepare-message', 'pp-already-prepared-message', 'pp-pagename-missing', ), 'dependencies' => array( - 'mediawiki.ui', - 'mediawiki.api', 'jquery.mwExtension', + 'mediawiki.Title', 'mediawiki.action.history.diff', + 'mediawiki.api', 'mediawiki.jqueryMsg', + 'mediawiki.ui', ), ) + $resourcePaths; -- To view, visit https://gerrit.wikimedia.org/r/203390 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I096c7050f9381afdce1b256607204cce1a928150 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/Translate Gerrit-Branch: master Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com> Gerrit-Reviewer: Amire80 <amir.ahar...@mail.huji.ac.il> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits