MediaWiki
master
|
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 FileContentsHasher::__construct(), JobQueueDB::__construct(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::__construct(), GitInfo::__construct(), JobQueueGroup::__construct(), MediaWiki\Auth\Throttler::__construct(), CachingSiteStore::__construct(), PageProps::__construct(), ExtensionRegistry::__construct(), RepoGroup::__construct(), MWCryptHKDF::__construct(), WANObjectCache::__construct(), MWCryptHKDF::__destruct(), MappedIterator::accept(), GitInfo::cacheIsComplete(), PageProps::cacheProperties(), PageProps::cacheProperty(), JobQueueDB::claimRandom(), ProcessCacheLRU::clear(), MapCacheLRU::clear(), MediaWiki\Auth\Throttler::clear(), RepoGroup::clearCache(), WANObjectCache::clearLastError(), MappedIterator::current(), WANObjectCache::delete(), JobQueueDB::doFlushCaches(), JobQueueDB::doGetAbandonedCount(), JobQueueDB::doGetAcquiredCount(), JobQueueDB::doGetSize(), WANObjectCache::doGetWithSetCallback(), UserCache::doQuery(), GenderCache::doQuery(), WebInstallerOptions::execute(), ArrayBackedMemoizedCallable::fetchResult(), RepoGroup::findFile(), MapCacheLRU::get(), ProcessCacheLRU::get(), MapCacheLRU::getAllKeys(), PageProps::getCachedProperties(), PageProps::getCachedProperty(), WANObjectCache::getCheckKeyTime(), GitInfo::getCurrentBranch(), ProcessCacheLRUTestable::getEntriesCount(), FileContentsHasher::getFileContentsHashInternal(), GenderCache::getGenderOf(), GitInfo::getHead(), GitInfo::getHeadCommitDate(), GitInfo::getHeadSHA1(), WANObjectCache::getLastError(), WANObjectCache::getMulti(), UserCache::getProp(), GitInfo::getRemoteUrl(), MWCryptHKDF::getSaltUsingCache(), CachingSiteStore::getSites(), MapCacheLRU::has(), ProcessCacheLRU::has(), MediaWiki\Auth\Throttler::increase(), MessageCache::load(), ExtensionRegistry::loadFromQueue(), WANObjectCache::makeGlobalKey(), WANObjectCache::makeKey(), mccShowUsage(), MovePage::move(), MappedIterator::next(), MapCacheLRU::ping(), ProcessCacheLRU::ping(), JobQueueGroup::pop(), GitInfo::precomputeValues(), WANObjectCache::processCheckKeys(), JobQueueGroup::push(), WANObjectCache::relayDelete(), WANObjectCache::relayPurge(), CachingSiteStore::reset(), WANObjectCache::resetCheckKey(), ProcessCacheLRU::resize(), MappedIterator::rewind(), ProcessCacheLRU::set(), MapCacheLRU::set(), WANObjectCache::set(), MediaWiki\Auth\ThrottlePreAuthenticationProvider::setConfig(), RevisionTest::setUp(), WANObjectCacheTest::setUp(), MemcachedBagOStuffTest::setUp(), RedisBagOStuffTest::setUp(), BagOStuffTest::setUp(), ReplicatedBagOStuffTest::setUp(), TitleMethodsTest::setUp(), EditPageTest::setUp(), MultiWriteBagOStuffTest::setUp(), ApiEditPageTest::setUp(), TestPageProps::setUp(), RevisionStorageTest::setUp(), NewParserTest::setUp(), ArrayBackedMemoizedCallable::storeResult(), TitleMethodsTest::tearDown(), ApiEditPageTest::tearDown(), RevisionTest::tearDown(), RevisionStorageTest::tearDown(), TestPageProps::tearDown(), NewParserTest::tearDown(), BagOStuffTest::testAdd(), WANObjectCacheTest::testDelete(), ReplicatedBagOStuffTest::testGet(), BagOStuffTest::testGet(), ReplicatedBagOStuffTest::testGetAbsent(), BagOStuffTest::testGetMulti(), WANObjectCacheTest::testGetNotExists(), BagOStuffTest::testGetScopedLock(), BagOStuffTest::testGetWithSetCallback(), WANObjectCacheTest::testGetWithSeveralCheckKeys(), BagOStuffTest::testIncr(), BagOStuffTest::testIncrWithInit(), MemcachedBagOStuffTest::testKeyNormalization(), BagOStuffTest::testMerge(), GlobalTest::testReadOnlySet(), RedisBagOStuffTest::testSerialize(), ReplicatedBagOStuffTest::testSet(), WANObjectCacheTest::testSetAndGet(), MultiWriteBagOStuffTest::testSetDelayed(), MultiWriteBagOStuffTest::testSetImmediate(), WANObjectCacheTest::testSetOver(), WANObjectCacheTest::testSetWithLag(), WANObjectCacheTest::testStaleSet(), MultiWriteBagOStuffTest::testSyncMerge(), WANObjectCacheTest::testTouchKeys(), RedisBagOStuffTest::testUnserialize(), MemcachedBagOStuffTest::testValidateKeyEncoding(), MemcachedBagOStuffTest::testValidateKeyEncodingThrowsException(), WANObjectCacheTest::testWritePending(), and WANObjectCache::touchCheckKey().
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.
Referenced by LoginForm::__callStatic(), SpecialChangePassword::__construct(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::__construct(), MediaWikiTestCase::__destruct(), MediaWiki\Auth\AuthManager::beginAccountCreation(), MediaWiki\Auth\AuthManager::beginAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::beginPrimaryAuthentication(), Preprocessor::cacheGetTree(), Preprocessor::cacheSetTree(), MediaWiki\Auth\AuthManager::continueAccountCreation(), MediaWiki\Auth\AuthManager::continueAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), ApiClientLogin::execute(), PHPUnitMaintClass::finalSetup(), MediaWiki\Session\TestUtils::getDummySession(), MediaWiki\Session\TestUtils::getDummySessionBackend(), MediaWiki\Auth\ConfirmLinkAuthenticationRequestTest::getLinkRequests(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::getLinkRequests(), WatchedItemQueryServiceUnitTest::getMockAnonUser(), WatchedItemStoreUnitTest::getMockCache(), WatchedItemQueryServiceUnitTest::getMockDb(), WatchedItemStoreUnitTest::getMockDb(), WatchedItemStoreUnitTest::getMockLoadBalancer(), WatchedItemQueryServiceUnitTest::getMockLoadBalancer(), WatchedItemStoreUnitTest::getMockNonAnonUserWithId(), WatchedItemQueryServiceUnitTest::getMockNonAnonUserWithId(), WikiCategoryPageTest::getMockPageProps(), RecentChangeTest::getMockPageProps(), WatchedItemStoreUnitTest::getMockTitle(), WatchedItemUnitTest::getMockUser(), WatchedItemUnitTest::getMockWatchedItemStore(), DummyAction::getName(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProvider::getPassword(), MediaWiki\Auth\AuthManager::getPreAuthenticationProviders(), MediaWiki\Auth\AuthManager::getPrimaryAuthenticationProviders(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::getProvider(), MediaWiki\Session\BotPasswordSessionProviderTest::getProvider(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::getProvider(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::getProvider(), MediaWiki\Session\PHPSessionHandlerTest::getResetter(), MediaWiki\Auth\AuthManager::getSecondaryAuthenticationProviders(), MediaWiki\Auth\AbstractAuthenticationProvider::getUniqueId(), WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo(), BotPassword::login(), AuthManagerSpecialPage::needsSubmitButton(), MediaWikiTestCase::oncePerClass(), MediaWiki\Auth\AuthManagerTest::provideAccountCreation(), MediaWiki\Auth\AuthManagerTest::provideAccountLink(), MediaWiki\Auth\AuthManagerTest::provideAuthentication(), MediaWiki\Auth\AuthenticationResponseTest::provideConstructors(), MediaWikiServicesTest::provideGetService(), MessageTest::provideNewFromSpecifier(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::provideProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::provideProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::provideProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::provideProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerAllowsAuthenticationDataChange(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::providerChangeAuthenticationData(), ConfigFactory::salvage(), GenericArrayObject::setElement(), MediaWiki\Session\TestUtils::setSessionManagerSingleton(), LanguageClassesTestCase::setUp(), MediaWiki\Auth\AbstractAuthenticationProviderTest::testAbstractAuthenticationProvider(), MediaWiki\Auth\AbstractPreAuthenticationProviderTest::testAbstractPreAuthenticationProvider(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testAbstractPrimaryAuthenticationProvider(), MediaWiki\Auth\AbstractSecondaryAuthenticationProviderTest::testAbstractSecondaryAuthenticationProvider(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), WatchedItemUnitTest::testAddWatch(), MediaWiki\Auth\AuthManagerTest::testAllowsAuthenticationDataChange(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testAutoCreateFailOnLogin(), MediaWiki\Auth\AuthManagerTest::testAutoCreateOnLogin(), MediaWiki\Session\TokenTest::testBasics(), MediaWiki\Session\SessionInfoTest::testBasics(), MediaWiki\Session\SessionProviderTest::testBasics(), MediaWiki\Auth\AuthenticationRequestTest::testBasics(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testBasics(), MediaWiki\Auth\AuthManagerTest::testBeginAccountCreation(), MediaWiki\Auth\AuthManagerTest::testBeginAccountLink(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testBeginLinkAttempt(), MediaWiki\Auth\EmailNotificationSecondaryAuthenticationProviderTest::testBeginSecondaryAccountCreation(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testBeginSecondaryAccountCreation(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testBeginSecondaryAuthentication(), ApiLoginTest::testBotPassword(), MediaWiki\Auth\AuthManagerTest::testCanCreateAccount(), MediaWiki\Auth\AuthManagerTest::testCanCreateAccounts(), MediaWiki\Auth\AuthManagerTest::testCanLinkAccounts(), MediaWiki\Auth\AuthManagerTest::testChangeAuthenticationData(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testCheckPasswordValidity(), MediaWiki\Session\SessionTest::testClear(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testConstruction(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testConstructor(), MediaWiki\Auth\ThrottlerTest::testConstructor(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testConstructor(), MediaWiki\Auth\AuthManagerTest::testContinueAccountCreation(), MediaWiki\Auth\AuthManagerTest::testContinueAccountLink(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueLinkAttempt(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueSecondaryAccountCreation(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::testContinueSecondaryAuthentication(), LinkRendererFactoryTest::testCreate(), LinkRendererFactoryTest::testCreateForUser(), LinkRendererFactoryTest::testCreateFromLegacyOptions(), MediaWiki\Auth\AuthManagerTest::testCreateFromLogin(), MediaWiki\Session\SessionProviderTest::testDescribe(), MediaWiki\Session\PHPSessionHandlerTest::testDisabled(), MediaWiki\Session\PHPSessionHandlerTest::testEnableFlags(), PasswordResetTest::testExecute_email(), MediaWiki\Auth\ThrottlerTest::testExpiration(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testFailResponse(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProvider::testForAuthentication(), MediaWiki\Auth\AuthManagerTest::testForcePrimaryAuthenticationProviders(), MediaWiki\Session\SessionProviderTest::testGetAllowedUserRights(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequestsRequired(), MediaWiki\Session\SessionManagerTest::testGetEmptySession(), MediaWiki\Session\SessionManagerTest::testGetGlobalSession(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetNewPasswordExpiry(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetPassword(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetPasswordFactory(), MediaWiki\Auth\AuthenticationRequestTest::testGetRequestByClass(), MediaWiki\Auth\ButtonAuthenticationRequestTest::testGetRequestByName(), MediaWiki\Session\SessionManagerTest::testGetSessionById(), MediaWiki\Session\SessionManagerTest::testGetSessionForRequest(), MediaWiki\Auth\AuthenticationRequestTest::testGetUsernameFromRequests(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser_invalidOptionThrowsException(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_invalidOptions(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_watchlistOwnerAndInvalidToken(), ExtensionProcessorTest::testGlobalSettingsDocumentedInSchema(), MediaWiki\Session\SessionProviderTest::testHashToSessionId(), MediaWiki\Session\SessionProviderTest::testImmutableSessions(), PasswordResetTest::testIsAllowed(), WatchedItemUnitTest::testIsWatched(), MediaWiki\Auth\AuthenticationRequestTest::testLoadFromSubmission(), MediaWiki\Auth\AuthenticationRequestTest::testLoadRequestsFromSubmission(), MediaWiki\Session\SessionManagerTest::testLoadSessionInfoFromStore(), MediaWiki\Auth\ThrottlerTest::testLog(), MediaWikiTestCaseTest::testLoggersAreRestoredOnTearDown(), BotPasswordTest::testLogin(), MediaWikiTestCase::testMediaWikiTestCaseParentSetupCalled(), MediaWiki\Auth\AuthenticationRequestTest::testMergeFieldInfo(), MediaWiki\Session\SessionProviderTest::testMergeMetadata(), MediaWiki\Session\SessionTest::testMethods(), MessageTest::testNewFromSpecifier(), MediaWiki\Session\SessionProviderTest::testNewSessionInfo(), MediaWiki\Session\BotPasswordSessionProviderTest::testNewSessionInfoForRequest(), MediaWiki\Auth\ThrottlerTest::testNormalizeThrottleConditions2(), MediaWiki\Auth\AuthManagerTest::testNormalizeUsername(), ApiQueryWatchlistIntegrationTest::testOwnerAndTokenParams_noWatchlistTokenSet(), ApiQueryWatchlistRawIntegrationTest::testOwnerAndTokenParams_userHasNoWatchlistToken(), ApiQueryWatchlistRawIntegrationTest::testOwnerAndTokenParams_wrongToken(), ApiQueryWatchlistIntegrationTest::testOwnerAndTokenParams_wrongToken(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testPrimaryAccountLink(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderAllowsAuthenticationDataChange(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), MediaWiki\Auth\AuthManagerTest::testProviderCreation(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testProviderNormalizeUsername(), MediaWiki\Auth\AbstractSecondaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testProviderRevokeAccessForUser(), MediaWiki\Session\BotPasswordSessionProviderTest::testProvideSessionInfo(), ConfigFactoryTest::testRegister(), WatchedItemUnitTest::testRemoveWatch(), MediaWikiServicesTest::testResetChildProcessServices(), MediaWikiServicesTest::testResetGlobalInstance(), MediaWikiServicesTest::testResetGlobalInstance_quick(), MediaWiki\Session\SessionBackendTest::testResetIdOfGlobalSession(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_item(), MediaWiki\Auth\AuthManagerTest::testRevokeAccessForUser(), MediaWiki\Session\SessionBackendTest::testSessionStuff(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testSetPasswordResetFlag(), MediaWikiTestCaseTest::testSetService(), MediaWiki\Session\SessionManagerTest::testSingleton(), MediaWiki\Auth\AuthManagerTest::testSingleton(), MediaWiki\Session\SessionBackendTest::testTakeOverGlobalSession(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAuthentication(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testTryReset(), MediaWiki\Session\SessionBackendTest::testUnpersistOfGlobalSession(), MediaWiki\Auth\AuthManagerTest::testUserCanAuthenticate(), MediaWiki\Auth\AuthManagerTest::testUserExists(), MediaWiki\Session\PHPSessionHandlerTest::testWrongInstance(), and WatchedItemStoreUnitTest::verifyCallbackJob().
Definition at line 52 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 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.
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 DeprecatedGlobal::__construct(), ResourceLoaderContext::__construct(), DeprecatedGlobal::_newObject(), DjVuImage::convertDumpToXML(), ImportTest::getRedirectXML(), ImportTest::getSiteInfoXML(), ImportTest::getUnknownTagsXML(), DerivativeResourceLoaderContext::getVersion(), RSSFeed::outHeader(), DerivativeResourceLoaderContext::setVersion(), XmlTypeCheckTest::testRecursiveEntity(), 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 DumpBackup::__construct(), DBFileJournal::__construct(), DBAccessBase::__construct(), BackupReader::__construct(), ForeignDBViaLBRepo::__construct(), JobQueue::__construct(), JobQueueGroup::__construct(), JobQueueFederated::__construct(), JobQueue::batchPush(), JobQueueMemory::doDelete(), JobQueueDB::doWaitForBackups(), JobQueueRedis::encodeQueueName(), JobQueueGroup::getCachedConfigVar(), JobQueueDB::getCacheKey(), JobQueueGroup::getCoalescedQueues(), DBAccessBase::getConnection(), JobQueueDB::getDB(), DBAccessBase::getLoadBalancer(), ForeignDBViaLBRepo::getMasterDB(), DBFileJournal::getMasterDB(), JobQueueMemory::getQueueData(), JobQueueRedis::getQueueKey(), ImportTest::getRedirectXML(), JobQueue::getRootJobCacheKey(), ForeignDBViaLBRepo::getSharedCacheKey(), ForeignDBViaLBRepo::getSlaveDB(), ImportTest::getUnknownTagsXML(), CheckLanguageCLI::help(), JobQueue::pop(), JobQueueDB::recycleAndDeleteStaleJobs(), DBAccessBase::releaseConnection(), showUsage(), and PathRouterTest::testLoose().