$this->mBodytext = '';
$sk = $wgUser->getSkin();
- $ap = $sk->makeKnownLink( wfMsg( 'administrators' ), '' );
+ $ap = $sk->makeKnownLink( wfMsgForContent( 'administrators' ), '' );
$this->addHTML( wfMsg( 'sysoptext', $ap ) );
$this->returnToMain();
}
$this->mBodytext = '';
$sk = $wgUser->getSkin();
- $ap = $sk->makeKnownLink( wfMsg( 'administrators' ), '' );
+ $ap = $sk->makeKnownLink( wfMsgForContent( 'administrators' ), '' );
$this->addHTML( wfMsg( 'developertext', $ap ) );
$this->returnToMain();
}
$sk = $wgUser->getSkin();
if ( '' == $returnto ) {
- $returnto = wfMsg( 'mainpage' );
+ $returnto = wfMsgForContent( 'mainpage' );
}
$link = $sk->makeKnownLink( $returnto, '' );
$action = $wgRequest->getText( 'action' );
$s = $this->printableLink();
- if ( wfMsg ( 'disclaimers' ) != '-' ) $s .= ' | ' . $this->makeKnownLink( wfMsg( 'disclaimerpage' ), wfMsg( 'disclaimers' ) ) ;
+ if ( wfMsg ( 'disclaimers' ) != '-' )
+ $s .= ' | ' . $this->makeKnownLink(
+ wfMsgForContent( 'disclaimerpage' ),
+ wfMsg( 'disclaimers' ) ) ;
if ( $wgOut->isArticleRelated() ) {
if ( $wgTitle->getNamespace() == Namespace::getImage() ) {
"returnto={$rt}" ) . ' | ' .
$this->specialLink( 'preferences' );
}
- $s .= ' | ' . $this->makeKnownLink( wfMsg( 'helppage' ),
+ $s .= ' | ' . $this->makeKnownLink( wfMsgForContent( 'helppage' ),
wfMsg( 'help' ) );
return $s;
}
// only show watchlist link if logged in
- if ( wfMsg ( 'currentevents' ) != '-' ) $s .= $sep . $this->makeKnownLink( wfMsg( 'currentevents' ), '' ) ;
+ if ( wfMsg ( 'currentevents' ) != '-' )
+ $s .= $sep . $this->makeKnownLink( wfMsgForContent( 'currentevents' ), '' ) ;
$s .= "\n<br /><hr class='sep' />";
$articleExists = $wgTitle->getArticleId();
if ( $wgOut->isArticle() || $action =='edit' || $action =='history' || $wpPreview) {
}
function mainPageLink() {
- $mp = wfMsg( 'mainpage' );
- $s = $this->makeKnownLink( $mp, $mp );
+ $mp = wfMsgForContent( 'mainpage' );
+ $mptxt = wfMsg( 'mainpage');
+ $s = $this->makeKnownLink( $mp, $mptxt );
return $s;
}
function copyrightLink() {
- $s = $this->makeKnownLink( wfMsg( 'copyrightpage' ),
+ $s = $this->makeKnownLink( wfMsgForContent( 'copyrightpage' ),
wfMsg( 'copyrightpagename' ) );
return $s;
}
function aboutLink() {
- $s = $this->makeKnownLink( wfMsg( 'aboutpage' ),
+ $s = $this->makeKnownLink( wfMsgForContent( 'aboutpage' ),
wfMsg( 'aboutsite' ) );
return $s;
}
function disclaimerLink() {
- $s = $this->makeKnownLink( wfMsg( 'disclaimerpage' ),
+ $s = $this->makeKnownLink( wfMsgForContent( 'disclaimerpage' ),
wfMsg( 'disclaimers' ) );
return $s;
}
}
function bugReportsLink() {
- $s = $this->makeKnownLink( wfMsg( 'bugreportspage' ),
+ $s = $this->makeKnownLink( wfMsgForContent( 'bugreportspage' ),
wfMsg( 'bugreports' ) );
return $s;
}
$thelink = $this->makeMediaLink( $submatch[1], "", $text );
} else {
# Other kind of link
- if( preg_match( wfMsg( "linktrail" ), $match[4], $submatch ) ) {
+ if( preg_match( wfMsgForContent( "linktrail" ), $match[4], $submatch ) ) {
$trail = $submatch[1];
} else {
$trail = "";