summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-09-27 18:53:03 -0400
committerBrian Evans <grknight@gentoo.org>2022-09-27 19:02:02 -0400
commit5ca8d30155e11d97b20f79acec40632c2e06fcd5 (patch)
tree7531fb116791f8328c0bb0cabe42265ca67e6df9 /MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
parentMerge branch 'master' into wikitest (diff)
downloadextensions-1.35.2.tar.gz
extensions-1.35.2.tar.bz2
extensions-1.35.2.zip
Update MLEB to 2021.12v1.35.2
This is the final version for MW 1.35 Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js')
-rw-r--r--MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js b/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
index a0bfc2d4..9c54557d 100644
--- a/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
+++ b/MLEB/Translate/resources/js/ext.translate.pagetranslation.uls.js
@@ -2,9 +2,7 @@
'use strict';
mw.uls.changeLanguage = function ( language ) {
- var page;
-
- page = 'Special:MyLanguage/' + mw.config.get( 'wgPageName' );
+ var page = 'Special:MyLanguage/' + mw.config.get( 'wgPageName' );
if ( mw.config.get( 'wgTranslatePageTranslation' ) === 'translation' ) {
page = page.replace( /\/[^/]+$/, '' );