* @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;
$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' ) ) );