$dp = Title::newFromText(wfMsgForContent('disambiguationspage'));
$id = $dp->getArticleId();
- $dns = $dp->getNamespace();
- $dtitle = $dbr->addQuotes( $dp->getDBkey() );
+ $dns = $dp->getNamespace();
+ $dtitle = $dbr->addQuotes( $dp->getDBkey() );
if($dns != NS_TEMPLATE) {
# FIXME we assume the disambiguation message is a template but
function formatResult( $skin, $result ) {
$title = Title::newFromId( $result->value );
- $dp = Title::makeTitle( $result->namespace, $result->title );
+ $dp = Title::makeTitle( $result->namespace, $result->title );
$from = $skin->makeKnownLinkObj( $title,'');
$edit = $skin->makeBrokenLinkObj( $title, "(".wfMsg("qbedit").")" , 'redirect=no');
} else if ( '' != $status ) {
$wgOut->addWikitext( $message . "\n----" );
}
-
+
$qbs = $wgLang->getQuickbarSettings();
$skinNames = $wgLang->getSkinNames();
$mathopts = $wgLang->getMathNames();
</div></form>\n" );
$wgOut->addWikiText( '<div class="prefcache">' . wfMsg('clearyourcache') . '</div>' );
-
+
}
}
?>
var $mRestrictionsLoaded; # Boolean for initialisation on demand
var $mPrefixedText; # Text form including namespace/interwiki, initialised on demand
var $mDefaultNamespace; # Namespace index when there is no namespace
- # Zero except in {{transclusion}} tags
- var $mWatched; # Is $wgUser watching this page? NULL if unfilled, accessed through userIsWatching()
+ # Zero except in {{transclusion}} tags
+ var $mWatched; # Is $wgUser watching this page? NULL if unfilled, accessed through userIsWatching()
/**#@-*/