dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
535a8ad
)
Changed some magic __get method calls to accessors, were throwing notices
author
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 12 Jun 2011 19:09:14 +0000
(19:09 +0000)
committer
Alexandre Emsenhuber
<ialex@users.mediawiki.org>
Sun, 12 Jun 2011 19:09:14 +0000
(19:09 +0000)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
754fc13
..
66693c5
100644
(file)
--- a/
index.php
+++ b/
index.php
@@
-130,14
+130,14
@@
function wfIndexMain() {
$cache = new HTMLFileCache( $wgTitle, $action );
if ( $cache->isFileCacheGood( /* Assume up to date */ ) ) {
/* Check incoming headers to see if client has this cached */
$cache = new HTMLFileCache( $wgTitle, $action );
if ( $cache->isFileCacheGood( /* Assume up to date */ ) ) {
/* Check incoming headers to see if client has this cached */
- if ( !$context->
output
->checkLastModified( $cache->fileCacheTime() ) ) {
+ if ( !$context->
getOutput()
->checkLastModified( $cache->fileCacheTime() ) ) {
$cache->loadFromFileCache();
}
# Do any stats increment/watchlist stuff
$article = Article::newFromTitle( $wgTitle, $context );
$article->viewUpdates();
# Tell OutputPage that output is taken care of
$cache->loadFromFileCache();
}
# Do any stats increment/watchlist stuff
$article = Article::newFromTitle( $wgTitle, $context );
$article->viewUpdates();
# Tell OutputPage that output is taken care of
- $context->
output
->disable();
+ $context->
getOutput()
->disable();
wfProfileOut( 'index.php-filecache' );
$mediaWiki->finalCleanup();
wfProfileOut( 'index.php' );
wfProfileOut( 'index.php-filecache' );
$mediaWiki->finalCleanup();
wfProfileOut( 'index.php' );