MediaWiki
1.30.0
|
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(), WANObjectCacheReaper::__construct(), PageProps::__construct(), RepoGroup::__construct(), CryptHKDF::__construct(), WANObjectCache::__construct(), CryptHKDF::__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(), JobQueueDB::doFlushCaches(), JobQueueDB::doGetAbandonedCount(), JobQueueDB::doGetAcquiredCount(), JobQueueDB::doGetSize(), WANObjectCache::doGetWithSetCallback(), UserCache::doQuery(), GenderCache::doQuery(), PageProps::ensureCacheSize(), ArrayBackedMemoizedCallable::fetchResult(), RepoGroup::findFile(), MapCacheLRU::get(), ProcessCacheLRU::get(), MapCacheLRU::getAllKeys(), PageProps::getCachedProperties(), PageProps::getCachedProperty(), CachingSiteStore::getCacheKey(), WANObjectCache::getCheckKeyTime(), GitInfo::getCurrentBranch(), ProcessCacheLRUTestable::getEntriesCount(), FileContentsHasher::getFileContentsHashInternal(), GenderCache::getGenderOf(), GitInfo::getHead(), GitInfo::getHeadCommitDate(), GitInfo::getHeadSHA1(), WANObjectCache::getLastError(), WANObjectCache::getMulti(), UserCache::getProp(), WANObjectCache::getQoS(), WANObjectCache::getRawKeysForWarmup(), GitInfo::getRemoteUrl(), CryptHKDF::getSaltUsingCache(), CachingSiteStore::getSites(), MapCacheLRU::has(), ProcessCacheLRU::has(), MediaWiki\Auth\Throttler::increase(), WANObjectCacheReaper::invoke(), MessageCache::load(), WANObjectCache::makeGlobalKey(), WANObjectCache::makeKey(), mccShowUsage(), MovePage::move(), MappedIterator::next(), ProcessCacheLRU::ping(), MapCacheLRU::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(), RevisionTest::setUp(), MemcachedBagOStuffTest::setUp(), WANObjectCacheTest::setUp(), ReplicatedBagOStuffTest::setUp(), RedisBagOStuffTest::setUp(), TitleMethodsTest::setUp(), BagOStuffTest::setUp(), EditPageTest::setUp(), MultiWriteBagOStuffTest::setUp(), ApiEditPageTest::setUp(), TestPageProps::setUp(), RevisionStorageTest::setUp(), ArrayBackedMemoizedCallable::storeResult(), TitleMethodsTest::tearDown(), ApiEditPageTest::tearDown(), RevisionTest::tearDown(), RevisionStorageTest::tearDown(), TestPageProps::tearDown(), WANObjectCacheTest::testAdaptiveTTL(), BagOStuffTest::testAdd(), BagOStuffTest::testChangeTTL(), WANObjectCacheTest::testDelete(), ReplicatedBagOStuffTest::testGet(), BagOStuffTest::testGet(), ReplicatedBagOStuffTest::testGetAbsent(), BagOStuffTest::testGetMulti(), WANObjectCacheTest::testGetMultiWithSetCallback(), WANObjectCacheTest::testGetMultiWithUnionSetCallback(), WANObjectCacheTest::testGetNotExists(), BagOStuffTest::testGetScopedLock(), BagOStuffTest::testGetWithSetCallback(), 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::testSetOver(), WANObjectCacheTest::testSetWithLag(), WANObjectCacheTest::testStaleSet(), MultiWriteBagOStuffTest::testSyncMerge(), WANObjectCacheTest::testTouchKeys(), RedisBagOStuffTest::testUnserialize(), MemcachedBagOStuffTest::testValidateKeyEncoding(), MemcachedBagOStuffTest::testValidateKeyEncodingThrowsException(), and WANObjectCacheTest::testWritePending().
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 MediaWikiTestCase::__call(), Wikimedia\Rdbms\Database::__clone(), SpecialChangePassword::__construct(), SpecialRecentChanges::__construct(), HTMLFormFieldCloner::__construct(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProvider::__construct(), ChangesListSpecialPage::__construct(), JobSpecification::__construct(), LocalisationCache::__construct(), Language::__construct(), MediaWikiTestCase::__destruct(), MediaWiki\Session\SessionProvider::__toString(), MWLBFactory::applyDefaultConfig(), TestSetup::applyInitialConfig(), NullRepo::assertWritableRepo(), ForeignDBViaLBRepo::assertWritableRepo(), ForeignDBRepo::assertWritableRepo(), ForeignAPIRepo::assertWritableRepo(), 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(), FileCacheBase::cacheMissKey(), Preprocessor::cacheSetTree(), ExtensionJsonValidator::checkDependencies(), RenameUserCleanup::checkRenameLog(), ParserOptionsTest::clearCache(), FileBackendStore::concatenate(), MediaWiki\Auth\AuthManager::continueAccountCreation(), MediaWiki\Auth\AuthManager::continueAuthentication(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), EtcConfigTest::createConfigMock(), ReadOnlyModeTest::createLB(), BagOStuff::debug(), MediaWiki\Session\SessionProvider::describeMessage(), FileBackendMultiWrite::doOperationsInternal(), FileBackendStore::doOperationsInternal(), IndexPager::doQuery(), ForeignAPIRepo::enumFiles(), ApiFeedRecentChanges::execute(), ApiClientLogin::execute(), MediaWikiShell::execute(), JobRunner::executeJob(), HTMLForm::factory(), Wikimedia\Rdbms\Database::factory(), DeletedContribsPager::formatRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), QueryPage::getCachedTimestamp(), WikitextContentHandler::getContentClass(), CssContentHandler::getContentClass(), JsonContentHandler::getContentClass(), JavaScriptContentHandler::getContentClass(), TextContentHandler::getContentClass(), ContextSource::getContext(), Wikimedia\Rdbms\ResultWrapper::getDB(), ResourceLoaderModule::getDefinitionSummary(), ContentHandler::getDiffEngineClass(), HTMLFormField::getDiv(), MediaWiki\Session\TestUtils::getDummySession(), MediaWiki\Session\TestUtils::getDummySessionBackend(), ResourceLoaderTest::getFailFerryMock(), ApiFeedRecentChanges::getFeedObject(), ChangesListSpecialPage::getFilterGroupDefinitionFromLegacyCustomFilters(), IcuCollation::getFirstLetterData(), HTMLFancyCaptchaFieldTest::getForm(), MWException::getHTML(), Wikimedia\Tests\Rdbms\ConnectionManagerTest::getIDatabaseMock(), Wikimedia\Tests\Rdbms\SessionConsistentConnectionManagerTest::getIDatabaseMock(), MWLBFactory::getLBFactoryClass(), LBFactoryTest::getLBFactoryClassProvider(), EnhancedChangesList::getLineData(), MediaWiki\Auth\ConfirmLinkAuthenticationRequestTest::getLinkRequests(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProviderTest::getLinkRequests(), Wikimedia\Tests\Rdbms\ConnectionManagerTest::getLoadBalancerMock(), Wikimedia\Tests\Rdbms\SessionConsistentConnectionManagerTest::getLoadBalancerMock(), Wikimedia\Rdbms\LoadBalancer::getLoadMonitor(), WatchedItemQueryServiceUnitTest::getMockAnonUser(), WatchedItemStoreUnitTest::getMockCache(), WatchedItemQueryServiceUnitTest::getMockDb(), WatchedItemStoreUnitTest::getMockDb(), DatabaseTest::getMockDB(), WatchedItemStoreUnitTest::getMockLoadBalancer(), WatchedItemQueryServiceUnitTest::getMockLoadBalancer(), WatchedItemQueryServiceUnitTest::getMockNonAnonUserWithId(), WatchedItemStoreUnitTest::getMockNonAnonUserWithId(), SkinTemplateTest::getMockOutputPage(), WikiCategoryPageTest::getMockPageProps(), RecentChangeTest::getMockPageProps(), WatchedItemStoreUnitTest::getMockReadOnlyMode(), WatchedItemStoreUnitTest::getMockTitle(), WatchedItemUnitTest::getMockUser(), WatchedItemUnitTest::getMockWatchedItemStore(), VirtualRESTService::getName(), DummyAction::getName(), MediaWikiTestCase::getNewTempFile(), HTMLFormField::getOOUI(), ChangesListSpecialPageTest::getPage(), 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(), ResourceLoaderTest::getSimpleModuleMock(), InterwikiLookupAdapterTest::getSiteLookup(), Skin::getSkinStylePath(), IndexPager::getSqlComment(), HTMLCheckMatrix::getTableRow(), HTMLFormField::getTableRow(), MediaWiki\Auth\AbstractAuthenticationProvider::getUniqueId(), WatchedItemQueryService::getWatchedItemsWithRecentChangeInfo(), HistoryPager::historyLine(), ForeignAPIRepo::httpGetCached(), FileCacheBase::incrMissesRecent(), LocalFile::loadExtraFromDB(), LocalFile::loadFromDB(), FileOp::logFailure(), BotPassword::login(), LogEventsList::logLine(), ObjectCache::newFromParams(), LocalFile::nextHistoryLine(), MathCaptcha::onAuthChangeFormFields(), QuestyCaptcha::onAuthChangeFormFields(), ReCaptcha::onAuthChangeFormFields(), FancyCaptcha::onAuthChangeFormFields(), SimpleCaptcha::onAuthChangeFormFields(), MediaWikiTestCase::oncePerClass(), TitleBlacklistHooks::onRegistration(), ResourceLoaderWikiModule::preloadTitleInfo(), SkinTemplate::prepareQuickTemplate(), MediaWiki\Auth\AuthManagerTest::provideAccountCreation(), MediaWiki\Auth\AuthManagerTest::provideAccountLink(), ApiMainTest::provideApiErrorFormatterCreation(), MediaWiki\Auth\AuthManagerTest::provideAuthentication(), MediaWiki\Auth\AuthenticationResponseTest::provideConstructors(), MediaWikiServicesTest::provideGetService(), ChangeTagsTest::provideModifyDisplayQuery(), ParserOptionsTest::provideOptionsHash(), 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(), ResourceLoaderTest::provideTestIsFileModule(), JobTest::provideTestJobFactory(), File::readOnlyError(), ShortPagesPage::reallyDoQuery(), QueryPage::reallyDoQuery(), QueryPage::recache(), OldChangesList::recentChangesLine(), SpamBlacklistHooks::registerExtension(), SpecialWatchlist::registerFilters(), RenameuserSQL::rename(), MWException::report(), MediaWiki::restInPeace(), FileBackendMultiWrite::resyncFiles(), TransformationalImageHandler::rotate(), ConfigFactory::salvage(), GenericArrayObject::setElement(), MediaWiki\Session\TestUtils::setSessionManagerSingleton(), TitleBlacklistAuthenticationRequestTest::setUp(), CaptchaAuthenticationRequestTest::setUp(), TitleBlacklistPreAuthenticationProviderTest::setUp(), MWHttpRequestTestCase::setUp(), CaptchaPreAuthenticationProviderTest::setUp(), LanguageClassesTestCase::setUp(), RedirectSpecialPage::showNoRedirectPage(), MimeMagic::singleton(), MediaWiki\Auth\AbstractAuthenticationProviderTest::testAbstractAuthenticationProvider(), MediaWiki\Auth\AbstractPreAuthenticationProviderTest::testAbstractPreAuthenticationProvider(), MediaWiki\Auth\AbstractPrimaryAuthenticationProviderTest::testAbstractPrimaryAuthenticationProvider(), MediaWiki\Auth\AbstractSecondaryAuthenticationProviderTest::testAbstractSecondaryAuthenticationProvider(), ResourceLoaderContextTest::testAccessors(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountCreation(), MediaWiki\Auth\AuthManagerTest::testAccountLink(), WatchedItemUnitTest::testAddWatch(), TransactionProfilerTest::testAffected(), TransactionProfilerTest::testAffectedTrx(), MediaWiki\Auth\AuthManagerTest::testAllowsAuthenticationDataChange(), ApiMessageTest::testApiMessageCreate(), ApiTestCase::testApiTestGroup(), 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\Auth\AuthenticationRequestTest::testBasics(), MediaWiki\Session\SessionInfoTest::testBasics(), MediaWiki\Session\TokenTest::testBasics(), MediaWiki\Session\SessionProviderTest::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(), CategoriesRdfTest::testCategoriesDump(), MediaWiki\Auth\AuthManagerTest::testChangeAuthenticationData(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testCheckPasswordValidity(), MediaWiki\Session\SessionTest::testClear(), TransactionProfilerTest::testConns(), HashBagOStuffTest::testConstruct(), DatabaseDomainTest::testConstruct(), EtcConfigTest::testConstructCacheObj(), EtcConfigTest::testConstructCacheSpec(), FauxRequestTest::testConstructInvalidData(), FauxRequestTest::testConstructInvalidSession(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testConstruction(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testConstructor(), LanguageCodeTest::testConstructor(), MediaWiki\Auth\ThrottlerTest::testConstructor(), MediaWiki\Session\ImmutableSessionProviderWithCookieTest::testConstructor(), CommentStoreTest::testConstructor(), FauxRequestTest::testConstructWithSession(), ResourceLoaderImageModuleTest::testContext(), 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(), WikitextContentHandlerTest::testDataIndexFieldsFile(), MediaWiki\Session\SessionProviderTest::testDescribe(), MediaWiki\Session\PHPSessionHandlerTest::testDisabled(), ResourceLoaderContextTest::testDummy(), ResourceLoaderContextTest::testEmpty(), MediaWiki\Session\PHPSessionHandlerTest::testEnableFlags(), DatabaseDomainTest::testEquals(), ShellTest::testEscape(), PasswordResetTest::testExecute_email(), MediaWiki\Auth\ThrottlerTest::testExpiration(), CachedBagOStuffTest::testExpire(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testFailResponse(), InterwikiLookupAdapterTest::testFetch(), EtcConfigTest::testFetchFromServer(), TitleBlacklistPreAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProvider::testForAuthentication(), MediaWiki\Auth\AuthManagerTest::testForcePrimaryAuthenticationProviders(), HTMLRestrictionsFieldTest::testForm(), MediaWiki\Session\SessionProviderTest::testGetAllowedUserRights(), CaptchaPreAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetAuthenticationRequests(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequests(), CaptchaPreAuthenticationProviderTest::testGetAuthenticationRequests_store(), MediaWiki\Auth\AuthManagerTest::testGetAuthenticationRequestsRequired(), ResourceLoaderTest::testGetCombinedVersion(), MediaWiki\Session\SessionManagerTest::testGetEmptySession(), ChangesListSpecialPageTest::testGetFilterGroupDefinitionFromLegacyCustomFilters(), MediaWiki\Session\SessionManagerTest::testGetGlobalSession(), ResourceLoaderModuleTest::testGetHeaders(), UserGroupMembershipTest::testGetMembership(), ApiErrorFormatterTest::testGetMessageFromException(), ApiErrorFormatterTest::testGetMessageFromException_BC(), ResourceLoaderTest::testGetModuleClass(), ResourceLoaderTest::testGetModuleClassDefault(), ResourceLoaderTest::testGetModuleFactory(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetNewPasswordExpiry(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetPassword(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testGetPasswordFactory(), DeferredUpdatesTest::testGetPendingUpdates(), MediaWiki\Auth\AuthenticationRequestTest::testGetRequestByClass(), MediaWiki\Auth\ButtonAuthenticationRequestTest::testGetRequestByName(), FauxRequestTest::testGetRequestURL(), MessageBlobStoreTest::testGetResourceLoader(), BagOStuffTest::testGetScopedLock(), MediaWiki\Session\SessionManagerTest::testGetSessionById(), MediaWiki\Session\SessionManagerTest::testGetSessionForRequest(), ChangesListSpecialPageTest::testGetStructuredFilterJsData(), ResourceLoaderSkinModuleTest::testGetStyles(), TitleTest::testGetTalkPageIfDefined_good(), ResourceLoaderFileModuleTest::testGetTemplates(), EtcConfigTest::testGetUnknown(), MediaWiki\Auth\AuthenticationRequestTest::testGetUsernameFromRequests(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsForUser_invalidOptionThrowsException(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_invalidOptions(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_watchlistOwnerAndInvalidToken(), ExtensionProcessorTest::testGlobalSettingsDocumentedInSchema(), MediaWiki\Session\SessionProviderTest::testHashToSessionId(), MediaWiki\Session\SessionProviderTest::testImmutableSessions(), CommentStoreTest::testInsertWithTempTableDeprecated(), PasswordResetTest::testIsAllowed(), ResourceLoaderSkinModuleTest::testIsKnownEmpty(), UserTest::testIsPingLimitable(), WatchedItemUnitTest::testIsWatched(), JobTest::testJobFactory(), DeprecatedGlobalTest::testLazyLoad(), EtcConfigTest::testLoadCacheExpiredLockFetchFails(), EtcConfigTest::testLoadCacheExpiredLockFetchSucceeded(), EtcConfigTest::testLoadCacheExpiredNoLock(), EtcConfigTest::testLoadCacheHit(), EtcConfigTest::testLoadCacheMiss(), EtcConfigTest::testLoadCacheMissBackendError(), EtcConfigTest::testLoadCacheMissWithoutLock(), MediaWiki\Auth\AuthenticationRequestTest::testLoadFromSubmission(), EtcConfigTest::testLoadProcessCacheHit(), MediaWiki\Auth\AuthenticationRequestTest::testLoadRequestsFromSubmission(), MediaWiki\Session\SessionManagerTest::testLoadSessionInfoFromStore(), MediaWiki\Auth\ThrottlerTest::testLog(), MediaWikiTestCaseTest::testLoggersAreRestoredOnTearDown_replacingExistingLogger(), MediaWikiTestCaseTest::testLoggersAreRestoredOnTearDown_replacingNonExistingLogger(), MediaWikiTestCaseTest::testLoggersAreRestoredOnTearDown_replacingSameLoggerTwice(), BotPasswordTest::testLogin(), JsonContentHandlerTest::testMakeEmptyContent(), ContentHandlerSanityTest::testMakeEmptyContent(), MultiWriteBagOStuffTest::testMakeGlobalKey(), CachedBagOStuffTest::testMakeGlobalKey(), WANObjectCacheTest::testMakeGlobalKey(), MultiWriteBagOStuffTest::testMakeKey(), CachedBagOStuffTest::testMakeKey(), WANObjectCacheTest::testMakeKey(), ResourceLoaderTest::testMakeModuleResponseExtraHeaders(), ResourceLoaderTest::testMakeModuleResponseExtraHeadersMulti(), TransactionProfilerTest::testMasterConns(), ParserOptionsTest::testMatches(), MediaWikiTestCase::testMediaWikiTestCaseParentSetupCalled(), SearchIndexFieldTest::testMerge(), MediaWiki\Auth\AuthenticationRequestTest::testMergeFieldInfo(), MediaWiki\Session\SessionProviderTest::testMergeMetadata(), MediaWiki\Session\SessionTest::testMethods(), ResourceLoaderContextTest::testMsg(), ObjectCacheTest::testNewAnythingAccel(), ObjectCacheTest::testNewAnythingHash(), ObjectCacheTest::testNewAnythingNoAccel(), ObjectCacheTest::testNewAnythingNoAccelNoDb(), ObjectCacheTest::testNewAnythingNothing(), ObjectCacheTest::testNewAnythingNothingNoDb(), PasswordFactoryTest::testNewFromCiphertext(), DatabaseDomainTest::testNewFromId(), PasswordFactoryTest::testNewFromType(), MediaWiki\Session\SessionProviderTest::testNewSessionInfo(), MediaWiki\Session\BotPasswordSessionProviderTest::testNewSessionInfoForRequest(), DatabaseDomainTest::testNewUnspecified(), MediaWiki\Auth\ThrottlerTest::testNormalizeThrottleConditions2(), MediaWiki\Auth\AuthManagerTest::testNormalizeUsername(), DeprecatedGlobalTest::testObjectDeStub(), ApiQueryWatchlistIntegrationTest::testOwnerAndTokenParams_noWatchlistTokenSet(), ApiQueryWatchlistRawIntegrationTest::testOwnerAndTokenParams_userHasNoWatchlistToken(), ApiQueryWatchlistRawIntegrationTest::testOwnerAndTokenParams_wrongToken(), ApiQueryWatchlistIntegrationTest::testOwnerAndTokenParams_wrongToken(), ContentHandlerTest::testParserOutputForIndexing(), PreferencesTest::testPreferencesFormPreSaveHookHasCorrectData(), 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(), TransactionProfilerTest::testReadQueryCount(), TransactionProfilerTest::testReadTime(), OldChangesListTest::testRecentChangesLine_prefix(), EnhancedChangesListTest::testRecentChangesPrefix(), ConfigFactoryTest::testRegister(), WatchedItemUnitTest::testRemoveWatch(), BagOStuffTest::testReportDupes(), MediaWikiServicesTest::testResetChildProcessServices(), MediaWikiServicesTest::testResetGlobalInstance(), MediaWikiServicesTest::testResetGlobalInstance_quick(), MediaWiki\Session\SessionBackendTest::testResetIdOfGlobalSession(), WatchedItemStoreUnitTest::testResetNotificationTimestamp_item(), MediaWiki\Auth\AuthManagerTest::testRevokeAccessForUser(), HooksTest::testRunWithoutAbortWarning(), SamplingStatsdClientTest::testSampling(), MediaWiki\Session\SessionBackendTest::testSessionStuff(), MediaWiki\Auth\AbstractPasswordPrimaryAuthenticationProviderTest::testSetPasswordResetFlag(), SamplingStatsdClientTest::testSetSamplingRates(), MediaWikiTestCaseTest::testSetService(), MediaWiki\Session\SessionManagerTest::testSingleton(), MediaWiki\Auth\AuthManagerTest::testSingleton(), UserTest::testSoftBlockRanges(), HTMLSubmittedValueFieldTest::testSubmit(), HTMLReCaptchaNoCaptchaFieldTest::testSubmit(), HTMLReCaptchaFieldTest::testSubmit(), MediaWiki\Session\SessionBackendTest::testTakeOverGlobalSession(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProviderTest::testTestForAccountCreation(), MediaWiki\Auth\LegacyHookPreAuthenticationProviderTest::testTestForAuthentication(), CaptchaPreAuthenticationProviderTest::testTestForAuthentication(), MediaWiki\Auth\ResetPasswordSecondaryAuthenticationProviderTest::testTryReset(), MediaWiki\Session\SessionBackendTest::testUnpersistOfGlobalSession(), MediaWiki\Auth\AuthManagerTest::testUserCanAuthenticate(), MediaWiki\Auth\AuthManagerTest::testUserExists(), UserTest::testUserGetRightsHooks(), HtmlCheckMatrixTest::testValidateAllowsOnlyKnownTags(), AbstractChangesListSpecialPageTestCase::testValidateOptions(), DeprecatedGlobalTest::testWarning(), TransactionProfilerTest::testWriteQueryCount(), TransactionProfilerTest::testWriteTime(), TransactionProfilerTest::testWriteTimeTrx(), MediaWiki\Session\PHPSessionHandlerTest::testWrongInstance(), MediaWiki\Tidy\TidyDriverBase::validate(), WatchedItemStoreUnitTest::verifyCallbackJob(), and CaptchaPreAuthenticationProvider::verifyCaptcha().
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.
|
explicit |
Definition at line 1 of file maintenance.txt.
Referenced by DeprecatedGlobal::__construct(), CleanupInvalidDbKeys::__construct(), ResourceLoaderContext::__construct(), DeprecatedGlobal::_newObject(), PHPVersionCheck::checkRequiredPHPVersion(), ImportTest::getRedirectXML(), ImportTest::getSiteInfoXML(), ImportTest::getUnknownTagsXML(), DerivativeResourceLoaderContext::getVersion(), and DerivativeResourceLoaderContext::setVersion().
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(), PopulateInterwiki::__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(), ForeignDBViaLBRepo::getDBFactory(), DBAccessBase::getLoadBalancer(), ForeignDBViaLBRepo::getMasterDB(), DBFileJournal::getMasterDB(), JobQueueMemory::getQueueData(), JobQueueRedis::getQueueKey(), ImportTest::getRedirectXML(), ForeignDBViaLBRepo::getReplicaDB(), JobQueue::getRootJobCacheKey(), ForeignDBViaLBRepo::getSharedCacheKey(), ImportTest::getUnknownTagsXML(), CheckLanguageCLI::help(), JobQueue::pop(), JobQueueGroup::queuesHaveJobs(), JobQueueDB::recycleAndDeleteStaleJobs(), DBAccessBase::releaseConnection(), showUsage(), and PathRouterTest::testLoose().