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');
$thispage = $wgTitle->getPrefixedDbKey();
$tpl->setRef( "thispage", &$thispage );
$tpl->set( "subtitle", $out->getSubtitle() );
+ $tpl->setRef( 'charset', $wgOutputEncoding);
$loggedin = $wgUser->getID() != 0;
$tpl->setRef( "loggedin", &$loggedin );
/* 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') {