Go to the source code of this file.
Variables | |
if(!$wgUseFileCache) | $wgDisableCounters = false |
$start = isset($args[0]) ? intval($args[0]) : 0 | |
$overwrite = isset( $args[1] ) && $args[1] === 'overwrite' | |
$dbr = wfGetDB( DB_SLAVE ) | |
$end = $dbr->selectField( 'page', 'MAX(page_id)', false, __FUNCTION__ ) | |
if(!$start) | $_SERVER ['HTTP_ACCEPT_ENCODING'] = 'bgzip' |
$BATCH_SIZE = 100 | |
$blockStart = $start | |
$blockEnd = $start + $BATCH_SIZE - 1 | |
$dbw = wfGetDB( DB_MASTER ) | |
while ($blockEnd<=$end) |
Definition in file rebuildFileCache.php.
if (!$start) $_SERVER['HTTP_ACCEPT_ENCODING'] = 'bgzip' |
Definition at line 29 of file rebuildFileCache.php.
Referenced by DatabaseSqlite::__construct(), OutputPage::checkLastModified(), AjaxResponse::checkLastModified(), WebRequest::checkMagicQuotes(), EditPage::checkUnicodeCompliantBrowser(), WebRequest::getHeader(), LanguageConverter::getPreferredVariant(), WebRequest::getRequestURL(), WebRequest::interpolateTitle(), OutputPage::setEncodings(), RdfMetaData::setup(), MWGearmanJob::switchWiki(), RawPage::view(), WebRequest::wasPosted(), wfClientAcceptsGzip(), wfDoContentLength(), wfGetAgent(), wfGetForwardedFor(), wfGetIP(), wfGzipHandler(), wfHostname(), wfHttpOnlySafe(), wfLogProfilingData(), wfRequestExtension(), wfStreamFile(), wfThumbError(), and wfThumbMain().
$BATCH_SIZE = 100 |
Definition at line 32 of file rebuildFileCache.php.
$blockEnd = $start + $BATCH_SIZE - 1 |
Definition at line 36 of file rebuildFileCache.php.
Referenced by migrate_page_restrictions(), moveToExternal(), and populate_rev_parent_id().
$blockStart = $start |
Definition at line 35 of file rebuildFileCache.php.
Referenced by migrate_page_restrictions(), moveToExternal(), and populate_rev_parent_id().
$dbr = wfGetDB( DB_SLAVE ) |
Definition at line 22 of file rebuildFileCache.php.
$dbw = wfGetDB( DB_MASTER ) |
Definition at line 38 of file rebuildFileCache.php.
$end = $dbr->selectField( 'page', 'MAX(page_id)', false, __FUNCTION__ ) |
Definition at line 24 of file rebuildFileCache.php.
$overwrite = isset( $args[1] ) && $args[1] === 'overwrite' |
Definition at line 18 of file rebuildFileCache.php.
Referenced by UploadForm::internalProcessUpload().
$start = isset($args[0]) ? intval($args[0]) : 0 |
Definition at line 17 of file rebuildFileCache.php.
if (!$wgUseFileCache) $wgDisableCounters = false |
Definition at line 15 of file rebuildFileCache.php.
while($blockEnd<=$end) |
Definition at line 40 of file rebuildFileCache.php.