MediaWiki REL1_31
|
Classes | |
class | Maintenance |
Abstract maintenance class for quickly writing and churning out maintenance scripts with minimal effort. More... | |
Variables | |
class DemoMaint extends Maintenance | $maintClass = "DemoMaint" |
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 |
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 |
class DemoMaint extends Maintenance $maintClass = "DemoMaint" |
Definition at line 55 of file maintenance.txt.
Referenced by JobQueueGroup::__construct(), RepoGroup::__construct(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::__construct(), GitInfo::__construct(), CryptHKDF::__construct(), PageProps::__construct(), FileContentsHasher::__construct(), MediaWiki\Auth\Throttler::__construct(), JobQueueDB::__construct(), WANObjectCache::__construct(), MediaWiki\Storage\SqlBlobStore::__construct(), MediaWiki\Storage\NameTableStore::__construct(), WatchedItemStore::__construct(), MediaWiki\Storage\RevisionStore::__construct(), MediaWiki\Storage\BlobStoreFactory::__construct(), CachingSiteStore::__construct(), WANObjectCacheReaper::__construct(), CryptHKDF::__destruct(), MappedIterator::accept(), MediaWiki\Storage\NameTableStore::acquireId(), WatchedItemStore::addWatchBatchForUser(), WatchedItemStore::cache(), GitInfo::cacheIsComplete(), PageProps::cacheProperties(), PageProps::cacheProperty(), JobQueueDB::claimRandom(), MapCacheLRU::clear(), ProcessCacheLRU::clear(), MediaWiki\Auth\Throttler::clear(), RepoGroup::clearCache(), WANObjectCache::clearLastError(), MappedIterator::current(), JobQueueDB::doFlushCaches(), JobQueueDB::doGetAbandonedCount(), JobQueueDB::doGetAcquiredCount(), JobQueueDB::doGetSize(), WANObjectCache::doGetWithSetCallback(), GenderCache::doQuery(), UserCache::doQuery(), PageProps::ensureCacheSize(), WebInstallerOptions::execute(), MediaWiki\Storage\SqlBlobStore::expandBlob(), ArrayBackedMemoizedCallable::fetchResult(), RepoGroup::findFile(), MapCacheLRU::get(), ProcessCacheLRU::get(), MapCacheLRU::getAllKeys(), MediaWiki\Storage\SqlBlobStore::getBlob(), WatchedItemStore::getCached(), PageProps::getCachedProperties(), PageProps::getCachedProperty(), CachingSiteStore::getCacheKey(), MediaWiki\Storage\NameTableStore::getCacheKey(), WatchedItemStore::getCacheKey(), MediaWiki\Storage\SqlBlobStore::getCacheTTL(), GitInfo::getCurrentBranch(), ProcessCacheLRUTestable::getEntriesCount(), FileContentsHasher::getFileContentsHashInternal(), GenderCache::getGenderOf(), GitInfo::getHead(), GitInfo::getHeadCommitDate(), GitInfo::getHeadSHA1(), WANObjectCache::getInterimValue(), MediaWiki\Storage\RevisionStore::getKnownCurrentRevision(), WANObjectCache::getLastError(), WANObjectCache::getMulti(), WANObjectCache::getMultiCheckKeyTime(), MediaWiki\Storage\NameTableStore::getName(), UserCache::getProp(), WANObjectCache::getQoS(), WANObjectCache::getRawKeysForWarmup(), GitInfo::getRemoteUrl(), CryptHKDF::getSaltUsingCache(), CachingSiteStore::getSites(), MediaWiki\Storage\NameTableStore::getTableFromCachesOrReplica(), MapCacheLRU::has(), ProcessCacheLRU::has(), MediaWiki\Auth\Throttler::increase(), WANObjectCacheReaper::invoke(), MessageCache::load(), WatchedItemStore::loadWatchedItem(), WANObjectCache::makeGlobalKey(), WANObjectCache::makeKey(), mccShowUsage(), MovePage::move(), MediaWiki\Storage\BlobStoreFactory::newSqlBlobStore(), MappedIterator::next(), MapCacheLRU::ping(), ProcessCacheLRU::ping(), JobQueueGroup::pop(), GitInfo::precomputeValues(), WANObjectCache::processCheckKeys(), JobQueueGroup::push(), WANObjectCache::reap(), WANObjectCache::reapCheckKey(), WANObjectCache::relayDelete(), WANObjectCache::relayPurge(), CachingSiteStore::reset(), ProcessCacheLRU::resize(), MappedIterator::rewind(), ProcessCacheLRU::set(), MapCacheLRU::set(), WANObjectCache::set(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::setConfig(), WANObjectCache::setInterimValue(), WANObjectCache::setMockTime(), ApiEditPageTest::setUp(), EditPageTest::setUp(), BagOStuffTest::setUp(), MultiWriteBagOStuffTest::setUp(), ReplicatedBagOStuffTest::setUp(), WANObjectCacheTest::setUp(), MemcachedBagOStuffTest::setUp(), RedisBagOStuffTest::setUp(), PagePropsTest::setUp(), TitleMethodsTest::setUp(), ArrayBackedMemoizedCallable::storeResult(), ApiEditPageTest::tearDown(), EditPageTest::tearDown(), PagePropsTest::tearDown(), TitleMethodsTest::tearDown(), WANObjectCacheTest::testAdaptiveTTL(), BagOStuffTest::testAdd(), BagOStuffTest::testChangeTTL(), WANObjectCacheTest::testDelete(), BagOStuffTest::testGet(), ReplicatedBagOStuffTest::testGet(), ReplicatedBagOStuffTest::testGetAbsent(), BagOStuffTest::testGetMulti(), WANObjectCacheTest::testGetMultiWithSetCallback(), WANObjectCacheTest::testGetMultiWithUnionSetCallback(), WANObjectCacheTest::testGetNotExists(), BagOStuffTest::testGetScopedLock(), BagOStuffTest::testGetWithSetCallback(), WANObjectCacheTest::testGetWithSetCallback_invalidCallback(), WANObjectCacheTest::testGetWithSeveralCheckKeys(), BagOStuffTest::testIncr(), BagOStuffTest::testIncrWithInit(), MemcachedBagOStuffTest::testKeyNormalization(), BagOStuffTest::testMerge(), WANObjectCacheTest::testProcessCache(), WANObjectCacheTest::testReap(), RedisBagOStuffTest::testSerialize(), ReplicatedBagOStuffTest::testSet(), WANObjectCacheTest::testSetAndGet(), MultiWriteBagOStuffTest::testSetDelayed(), MultiWriteBagOStuffTest::testSetImmediate(), WANObjectCacheTest::testSetLogger(), WANObjectCacheTest::testSetOver(), WANObjectCacheTest::testSetWithLag(), WANObjectCacheTest::testStaleSet(), MultiWriteBagOStuffTest::testSyncMerge(), RedisBagOStuffTest::testUnserialize(), MemcachedBagOStuffTest::testValidateKeyEncoding(), MemcachedBagOStuffTest::testValidateKeyEncodingThrowsException(), WANObjectCacheTest::testWritePending(), WatchedItemStore::uncache(), WatchedItemStore::uncacheAllItemsForUser(), WatchedItemStore::uncacheLinkTarget(), and WatchedItemStore::uncacheUser().
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 56 of file maintenance.txt.
Referenced by MediaWikiServices().
Definition at line 55 of file maintenance.txt.
Referenced by mccShowUsage().
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 17 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 31 of file maintenance.txt.
Referenced by CheckLanguageCLI::help(), and CheckExtensionsCLI::help().
Definition at line 55 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 2 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 it |
Definition at line 31 of file maintenance.txt.
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 14 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 11 of file maintenance.txt.
Prior to version |
Definition at line 1 of file maintenance.txt.
Referenced by DeprecatedGlobal::__construct(), CleanupInvalidDbKeys::__construct(), ResourceLoaderContext::__construct(), DeprecatedGlobal::_newObject(), PHPVersionCheck::checkRequiredPHPVersion(), DjVuImage::convertDumpToXML(), ImportTest::getRedirectXML(), ImportTest::getSiteInfoXML(), ImportTest::getUnknownTagsXML(), DerivativeResourceLoaderContext::getVersion(), of(), DerivativeResourceLoaderContext::setVersion(), XmlTypeCheckTest::testRecursiveEntity(), and ImportTest::testUnknownUserHandling().
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 26 of file maintenance.txt.
Referenced by DumpBackup::__construct(), ForeignDBViaLBRepo::__construct(), DBAccessBase::__construct(), BackupReader::__construct(), PopulateInterwiki::__construct(), DBFileJournal::__construct(), JobQueue::__construct(), JobQueueFederated::__construct(), JobQueue::batchPush(), JobQueueMemory::doDelete(), JobQueueDB::doWaitForBackups(), JobQueueRedis::encodeQueueName(), JobQueueDB::getCacheKey(), DBAccessBase::getConnection(), JobQueueDB::getDB(), JobQueueDBSingle::getDB(), ForeignDBViaLBRepo::getDBFactory(), DBAccessBase::getLoadBalancer(), DBFileJournal::getMasterDB(), ForeignDBViaLBRepo::getMasterDB(), JobQueueMemory::getQueueData(), JobQueueRedis::getQueueKey(), ImportTest::getRedirectXML(), ForeignDBViaLBRepo::getReplicaDB(), JobQueue::getRootJobCacheKey(), ForeignDBViaLBRepo::getSharedCacheKey(), ImportTest::getUnknownTagsXML(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), JobQueue::pop(), ResourceLoaderSkinModuleTest::provideGetStyles(), JobQueueDB::recycleAndDeleteStaleJobs(), DBAccessBase::releaseConnection(), showUsage(), PathRouterTest::testLoose(), and ImportTest::testUnknownUserHandling().