$tpl->set( 'about', $this->aboutLink() );
$tpl->setRef( 'debug', $out->mDebugtext );
- $tpl->set( 'reporttime', $out->reportTime() );
+ $tpl->set( 'reporttime', wfReportTime() );
$tpl->set( 'sitenotice', wfGetSiteNotice() );
$tpl->set( 'bottomscripts', $this->bottomScripts() );
$text = wfMsg( $message );
if ( wfEmptyMsg( $message, $text ) ) {
global $wgContLang;
- $text = $wgContLang->getFormattedNsText( Namespace::getSubject( $title->getNamespace() ) );
+ $text = $wgContLang->getFormattedNsText( MWNamespace::getSubject( $title->getNamespace() ) );
}
$result = array();
* @private
*/
function buildNavUrls () {
- global $wgUseTrackbacks, $wgTitle, $wgArticle;
+ global $wgUseTrackbacks, $wgTitle, $wgUser, $wgRequest;
+ global $wgEnableUploads, $wgUploadNavigationUrl;
$fname = 'SkinTemplate::buildNavUrls';
wfProfileIn( $fname );
- global $wgUser, $wgRequest;
- global $wgEnableUploads, $wgUploadNavigationUrl;
-
$action = $wgRequest->getText( 'action' );
$nav_urls = array();