Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.core.js |
— | — | @@ -44,7 +44,7 @@ |
45 | 45 | $button.append( '<div class="mw-wikilove-r-cap"></div>'); |
46 | 46 | $typeList.append( $( '<li tabindex="0"></li>' ).append( $button ) ); |
47 | 47 | } |
48 | | - |
| 48 | + |
49 | 49 | var commonsLink = $( '<a>' ) |
50 | 50 | .attr( 'href', mw.msg( 'wikilove-commons-url' ) ) |
51 | 51 | .attr( 'target', '_blank' ) |
— | — | @@ -74,7 +74,7 @@ |
75 | 75 | <li><html:msg key="wikilove-get-started-list-2"/></li>\ |
76 | 76 | <li><html:msg key="wikilove-get-started-list-3"/></li>\ |
77 | 77 | </ol>\ |
78 | | - <p><a target="_blank" href="http://www.mediawiki.org/wiki/WikiLove">\ |
| 78 | + <p><a target="_blank" href="' + mw.msg( 'wikilove-what-is-this-link' ) + '">\ |
79 | 79 | <html:msg key="wikilove-what-is-this"/>\ |
80 | 80 | </a></p>\ |
81 | 81 | <p id="mw-wikilove-anon-warning"><strong><html:msg key="wikilove-anon-warning"/></strong></p>\ |
Index: trunk/extensions/WikiLove/WikiLove.i18n.php |
— | — | @@ -173,6 +173,7 @@ |
174 | 174 | 'wikilove-err-send-api' => 'Something went wrong when sending the message. Please try again.', |
175 | 175 | 'wikilove-summary' => '/* $1 */ new WikiLove message', |
176 | 176 | 'wikilove-what-is-this' => "What is this?", |
| 177 | + 'wikilove-what-is-this-link' => "https://www.mediawiki.org/wiki/WikiLove", |
177 | 178 | 'wikilove-anon-warning' => 'Note: This user is not registered, he or she may not notice this message.', |
178 | 179 | 'wikilove-commons-text' => 'You can find images by browsing $1.', |
179 | 180 | 'wikilove-commons-link' => 'Wikimedia Commons', |
— | — | @@ -235,6 +236,7 @@ |
236 | 237 | 'wikilove-err-msg' => 'A warning shown when the message is empty.', |
237 | 238 | 'wikilove-what-is-this' => '[[File:Wiki Love 002.png|thumb]] |
238 | 239 | {{Identical|What is this}}', |
| 240 | + 'wikilove-what-is-this-link' => '{{optional}}', |
239 | 241 | 'wikilove-commons-text' => '[[File:Wiki Love 004.png|thumb]] |
240 | 242 | $1 gets replaced by a link with {{msg-mw|wikilove-commons-link}} ("Wikimedia Commons") as caption and {{msg-mw|wikilove-commons-url}} as URL.', |
241 | 243 | 'wikilove-commons-link' => '{{optional}}', |
Index: trunk/extensions/WikiLove/WikiLove.php |
— | — | @@ -259,6 +259,7 @@ |
260 | 260 | 'wikilove-err-gallery', |
261 | 261 | 'wikilove-err-gallery-again', |
262 | 262 | 'wikilove-what-is-this', |
| 263 | + 'wikilove-what-is-this-link', |
263 | 264 | 'wikilove-anon-warning', |
264 | 265 | 'wikilove-commons-text', |
265 | 266 | 'wikilove-commons-link', |