(bug 15869) Nostalgia skin does not show page title in printable mode
authorHuji <huji@users.mediawiki.org>
Mon, 6 Oct 2008 19:13:48 +0000 (19:13 +0000)
committerHuji <huji@users.mediawiki.org>
Mon, 6 Oct 2008 19:13:48 +0000 (19:13 +0000)
RELEASE-NOTES
skins/Nostalgia.php

index bbe2f14..6edcc9f 100644 (file)
@@ -246,6 +246,7 @@ The following extensions are migrated into MediaWiki 1.14:
 * Links with no title but a curid parameter now use the curid to pick a page
 * (bug 10323) Special:Undelete should have "inverse selection" button
 * (bug 15831) Modern skin RTL support is bugous
+* (bug 15869) Nostalgia skin does not show page title in printable mode
 
 === API changes in 1.14 ===
 
index a7eae66..accc3eb 100644 (file)
@@ -25,12 +25,13 @@ class SkinNostalgia extends Skin {
 
        function doBeforeContent() {
 
-               $s = "\n<div id='content'>\n<div id='topbar'>";
-               $s .= $this->logoText( "right" );
+               $s .= "\n<div id='content'>\n<div id='top'>\n";
+               $s .= "<div id=\"topbar\">".$this->logoText( "right" )."</div>";
 
                $s .= $this->pageTitle();
                $s .= $this->pageSubtitle() . "\n";
 
+               $s .= "<div id=\"topbar\">";
                $s .= $this->topLinks() . "\n<br />";
 
                $notice = wfGetSiteNotice();
@@ -45,7 +46,7 @@ class SkinNostalgia extends Skin {
                $cat = $this->getCategoryLinks();
                if($cat) $s .= "<br />" . $cat;
 
-               $s .= "<br clear='all' /><hr />\n</div>\n";
+               $s .= "<br clear='all' /></div><hr />\n</div>\n";
                $s .= "\n<div id='article'>";
 
                return $s;
@@ -62,17 +63,17 @@ class SkinNostalgia extends Skin {
                        $s .=  $sep . $this->editThisPage()
                          . $sep . $this->historyLink();
                }
-               
+
                /* show links to different language variants */
                $s .= $this->variantLinks();
                $s .= $this->extensionTabLinks();
-               
+
                if ( $wgUser->isAnon() ) {
                        $s .= $sep . $this->specialLink( "userlogin" );
                } else {
                        $s .= $sep . $this->specialLink( "userlogout" );
                }
-               
+
                $s .= $sep . $this->specialPagesList();
 
                return $s;