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
(parent:
9d67504
)
Add command use blurb
author
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 19 Jan 2009 19:55:38 +0000
(19:55 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Mon, 19 Jan 2009 19:55:38 +0000
(19:55 +0000)
maintenance/rebuildFileCache.php
patch
|
blob
|
history
diff --git
a/maintenance/rebuildFileCache.php
b/maintenance/rebuildFileCache.php
index
125b884
..
1864924
100644
(file)
--- a/
maintenance/rebuildFileCache.php
+++ b/
maintenance/rebuildFileCache.php
@@
-17,6
+17,7
@@
$wgDisableCounters = false; // no real hits here
$start = isset($args[0]) ? intval($args[0]) : 0;
$overwrite = isset( $args[1] ) && $args[1] === 'overwrite';
echo "Building content page file cache from page {$start}!\n";
+echo "Format: <start> [overwrite]\n";
$dbr = wfGetDB( DB_SLAVE );
$start = $start > 0 ? $start : $dbr->selectField( 'page', 'MIN(page_id)', false, __FUNCTION__ );