From c39794c8e68f24fe5d12da5c233ac003177a579d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 9 Aug 2004 00:22:43 +0000 Subject: [PATCH] Fix the fix for [ 984629 ] "Retreived from..." printfooter division missing in Monobook --- includes/Skin.php | 10 +++++++--- includes/SkinPHPTal.php | 3 +-- 2 files changed, 8 insertions(+), 5 deletions(-) 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 { -- 2.20.1