dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Pass change tags to NewRevisionFromEditComplete hook"
[lhc/web/wiklou.git]
/
maintenance
/
rebuildFileCache.php
diff --git
a/maintenance/rebuildFileCache.php
b/maintenance/rebuildFileCache.php
index
1fc1daf
..
ae6a75e
100644
(file)
--- a/
maintenance/rebuildFileCache.php
+++ b/
maintenance/rebuildFileCache.php
@@
-140,7
+140,7
@@
class RebuildFileCache extends Maintenance {
}
}
}
}
-
MediaWiki
\suppressWarnings(); // header notices
+
Wikimedia
\suppressWarnings(); // header notices
// Cache ?action=view
$wgRequestTime = microtime( true ); # T24852
ob_start();
// Cache ?action=view
$wgRequestTime = microtime( true ); # T24852
ob_start();
@@
-157,7
+157,7
@@
class RebuildFileCache extends Maintenance {
$context->getOutput()->clearHTML();
$historyHtml = ob_get_clean();
$historyCache->saveToFileCache( $historyHtml );
$context->getOutput()->clearHTML();
$historyHtml = ob_get_clean();
$historyCache->saveToFileCache( $historyHtml );
-
MediaWiki
\restoreWarnings();
+
Wikimedia
\restoreWarnings();
if ( $rebuilt ) {
$this->output( "Re-cached page '$title' (id {$row->page_id})..." );
if ( $rebuilt ) {
$this->output( "Re-cached page '$title' (id {$row->page_id})..." );
@@
-179,5
+179,5
@@
class RebuildFileCache extends Maintenance {
}
}
}
}
-$maintClass =
"RebuildFileCache"
;
+$maintClass =
RebuildFileCache::class
;
require_once RUN_MAINTENANCE_IF_MAIN;
require_once RUN_MAINTENANCE_IF_MAIN;