From: Huji Date: Mon, 6 Oct 2008 19:13:48 +0000 (+0000) Subject: (bug 15869) Nostalgia skin does not show page title in printable mode X-Git-Tag: 1.31.0-rc.0~44875 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/%7B%7B%20url_for%28%27vote%27%2C%20idvote=vote.voteid%29%20%7D%7D?a=commitdiff_plain;h=f7963d84a33087595e3d451cbd5eabea1b226b53;p=lhc%2Fweb%2Fwiklou.git (bug 15869) Nostalgia skin does not show page title in printable mode --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index bbe2f14f1d..6edcc9fa16 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -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 === diff --git a/skins/Nostalgia.php b/skins/Nostalgia.php index a7eae66de8..accc3eb183 100644 --- a/skins/Nostalgia.php +++ b/skins/Nostalgia.php @@ -25,12 +25,13 @@ class SkinNostalgia extends Skin { function doBeforeContent() { - $s = "\n
\n
"; - $s .= $this->logoText( "right" ); + $s .= "\n
\n
\n"; + $s .= "
".$this->logoText( "right" )."
"; $s .= $this->pageTitle(); $s .= $this->pageSubtitle() . "\n"; + $s .= "
"; $s .= $this->topLinks() . "\n
"; $notice = wfGetSiteNotice(); @@ -45,7 +46,7 @@ class SkinNostalgia extends Skin { $cat = $this->getCategoryLinks(); if($cat) $s .= "
" . $cat; - $s .= "

\n
\n"; + $s .= "

\n
\n"; $s .= "\n
"; 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;