jenkins-bot has submitted this change and it was merged.

Change subject: Parse mwe-upwiz-tooltip-skiptutorial containing link
......................................................................


Parse mwe-upwiz-tooltip-skiptutorial containing link

and changing "→" in i18n file to "→" so the link is a link and not,
as currently done, returned in Wikitext-like notation (plain)
and to avoid Bug 53576.

Bug: 53540
Change-Id: Id4b94b4b8d57aa59a77e7b8038eb0fd8d96719cd
---
M UploadWizard.i18n.php
M resources/mw.UploadWizard.js
2 files changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Mattflaschen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/UploadWizard.i18n.php b/UploadWizard.i18n.php
index 942b439..5e1a24d 100644
--- a/UploadWizard.i18n.php
+++ b/UploadWizard.i18n.php
@@ -190,7 +190,7 @@
        'mwe-prevent-close' => 'Leaving this page may cause you to lose any 
changes you have made.',
        'mwe-upwiz-prevent-close' => 'You have not finished uploading and 
publishing {{PLURAL:$1|this file|these files}} yet.',
        'mwe-upwiz-files-complete' => 'Your files finished uploading!',
-       'mwe-upwiz-tooltip-skiptutorial' => 'You can re-enable this tutorial in 
[$1 your user preferences], under $2 → $3.',
+       'mwe-upwiz-tooltip-skiptutorial' => 'You can re-enable this tutorial in 
[$1 your user preferences], under $2 → $3.',
        'mwe-upwiz-tooltip-author' => 'The name of the person who took the 
photo, or painted the picture, drew the drawing, etc.',
        'mwe-upwiz-tooltip-source' => 'Where this digital file came from — 
could be a URL, or a book or publication.',
        'mwe-upwiz-tooltip-sign' => 'You can use your wiki user name or your 
real name.
diff --git a/resources/mw.UploadWizard.js b/resources/mw.UploadWizard.js
index 92eacf5..e548586 100644
--- a/resources/mw.UploadWizard.js
+++ b/resources/mw.UploadWizard.js
@@ -294,10 +294,10 @@
                                title: function() {
                                        return mw.message(
                                                
'mwe-upwiz-tooltip-skiptutorial',
-                                               mw.util.wikiGetlink( 
'Special:Preferences' ) + '#mw-prefsection-uploads',
+                                               mw.config.get( 'wgServer' ) + 
mw.util.wikiGetlink( 'Special:Preferences' ) + '#mw-prefsection-uploads',
                                                mw.message( 'prefs-uploads' 
).escaped(),
                                                mw.message( 
'prefs-upwiz-interface' ).escaped()
-                                       ).plain();
+                                       ).parse();
                                },
                                delayIn: 0,
                                html: true,

-- 
To view, visit https://gerrit.wikimedia.org/r/81675
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4b94b4b8d57aa59a77e7b8038eb0fd8d96719cd
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/UploadWizard
Gerrit-Branch: master
Gerrit-Owner: Rillke <rainerril...@hotmail.com>
Gerrit-Reviewer: MarkTraceur <mtrac...@member.fsf.org>
Gerrit-Reviewer: Mattflaschen <mflasc...@wikimedia.org>
Gerrit-Reviewer: Rillke <rainerril...@hotmail.com>
Gerrit-Reviewer: TheDJ <hartman.w...@gmail.com>
Gerrit-Reviewer: Yuvipanda <yuvipa...@gmail.com>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to