9 if( !defined( 'MEDIAWIKI' ) )
16 class SkinNostalgia
extends Skin
{
18 function getStylesheet() {
19 return 'common/nostalgia.css';
21 function getSkinName() {
25 function doBeforeContent() {
27 $s = "\n<div id='content'>\n<div id='topbar'>";
28 $s .= $this->logoText( "right" );
30 $s .= $this->pageTitle();
31 $s .= $this->pageSubtitle() . "\n";
33 $s .= $this->topLinks() . "\n<br />";
35 $notice = wfGetSiteNotice();
37 $s .= "\n<div id='siteNotice'>$notice</div>\n";
39 $s .= $this->pageTitleLinks();
41 $ol = $this->otherLanguages();
42 if($ol) $s .= "<br />" . $ol;
44 $cat = $this->getCategoryLinks();
45 if($cat) $s .= "<br />" . $cat;
47 $s .= "<br clear='all' /><hr />\n</div>\n";
48 $s .= "\n<div id='article'>";
54 global $wgOut, $wgUser;
57 $s = $this->mainPageLink() . $sep
58 . $this->specialLink( "recentchanges" );
60 if ( $wgOut->isArticle() ) {
61 $s .= $sep . $this->editThisPage()
62 . $sep . $this->historyLink();
65 /* show links to different language variants */
66 $s .= $this->variantLinks();
67 $s .= $this->extensionTabLinks();
69 if ( $wgUser->isAnon() ) {
70 $s .= $sep . $this->specialLink( "userlogin" );
72 $s .= $sep . $this->specialLink( "userlogout" );
75 $s .= $sep . $this->specialPagesList();
80 function doAfterContent() {
81 $s = "\n</div><br clear='all' />\n";
83 $s .= "\n<div id='footer'><hr />";
85 $s .= $this->bottomLinks();
86 $s .= "\n<br />" . $this->pageStats();
87 $s .= "\n<br />" . $this->mainPageLink()
88 . " | " . $this->aboutLink()
89 . " | " . $this->searchForm();
91 $s .= "\n</div>\n</div>\n";