\n";
$s .= '
\n
\n";
$s .= "\n' . $this->getSkin()->logoText( 'right' ) . '
';
$s .= $this->pageTitle();
$s .= $this->pageSubtitle() . "\n";
$s .= '';
$s .= $this->topLinks() . "\n
"; $notice = $this->getSkin()->getSiteNotice(); if( $notice ) { $s .= "\n
' . $ol; } $s .= $this->getSkin()->getCategories(); $s .= "
"; $notice = $this->getSkin()->getSiteNotice(); if( $notice ) { $s .= "\n
$notice
\n";
}
$s .= $this->pageTitleLinks();
$ol = $this->otherLanguages();
if( $ol ) {
$s .= '' . $ol; } $s .= $this->getSkin()->getCategories(); $s .= "
\n
";
return $s;
}
/**
* @return string
*/
function topLinks() {
$sep = " |\n";
$s = $this->getSkin()->mainPageLink() . $sep
. Linker::specialLink( 'Recentchanges' );
if ( $this->data['isarticle'] ) {
$s .= $sep . '' . $this->editThisPage() . '' . $sep . $this->talkLink() .
$sep . $this->historyLink();
}
/* show links to different language variants */
$s .= $this->variantLinks();
$s .= $this->extensionTabLinks();
if ( !$this->data['loggedin'] ) {
$s .= $sep . Linker::specialLink( 'Userlogin' );
} else {
/* show user page and user talk links */
$user = $this->getSkin()->getUser();
$s .= $sep . Linker::link( $user->getUserPage(), wfMessage( 'mypage' )->escaped() );
$s .= $sep . Linker::link( $user->getTalkPage(), wfMessage( 'mytalk' )->escaped() );
if ( $user->getNewtalk() ) {
$s .= ' *';
}
/* show watchlist link */
$s .= $sep . Linker::specialLink( 'Watchlist' );
/* show my contributions link */
$s .= $sep . Linker::link(
SpecialPage::getSafeTitleFor( 'Contributions', $this->data['username'] ),
wfMessage( 'mycontris' )->escaped() );
/* show my preferences link */
$s .= $sep . Linker::specialLink( 'Preferences' );
/* show upload file link */
if( UploadBase::isEnabled() && UploadBase::isAllowed( $user ) === true ) {
$s .= $sep . $this->getUploadLink();
}
/* show log out link */
$s .= $sep . Linker::specialLink( 'Userlogout' );
}
$s .= $sep . $this->specialPagesList();
return $s;
}
/**
* @return string
*/
function doAfterContent() {
$s = "\n
\n"; $s .= "\n \n