From 76450900205c80746e035f12185628d6886a1923 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Wed, 24 Mar 2004 17:18:35 +0000 Subject: [PATCH] * specialpage message * charset --- includes/SkinPHPTal.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/SkinPHPTal.php b/includes/SkinPHPTal.php index f2797e832f..9494fede14 100644 --- a/includes/SkinPHPTal.php +++ b/includes/SkinPHPTal.php @@ -38,7 +38,7 @@ function outputPage( &$out ) { global $wgTitle, $wgArticle, $wgUser, $wgLang, $wgOut; global $wgScriptPath, $wgStyleSheetPath, $wgLanguageCode, $wgUseNewInterlanguage; - global $wgUseDatabaseMessages, $action; + global $wgOutputEncoding, $wgUseDatabaseMessages, $action; $this->initPage(); $tpl = new PHPTAL($this->skinname . '.pt', 'templates'); @@ -52,6 +52,7 @@ $thispage = $wgTitle->getPrefixedDbKey(); $tpl->setRef( "thispage", &$thispage ); $tpl->set( "subtitle", $out->getSubtitle() ); + $tpl->setRef( 'charset', $wgOutputEncoding); $loggedin = $wgUser->getID() != 0; $tpl->setRef( "loggedin", &$loggedin ); @@ -253,9 +254,9 @@ /* show special page actions */ $content_actions['article'] = array('class' => 'selected', - 'text' => 'Special Page', + 'text' => wfMsg('specialpage'), 'href' => 'javascript:void()', - 'ttip' => wfMsg('tooltip-special'), + 'ttip' => wfMsg('tooltip-specialpage'), 'akey' => ''); /*if ($wgTitle->getDbKey() == 'Movepage') { -- 2.20.1