Index: trunk/phase3/includes/WatchlistEditor.php |
— | — | @@ -132,7 +132,7 @@ |
133 | 133 | * @param Skin $skin |
134 | 134 | */ |
135 | 135 | private function showTitles( $titles, $output, $skin ) { |
136 | | - $talk = htmlspecialchars( $GLOBALS['wgContLang']->getFormattedNsText( NS_TALK ) ); |
| 136 | + $talk = wfMsgHtml( 'talkpagelinktext' ); |
137 | 137 | // Do a batch existence check |
138 | 138 | $batch = new LinkBatch(); |
139 | 139 | foreach( $titles as $title ) { |
— | — | @@ -410,8 +410,7 @@ |
411 | 411 | $link = $skin->makeLinkObj( $title ); |
412 | 412 | if( $redirect ) |
413 | 413 | $link = '<span class="watchlistredir">' . $link . '</span>'; |
414 | | - $tools[] = $skin->makeLinkObj( $title->getTalkPage(), |
415 | | - htmlspecialchars( $GLOBALS['wgContLang']->getFormattedNsText( NS_TALK ) ) ); |
| 414 | + $tools[] = $skin->makeLinkObj( $title->getTalkPage(), wfMsgHtml( 'talkpagelinktext' ) ); |
416 | 415 | if( $title->exists() ) |
417 | 416 | $tools[] = $skin->makeKnownLinkObj( $title, wfMsgHtml( 'history_short' ), 'action=history' ); |
418 | 417 | return '<li>' |