X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=skins%2FNostalgia.php;h=3028915e3bb056e80ebd59899a37d6305a321ee7;hb=436d323f780df76d7319cb64c65a196a4b22c5ae;hp=98437e2e4f8141272fe860d6e8eef589fbe39b93;hpb=35c369ec7303b7662accc0ff17182031c6b54a20;p=lhc%2Fweb%2Fwiklou.git diff --git a/skins/Nostalgia.php b/skins/Nostalgia.php index 98437e2e4f..3028915e3b 100644 --- a/skins/Nostalgia.php +++ b/skins/Nostalgia.php @@ -36,7 +36,7 @@ class SkinNostalgia extends SkinLegacy { /** * @param $out OutputPage */ - function setupSkinUserCss( OutputPage $out ){ + function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); $out->addModuleStyles( 'skins.nostalgia' ); } @@ -99,8 +99,8 @@ class NostalgiaTemplate extends LegacyTemplate { } else { /* show user page and user talk links */ $user = $this->getSkin()->getUser(); - $s .= $sep . Linker::link( $user->getUserPage(), wfMsgHtml( 'mypage' ) ); - $s .= $sep . Linker::link( $user->getTalkPage(), wfMsgHtml( 'mytalk' ) ); + $s .= $sep . Linker::link( $user->getUserPage(), wfMessage( 'mypage' )->escaped() ); + $s .= $sep . Linker::link( $user->getTalkPage(), wfMessage( 'mytalk' )->escaped() ); if ( $user->getNewtalk() ) { $s .= ' *'; } @@ -109,7 +109,7 @@ class NostalgiaTemplate extends LegacyTemplate { /* show my contributions link */ $s .= $sep . Linker::link( SpecialPage::getSafeTitleFor( 'Contributions', $this->data['username'] ), - wfMsgHtml( 'mycontris' ) ); + wfMessage( 'mycontris' )->escaped() ); /* show my preferences link */ $s .= $sep . Linker::specialLink( 'Preferences' ); /* show upload file link */