X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FSkinTemplate.php;h=bcd3532f69785049322b9fdc1d7a44e494451b9e;hb=3fc8b225b644bea94bcad33040107f0a92e46362;hp=97c0ec445d836b8da6c1e559c3eaab469da21dae;hpb=731346a7cb686ffe9a0e2f8a1e1fb3f5e8431a16;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/SkinTemplate.php b/includes/SkinTemplate.php index 97c0ec445d..bcd3532f69 100644 --- a/includes/SkinTemplate.php +++ b/includes/SkinTemplate.php @@ -294,8 +294,7 @@ class SkinTemplate extends Skin { * @return QuickTemplate The template to be executed by outputPage */ protected function prepareQuickTemplate() { - global $wgContLang, $wgScript, $wgStylePath, - $wgMimeType, $wgJsMimeType, $wgXhtmlNamespaces, $wgHtml5Version, + global $wgContLang, $wgScript, $wgStylePath, $wgMimeType, $wgJsMimeType, $wgDisableCounters, $wgSitename, $wgLogo, $wgMaxCredits, $wgShowCreditsIfMax, $wgPageShowWatchingUsers, $wgArticlePath, $wgScriptPath, $wgServer; @@ -359,13 +358,6 @@ class SkinTemplate extends Skin { $tpl->set( 'handheld', $request->getBool( 'handheld' ) ); $tpl->setRef( 'loggedin', $this->loggedin ); $tpl->set( 'notspecialpage', !$title->isSpecialPage() ); - /* XXX currently unused, might get useful later - $tpl->set( 'editable', ( !$title->isSpecialPage() ) ); - $tpl->set( 'exists', $title->getArticleID() != 0 ); - $tpl->set( 'watch', $user->isWatched( $title ) ? 'unwatch' : 'watch' ); - $tpl->set( 'protect', count( $title->isProtected() ) ? 'unprotect' : 'protect' ); - $tpl->set( 'helppage', $this->msg( 'helppage' )->text() ); - */ $tpl->set( 'searchaction', $this->escapeSearchLink() ); $tpl->set( 'searchtitle', SpecialPage::getTitleFor( 'Search' )->getPrefixedDBkey() ); $tpl->set( 'search', trim( $request->getVal( 'search' ) ) );