Index: trunk/extensions/Translate/TranslateUtils.php |
— | — | @@ -4,7 +4,7 @@ |
5 | 5 | * |
6 | 6 | * @file |
7 | 7 | * @author Niklas Laxström |
8 | | - * @copyright Copyright © 2007, 2009 Niklas Laxström |
| 8 | + * @copyright Copyright © 2007, 2012 Niklas Laxström |
9 | 9 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later |
10 | 10 | */ |
11 | 11 | |
— | — | @@ -318,7 +318,13 @@ |
319 | 319 | public static function addSpecialHelpLink( OutputPage $out, /*string*/$to ) { |
320 | 320 | $out->addModules( 'ext.translate.helplink' ); |
321 | 321 | $text = wfMessage( 'translate-gethelp' )->escaped(); |
322 | | - $link = Html::rawElement( 'a', array( 'href' => "//www.mediawiki.org/wiki/Special:MyLanguage/$to" ), "$text" ); |
| 322 | + $link = Html::rawElement( |
| 323 | + 'a', |
| 324 | + array( |
| 325 | + 'href' => "//www.mediawiki.org/wiki/Special:MyLanguage/$to", |
| 326 | + 'target' => '_blank' |
| 327 | + ), |
| 328 | + "$text" ); |
323 | 329 | $wrapper = Html::rawElement( 'div', array( 'class' => 'mw-translate-helplink' ), $link ); |
324 | 330 | $out->addHtml( $wrapper ); |
325 | 331 | } |