Index: trunk/phase3/includes/Wiki.php |
— | — | @@ -593,11 +593,11 @@ |
594 | 594 | return; |
595 | 595 | } |
596 | 596 | |
597 | | - if ( $wgUseFileCache && $wgTitle->getNamespace() >= 0 ) { |
| 597 | + if ( $wgUseFileCache && $this->getTitle()->getNamespace() >= 0 ) { |
598 | 598 | wfProfileIn( 'main-try-filecache' ); |
599 | 599 | if ( HTMLFileCache::useFileCache( $this->context ) ) { |
600 | 600 | /* Try low-level file cache hit */ |
601 | | - $cache = HTMLFileCache::newFromTitle( $wgTitle, $action ); |
| 601 | + $cache = HTMLFileCache::newFromTitle( $this->getTitle(), $action ); |
602 | 602 | if ( $cache->isCacheGood( /* Assume up to date */ ) ) { |
603 | 603 | /* Check incoming headers to see if client has this cached */ |
604 | 604 | $timestamp = $cache->cacheTimestamp(); |
— | — | @@ -605,7 +605,7 @@ |
606 | 606 | $cache->loadFromFileCache( $this->context ); |
607 | 607 | } |
608 | 608 | # Do any stats increment/watchlist stuff |
609 | | - $article = WikiPage::factory( $wgTitle ); |
| 609 | + $article = WikiPage::factory( $this->getTitle() ); |
610 | 610 | $article->doViewUpdates( $user ); |
611 | 611 | # Tell OutputPage that output is taken care of |
612 | 612 | $this->context->getOutput()->disable(); |