MediaWiki
1.23.5
|
Classes | |
class | Maintenance |
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effort. More... | |
Variables | |
you have access to all of the normal MediaWiki so you can get a DB use the | cache |
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance | class |
you have access to all of the normal MediaWiki so you can get a DB | connection |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory | Example |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default do this many per batch HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript php or something In write the | following |
you have access to all of the normal MediaWiki | functions |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning | in |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default do this many per batch HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript php or something In | it |
class DemoMaint extends Maintenance $ | maintClass = "DemoMaint" |
require_once | RUN_MAINTENANCE_IF_MAIN |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously | simple |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several | subdirectories |
Prior to | version |
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default | wiki |
Definition at line 52 of file maintenance.txt.
Referenced by JobQueueAggregatorMemc::__construct(), JobQueueDB::__construct(), JobQueueGroup::__construct(), JobQueueFederated::__construct(), RepoGroup::__construct(), LCStoreAccel::__construct(), MappedIterator::accept(), JobQueueDB::claimRandom(), MapCacheLRU::clear(), ProcessCacheLRU::clear(), RepoGroup::clearCache(), MappedIterator::current(), JobQueueDB::doBatchPushInternal(), JobQueueFederated::doFlushCaches(), JobQueueDB::doFlushCaches(), JobQueueDB::doGetAcquiredCount(), JobQueueAggregatorMemc::doGetAllReadyWikiQueues(), JobQueueDB::doGetSize(), JobQueueDB::doIsEmpty(), JobQueueFederated::doIsEmpty(), JobQueueAggregatorMemc::doNotifyQueueEmpty(), JobQueueDB::doPop(), JobQueueFederated::doPop(), JobQueueAggregatorMemc::doPurge(), UserCache::doQuery(), GenderCache::doQuery(), RepoGroup::findFile(), LCStoreAccel::finishWrite(), MapCacheLRU::get(), ProcessCacheLRU::get(), LCStoreAccel::get(), JobQueueFederated::getCrossPartitionSum(), ProcessCacheLRUTestable::getEntriesCount(), GenderCache::getGenderOf(), UserCache::getProp(), MapCacheLRU::has(), ProcessCacheLRU::has(), MessageCache::load(), mccShowUsage(), Title::moveTo(), MappedIterator::next(), MapCacheLRU::ping(), ProcessCacheLRU::ping(), JobQueueGroup::pop(), JobQueueGroup::push(), JobQueueDB::recycleAndDeleteStaleJobs(), MappedIterator::rewind(), ProcessCacheLRU::set(), MapCacheLRU::set(), LCStoreAccel::set(), RevisionTest::setUp(), BagOStuffTest::setUp(), TitleMethodsTest::setUp(), ApiEditPageTest::setUp(), RevisionStorageTest::setUp(), LCStoreAccel::startWrite(), TitleMethodsTest::tearDown(), ApiEditPageTest::tearDown(), RevisionTest::tearDown(), RevisionStorageTest::tearDown(), BagOStuffTest::testAdd(), BagOStuffTest::testGet(), BagOStuffTest::testGetMulti(), BagOStuffTest::testIncr(), BagOStuffTest::testMerge(), GlobalTest::testReadOnlySet(), and JobQueueFederated::tryJobInsertions().
you have access to all of the normal MediaWiki so you can get a DB use the etc For full docs on the Maintenance class |
Definition at line 52 of file maintenance.txt.
Definition at line 52 of file maintenance.txt.
Referenced by mccShowUsage(), and MagicVariableTest::setUp().
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory Example |
Definition at line 1 of file maintenance.txt.
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default do this many per batch HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript php or something In write the following |
Definition at line 1 of file maintenance.txt.
Referenced by CheckLanguageCLI::help().
Definition at line 52 of file maintenance.txt.
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning in |
Definition at line 1 of file maintenance.txt.
Referenced by PopulateCategory::__construct(), BackupReader::__construct(), UpdateCollation::__construct(), Exif::__construct(), RedirectSpecialArticle::__construct(), SpecialContributions::contributionsSub(), UploadBase::detectScript(), ModernTemplate::execute(), RedisLockManager::freeLocksOnServer(), UploadForm::getDescriptionSection(), RedisLockManager::getLocksOnServer(), PNGMetadataExtractor::getMetadata(), ConvertLinks::getMicroTime(), Title::getSkinFromCssJsSubpage(), User::getStubThreshold(), DeletedContributionsPage::getSubTitle(), CheckLanguageCLI::help(), PoolCounterRedis::initAndPopPoolSlotList(), ParserOutput::isLinkInternal(), MessageCache::load(), Title::loadFromRow(), Title::makeTitle(), ImportStreamSource::newFromUpload(), Preprocessor_Hash::preprocessToObj(), SpecialUpload::processVerificationError(), EditPageTest::provideAutoMerge(), LanguageTrTest::provideDottedAndDotlessI(), RevisionStorageTest::provideUserWasLastToEdit(), UtfNormal::quickIsNFCVerify(), JobQueueRedis::recyclePruneAndUndelayJobs(), Sanitizer::removeHTMLtags(), SpecialBookSources::showList(), Article::showMissingArticle(), and UserOptions::warn().
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default do this many per batch HOW TO WRITE YOUR OWN Make a file in the maintenance directory called myScript php or something In it |
Definition at line 1 of file maintenance.txt.
class DemoMaint extends Maintenance $ maintClass = "DemoMaint" |
require_once RUN_MAINTENANCE_IF_MAIN |
Definition at line 50 of file maintenance.txt.
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously simple |
Definition at line 1 of file maintenance.txt.
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several subdirectories |
Definition at line 1 of file maintenance.txt.
Prior to version |
Definition at line 1 of file maintenance.txt.
Referenced by ResourceLoaderContext::__construct(), ResourceLoaderContext::getHash(), XmlDumpWriter::openStream(), outHeader(), and wfPHPVersionError().
Prior to maintenance scripts were a hodgepodge of code that had no cohesion or formal method of action Beginning maintenance scripts have been cleaned up to use a unified class Directory structure How to run a script How to write your own DIRECTORY STRUCTURE The maintenance directory of a MediaWiki installation contains several all of which have unique purposes HOW TO RUN A SCRIPT Ridiculously just call php someScript php that s in the top level maintenance directory if not default wiki |
Definition at line 1 of file maintenance.txt.
Referenced by DBAccessBase::__construct(), DBFileJournal::__construct(), ForeignDBViaLBRepo::__construct(), BackupReader::__construct(), JobQueueGroup::__construct(), JobQueue::__construct(), JobQueueFederated::__construct(), JobQueueRedis::doBatchPush(), JobQueueDB::doBatchPushInternal(), JobQueueDB::doPop(), JobQueueRedis::doPop(), JobQueueGroup::executeReadyPeriodicTasks(), JobQueueGroup::get(), JobQueueGroup::getCachedConfigVar(), JobQueueFederated::getCacheKey(), JobQueueDB::getCacheKey(), JobQueueGroup::getCoalescedQueues(), DBAccessBase::getConnection(), JobQueueDB::getDB(), DBAccessBase::getLoadBalancer(), ForeignDBViaLBRepo::getMasterDB(), DBFileJournal::getMasterDB(), JobQueueRedis::getQueueKey(), JobQueue::getRootJobCacheKey(), ForeignDBViaLBRepo::getSharedCacheKey(), ForeignDBViaLBRepo::getSlaveDB(), CheckLanguageCLI::help(), JobQueueGroup::pop(), JobQueue::pop(), JobQueueGroup::push(), JobQueueDB::recycleAndDeleteStaleJobs(), JobQueueRedis::recyclePruneAndUndelayJobs(), DBAccessBase::releaseConnection(), ORMTable::setTargetWiki(), showUsage(), and PathRouterTest::testLoose().