From: Brion Vibber Date: Mon, 9 Aug 2004 00:22:43 +0000 (+0000) Subject: Fix the fix for [ 984629 ] "Retreived from..." printfooter division missing in Monobook X-Git-Tag: 1.5.0alpha1~2461 X-Git-Url: http://git.cyclocoop.org/geomaker.php?a=commitdiff_plain;h=c39794c8e68f24fe5d12da5c233ac003177a579d;p=lhc%2Fweb%2Fwiklou.git Fix the fix for [ 984629 ] "Retreived from..." printfooter division missing in Monobook --- diff --git a/includes/Skin.php b/includes/Skin.php index fde23baf77..2bf98402cc 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -439,11 +439,15 @@ class Skin { $printfooter = "
\n" . $this->printFooter() . "
\n"; return $printfooter . $this->doAfterContent(); } - - function printFooter() { + + function printSource() { global $wgTitle; $url = htmlspecialchars( $wgTitle->getFullURL() ); - return "

" . wfMsg( "retrievedfrom", "$url" ) . + return wfMsg( "retrievedfrom", "$url" ); + } + + function printFooter() { + return "

" . $this->printSource() . "

\n\n

" . $this->pageStats() . "

\n"; } diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index 35ff06dee4..0763531762 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -204,7 +204,7 @@ if( defined( "MEDIAWIKI" ) ) { $tpl->set( "reporttime", $out->reportTime() ); $tpl->set( "sitenotice", $wgSiteNotice ); - $printfooter = "
\n" . $this->printFooter() . "
\n"; + $printfooter = "
\n" . $this->printSource() . "
\n"; $out->mBodytext .= $printfooter ; $tpl->setRef( "bodytext", $out->mBodytext ); @@ -603,7 +603,6 @@ if( defined( "MEDIAWIKI" ) ) { $s .= wfMsg(ucfirst($this->skinname).'.js'); return $s; } - } class SkinDaVinci extends SkinPHPTal {