MediaWiki REL1_33
docs/deferred.txt File Reference

Functions

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these updates (as a Java servelet could)
 

Variables

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view counts
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs which is used to update link tables of transcluding pages after edits
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For example
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on it
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a save
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs table
 
deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if that
 

Function Documentation

◆ updates()

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these updates ( as a Java servelet  could)

Variable Documentation

◆ counts

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view counts

Definition at line 5 of file deferred.txt.

Referenced by RecountCategories::__construct().

◆ edits

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs which is used to update link tables of transcluding pages after edits

◆ example

An extension or a local will often add custom code to the function with or without a global variable For example

Definition at line 4 of file deferred.txt.

◆ it

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on it

Definition at line 13 of file deferred.txt.

◆ list

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global list

Definition at line 11 of file deferred.txt.

Referenced by Wikimedia\Rdbms\DBConnRef::__call(), ImageHistoryPseudoPager::__construct(), WordLevelDiff::__construct(), RevisionItemBase::__construct(), ResourceLoaderFileModule::__construct(), License::__construct(), QueryAllSpecialPagesTest::__construct(), PPNode_Hash_Tree::__construct(), FileOp::__construct(), IndexPager::__construct(), LinksUpdate::__construct(), __get(), __set(), MemcachedClient::_connect_sock(), MemcachedClient::_load_items(), RedisBagOStuff::add(), ApiBase::addBlockInfoToStatus(), MediaWiki\Tests\Maintenance\BackupDumperPageTest::addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest::addDBData(), SwiftFileBackend::addMissingHashMetadata(), LocalFileMoveBatch::addOlds(), EditPage::addPageProtectionWarningHeaders(), OutputPage::addParserOutputMetadata(), ApiQuerySiteinfo::appendDbReplLagInfo(), SwiftVirtualRESTService::applyAuthResponse(), FileBackendGroup::backendFromPath(), ExternalStoreDB::batchFetchFromURLs(), Parser::braceSubstitution(), SpecialRevisionDelete::buildCheckBoxes(), ProtectionForm::buildForm(), SkinTemplate::buildPersonalUrls(), RangeChronologicalPager::buildQueryInfo(), Parser::callParserFunction(), Wikimedia\Rdbms\Database::cancelAtomic(), ChangeTagsLogItem::canView(), RevDelFileItem::canView(), RevDelLogItem::canView(), RevDelRevisionItem::canView(), RevDelFileItem::canViewContent(), RevDelRevisionItem::canViewContent(), SqlBagOStuff::cas(), RedisBagOStuff::changeTTL(), SqlBagOStuff::changeTTL(), MediaWiki\Tidy\RemexCompatMunger::characters(), CheckStorage::check(), ApiQueryTestBase::check(), AutoLoaderStructureTest::checkAutoLoadConf(), MediaWiki\Permissions\PermissionManager::checkCascadingSourcesRestrictions(), FindOrphanedFiles::checkFiles(), JobRunner::checkMemoryOK(), MediaWiki\Permissions\PermissionManager::checkReadPermissions(), UploadBase::checkSvgScriptCallback(), CleanupUsersWithNoId::cleanup(), FileRepo::cleanupBatch(), CleanupInvalidDbKeys::cleanupTable(), SpecialEditWatchlist::cleanupWatchlist(), Sanitizer::cleanUrl(), Exif::collapseData(), MediaWiki\Tidy\RemexCompatMunger::comment(), UpdateMediaWiki::compatChecks(), OrderedStreamingForkController::consume(), StreamFile::contentTypeFromPath(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), LanguageKk_cyrl::convertGrammarKk_arab(), LanguageKk_cyrl::convertGrammarKk_cyrl(), LanguageKk_cyrl::convertGrammarKk_latn(), WatchedItemStore::countVisitingWatchersMultiple(), SwiftFileBackend::createContainer(), NaiveForeignTitleFactory::createForeignTitle(), Argon2Password::crypt(), SwiftFileBackendFileList::current(), LCStoreStaticArray::decode(), ExternalStore::defaultStoresAreReadOnly(), Makefile::defaultWordsTable(), RedisBagOStuff::delete(), RESTBagOStuff::delete(), FileRepo::deleteBatch(), SwiftFileBackend::deleteContainer(), RedisBagOStuff::deleteMulti(), SqlBagOStuff::deleteMulti(), FileBackendStore::directoryExists(), SpecialRedirect::dispatch(), FileBackendStore::doClean(), FSFileBackend::doCleanInternal(), SwiftFileBackend::doCopyInternal(), SwiftFileBackend::doCreateInternal(), LocalFileDeleteBatch::doDBDeletes(), LocalFileDeleteBatch::doDBInserts(), SwiftFileBackend::doDeleteInternal(), SwiftFileBackend::doDescribeInternal(), FSFileBackend::doDirectoryExists(), Installer::doEnvironmentChecks(), SwiftFileBackend::doExecuteOpHandlesInternal(), RedisBagOStuff::doGet(), RESTBagOStuff::doGet(), SwiftFileBackend::doGetFileContentsMulti(), SwiftFileBackend::doGetFileStatMulti(), SwiftFileBackend::doGetLocalCopyMulti(), WANObjectCache::doGetWithSetCallback(), SwiftFileBackend::doMoveInternal(), FileBackendStore::doPrepare(), FSFileBackend::doPrepareInternal(), FileBackendStore::doPublish(), FSFileBackend::doPublishInternal(), MysqlUpdater::doSchemaRestructuring(), FileBackendStore::doSecure(), FSFileBackend::doSecureInternal(), SwiftFileBackend::doStoreInternal(), SwiftFileBackend::doStreamFile(), LinkHolderArray::doVariants(), XmlTypeCheck::elementClose(), Wikimedia\Rdbms\Database::endAtomic(), Installer::envCheckShellLocale(), ApiBase::errorArrayToStatus(), QueryPage::execute(), SpecialEmailUser::execute(), MIMEsearchPage::execute(), SpecialUnblock::execute(), ApiBlock::execute(), ApiComparePages::execute(), ApiEditPage::execute(), ApiParse::execute(), ApiQueryBlocks::execute(), ApiQueryLogEvents::execute(), ApiUserrights::execute(), MediaWiki\Shell\Command::execute(), ZipDirectoryReader::execute(), UpdateLogging::execute(), ConvertLinks::execute(), CopyJobQueue::execute(), DeleteOrphanedRevisions::execute(), PurgeChangedPages::execute(), UpdateSpecialPages::execute(), GenerateJqueryMsgData::execute(), Exif::exifGPStoNumber(), MediaWiki\Special\SpecialPageFactory::exists(), Parser::extensionSubstitution(), SpecialRevisionDelete::extractBitParams(), LogFormatter::extractParameters(), ApiBase::extractRequestParams(), Parser::extractTagsAndParams(), EtcdConfig::fetchAllFromEtcdServer(), MediaWiki\Storage\SqlBlobStore::fetchBlob(), SqlBagOStuff::fetchBlobMulti(), ExternalStoreDB::fetchFromURL(), ExternalStore::fetchFromURL(), HistoryAction::fetchRevisions(), UserrightsPage::fetchUser(), Wikimedia\Rdbms\DatabaseMssql::fieldExists(), Wikimedia\Rdbms\DatabaseMssql::fieldInfo(), WikitextContent::fillParserOutput(), ApiBase::filterIDs(), MediaWiki\OutputHandler::findUriExtension(), Title::fixSpecialName(), OldChangesList::formatChangeLine(), RevisionItemBase::formatDate(), Parser::formatHeadings(), Linker::formatLinksInComment(), Message::formatListParam(), SpecialUndelete::formatRevisionRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), RevisionItemBase::formatTime(), BlockListPager::formatValue(), File::generateThumbName(), Wikimedia\Rdbms\MySQLMasterPos::getActiveGtidCoordinates(), User::getActorId(), MediaWiki\Interwiki\ClassicInterwikiLookup::getAllPrefixesCached(), RevDelArchivedFileItem::getApiData(), RevDelFileItem::getApiData(), RevDelLogItem::getApiData(), RevDelRevisionItem::getApiData(), SwiftFileBackend::getAuthentication(), FileBackendDBRepoWrapper::getBackendPaths(), SpecialBlockList::getBlockListPager(), SectionProfiler::getCallTreeLine(), RevDelFileItem::getComment(), XhprofData::getCompleteMetrics(), RefreshImageMetadata::getConditions(), RedisConnectionPool::getConnection(), FileBackendStore::getContainerShard(), SwiftFileBackend::getContainerStat(), FileBackendStore::getContainerSuffixes(), SpecialVersion::getCreditsForExtension(), MultiHttpClient::getCurlHandle(), MediaWiki\Revision\RevisionStore::getDBConnectionRefForQueryFlags(), Title::getDefaultMessageText(), RevDelArchiveItem::getDiffLink(), RevDelRevisionItem::getDiffLink(), RevisionItem::getDiffLink(), FileBackendStore::getDirectoryList(), FSFileBackend::getDirectoryListInternal(), HTMLFormField::getDiv(), HTMLForm::getErrorsOrWarnings(), MediaWikiTestCase::getExternalStoreDatabaseConnections(), SpecialUnblock::getFields(), SwiftFileBackend::getFileHttpUrl(), FileBackendStore::getFileList(), FSFileBackend::getFileListInternal(), RepoGroup::getFileProps(), LocalFileDeleteBatch::getHashes(), WebResponse::getHeader(), HTMLForm::getHiddenFields(), ChangeTagsLogItem::getHTML(), ChangeTagsRevisionItem::getHTML(), RevDelFileItem::getHTML(), RevDelLogItem::getHTML(), RevDelRevisionItem::getHTML(), XhprofData::getInclusiveMetrics(), ApiQueryImageInfo::getInfo(), HTMLFormField::getInline(), HTMLFormFieldCloner::getInputHTMLForKey(), HTMLFormFieldCloner::getInputOOUIForKey(), ActorMigration::getInsertValues(), ActorMigration::getInsertValuesWithTempTable(), WANObjectCache::getInterimValue(), MediaWiki\Interwiki\ClassicInterwikiLookup::getInterwikiCached(), ContribsPager::getIpRangeConds(), ActorMigration::getJoin(), OutputPage::getJSVars(), Wikimedia\Rdbms\DatabaseMysqlBase::getLagFromPtHeartbeat(), QueryPage::getLimitOffset(), RevDelArchivedFileItem::getLink(), RevDelFileItem::getLink(), DeleteLogFormatter::getMessageParameters(), PNGMetadataExtractor::getMetadata(), ApiModuleManager::getModule(), RedisBagOStuff::getMulti(), WANObjectCache::getMulti(), DjVuImage::getMultiPageInfo(), MediaWiki\Special\SpecialPageFactory::getPage(), Skin::getPageClasses(), UsersPager::getPageHeader(), DjVuImage::getPageInfo(), ContentHandler::getPageLanguage(), MediaWiki\Special\SpecialPageFactory::getPageList(), BotPassword::getPassword(), WANObjectCache::getProcessCache(), FSFile::getProps(), MWFileProps::getPropsFromPath(), Block::getRangeEnd(), Block::getRangeStart(), HTMLFormField::getRaw(), Wikimedia\Rdbms\LoadBalancer::getReaderIndex(), MediaWiki\Revision\RevisionStore::getRecentChange(), Sanitizer::getRecognizedTagData(), WikitextContent::getRedirectTarget(), ApiPageSet::getRedirectTargets(), RevDelArchiveItem::getRevisionLink(), RevDelRevisionItem::getRevisionLink(), RevisionItem::getRevisionLink(), MediaWiki\Session\Session::getSecret(), Wikimedia\Rdbms\LBFactoryMulti::getSectionForDomain(), WatchedItemQueryService::getStartFromConds(), ZipDirectoryReader::getStructSize(), SpecialBlock::getSuggestedDurations(), HTMLCheckMatrix::getTableRow(), HTMLHiddenField::getTableRow(), HTMLFormField::getTableRow(), SpecialBlock::getTargetAndType(), Parser::getTemplateDom(), MediaWiki\Storage\SqlBlobStore::getTextIdFromAddress(), SearchResult::getTextSnippet(), ImagePage::getThumbPrevText(), UIDGenerator::getTimestampedID128(), UIDGenerator::getTimestampedID88(), SpecialRandomInCategory::getTimestampOffset(), MediaWiki\Revision\RevisionStore::getTitle(), UploadBase::getTitle(), MediaWiki\Special\SpecialPageFactory::getTitleForAlias(), LogPage::getTitleLink(), RevDelFileItem::getUserTools(), WatchedItemStore::getVisitingWatchersCondition(), ActorMigration::getWhere(), WikiMap::getWikiReferenceFromWgConf(), FileRepo::getZonePath(), UserrightsPage::groupCheckboxes(), WikiImporter::handlePage(), Title::hasSourceText(), FauxResponse::header(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), HistoryPager::historyLine(), User::idFromName(), ImageHistoryList::imageHistoryLine(), SqlBagOStuff::incr(), RedisBagOStuff::incr(), Wikimedia\Rdbms\MySQLMasterPos::init(), PoolCounterRedis::initAndPopPoolSlotList(), FileRepo::initDirectory(), Xml::inputLabel(), ExternalStore::insert(), CommentStore::insert(), MediaWiki\Tidy\RemexCompatMunger::insertElement(), SqlBagOStuff::insertMulti(), MediaWiki\Revision\RevisionStore::insertRevisionRowOn(), ChangesList::insertTags(), ExternalStore::insertWithFallback(), CommentStore::insertWithTempTable(), UIDGenerator::intervalsSinceGregorianBinary(), Title::isCascadeProtected(), HTMLFormField::isHiddenRecurse(), RevDelRevisionItem::isHideCurrentOp(), SwiftFileBackend::isPathUsableInternal(), MediaWiki\Permissions\PermissionManager::isSameSpecialPage(), FileBackendStore::isSingleShardPathInternal(), Title::isSpecial(), FixT22757::isUnbrokenStub(), HTMLUserTextField::isValidIPRange(), FormatMetadata::langItem(), DiffEngine::lcs_rec(), LogPager::limitTitle(), MessageCache::load(), User::load(), SpecialSearch::load(), User::loadFromDatabase(), WikiPage::loadPageData(), DifferenceEngine::loadRevisionIds(), MediaWiki\Revision\RevisionStore::loadSlotRecords(), BotPassword::login(), LogEventsList::logLine(), LocalIdLookup::lookupCentralIds(), LocalIdLookup::lookupUserNames(), FormatMetadata::makeFormattedData(), LinkHolderArray::makeHolder(), Parser::makeImage(), Parser::makeKnownLinkHolder(), Parser::makeLimitReport(), Licenses::makeLines(), ResourceLoaderClientHtml::makeLoad(), Linker::makeSelfLinkObj(), Makefile::manualWordsTable(), MagicWordArray::matchAndRemove(), MagicWordArray::matchStartAndRemove(), ApiQueryTestBase::merge(), MigrateActors::migrate(), MigrateActors::migrateLogSearch(), MigrateActors::migrateToTemp(), UIDGenerator::millisecondsSinceEpochBinary(), NamespaceDupes::movePage(), Wikimedia\Rdbms\DatabaseMysqli::mysqlConnect(), Argon2Password::needsUpdate(), BotPassword::newFromCentralId(), Wikimedia\Rdbms\DatabaseDomain::newFromId(), Block::newFromTarget(), Block::newLoad(), Wikimedia\Rdbms\LBFactoryMulti::newMainLB(), Linker::normaliseSpecialPage(), FileBackend::normalizeStoragePath(), CategoryMembershipChangeJob::notifyUpdatesForRevision(), SwiftFileBackend::objectListing(), SpecialChangeCredentials::onAuthChangeFormFields(), RestbaseVirtualRESTService::onParsoid3Request(), ParsoidVirtualRESTService::onRequests(), ImagePage::openShowImage(), TextPassDumper::openSpawn(), SpecialSpecialpages::outputPageList(), MediaStatisticsPage::outputResults(), FileBackend::parentStoragePath(), ForeignResourceManager::parseBasicYaml(), DeleteLogFormatter::parseBitField(), CookieJar::parseCookieResponseHeader(), MagicWordArray::parseMatch(), SearchMySQL::parseQuery(), SearchSqlite::parseQuery(), HTTPFileStreamer::parseRange(), NamespaceAwareForeignTitleFactory::parseTitleNoNs(), BacklinkCache::partition(), BacklinkJobUtils::partitionBacklinkJob(), MediaWiki::performRequest(), ApiUpload::performStash(), ParserTestRunner::perTestSetup(), User::pingLimiter(), FileBackendStore::preloadCache(), FileBackendStore::primeContainerCache(), FileBackendStore::primeFileCache(), SpecialBlock::processForm(), BackupDumper::processOptions(), SquidPurgeClient::processStatusLine(), ApiPageSet::processTitlesArray(), SectionProfiler::profileOutInternal(), MediaWikiServicesTest::provideGetters(), MediaWiki\Session\CookieSessionProvider::provideSessionInfo(), XhprofData::pruneData(), FileRepo::publishBatch(), Wikimedia\Rdbms\Database::qualifiedTableComponents(), FileRepo::quickImportBatch(), IndexPager::reallyDoQuery(), ContribsPager::reallyDoQuery(), ImageListPager::reallyDoQuery(), MessageCache::refreshAndReplaceInternal(), ResourceLoader::register(), PoolCounterRedis::release(), Sanitizer::removeHTMLtags(), LocalFileDeleteBatch::removeNonexistentFiles(), Makefile::removeRules(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), Parser::renderImageGallery(), MessageCache::replace(), Parser::replaceExternalLinks(), Parser::replaceInternalLinks2(), Message::replaceParameters(), LinkHolderArray::replaceTextCallback(), Parser::replaceTransparentTags(), MemoryFileBackend::resolveHashKey(), FileBackendStore::resolveStoragePath(), FileBackendStore::resolveStoragePathReal(), FSFileBackend::resolveToFSPath(), FileRepo::resolveVirtualUrl(), ApiQueryAllImages::run(), ApiQueryRandom::run(), ApiQueryWatchlist::run(), ApiQueryWatchlistRaw::run(), SquidPurgeClientPool::run(), RefreshLinksJob::run(), ApiQueryBacklinksprop::run(), JobRunner::run(), VirtualRESTServiceClient::runMulti(), MysqlMaintenance::runMysql(), Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks(), Wikimedia\Rdbms\Database::runOnTransactionPreCommitCallbacks(), PrefixSearch::search(), ApiOpenSearch::search(), RedisBagOStuff::set(), RESTBagOStuff::set(), RevDelArchiveItem::setBits(), RevDelFileItem::setBits(), SwiftFileBackend::setContainerAccess(), ApiContinuationManager::setContinuationIntoResult(), ParserOutput::setLimitReportData(), RedisBagOStuff::setMulti(), SpecialBlock::setParameter(), LocalFile::setProps(), MediaWiki\Session\Session::setSecret(), MWHttpRequest::setStatus(), Block::setTarget(), ProtectionForm::show(), SpecialAllPages::showChunk(), Article::showDiffPage(), UserrightsPage::showEditUserGroupsForm(), SpecialBookSources::showList(), SpecialPrefixindex::showPrefixChunk(), SpecialSearch::showResults(), MemcachedClient::sock_to_host(), CoreParserFunctions::special(), License::split(), Status::splitByErrorType(), Linker::splitTrail(), UploadStash::stashFile(), FileRepo::storeBatch(), TextSuppressor::suppress(), Wikimedia\Rdbms\DatabaseMssql::tableExists(), Wikimedia\Rdbms\DatabaseMysqlBase::tableExists(), Wikimedia\Rdbms\Database::tableName(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), MediaWiki\Auth\AuthManagerTest::testBeginAuthentication(), ApiLoginTest::testBotPasswordThrottled(), MediaWiki\Auth\AuthManagerTest::testCanAuthenticateNow(), UploadBaseTest::testCheckSvgScriptCallback(), SpecialEditWatchlistTest::testClearPage_hasClearButtonForm(), IPTest::testCombineHostAndPort(), SpecialPageFactoryTest::testConflictResolution(), XhprofDataTest::testCriticalPath(), ApiEditPageTest::testEdit_redirect(), ApiEditPageTest::testEditAppend(), ApiEditPageTest::testEditConflict_newSection(), ApiEditPageTest::testEditConflict_T43990(), ApiEditPageTest::testEditNewSection(), SpecialEditWatchlistTest::testEditRawPage_hasTitlesBox(), ApiEditPageTest::testEditSection(), SpecialPageDataTest::testExecute(), ApiQueryBlocksTest::testExecute(), ApiQueryInfoTest::testExecute(), SpecialBooksourcesTest::testExecute(), ApiQueryBlocksTest::testExecuteBlock(), ApiQueryInfoTest::testExecuteEditActions(), ApiQueryInfoTest::testExecuteEditActionsFull(), ApiQueryInfoTest::testExecuteEditActionsFullBlock(), ApiQueryBlocksTest::testExecuteRestrictions(), ApiQueryBlocksTest::testExecuteSitewide(), FileBackendDBRepoWrapperTest::testGetBackendPaths(), FileBackendDBRepoWrapperTest::testGetFileContentsMulti(), StripStateTest::testGetLimitReport(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), SpecialBlankPageTest::testHasWikiMsg(), CommentStoreTest::testInsertRoundTrip(), ActorMigrationTest::testInsertRoundTrip(), CommentStoreTest::testInsertRoundTrip_withKeyConstruction(), ActorMigrationTest::testInsertUserIdentity(), ActorMigrationTest::testInsertWithTempTableCallbackMissingFields(), ActorMigrationTest::testInsertWithTempTableDeprecated(), CommentStoreTest::testInsertWithTempTableDeprecated(), ApiQuerySearchTest::testInterwikiResults(), SpecialLogTest::testInvalidDate(), MediaWiki\Auth\UserDataAuthenticationRequestTest::testLoadFromSubmission(), DifferenceEngineTest::testLoadRevisionData(), ApiUploadTest::testLogin(), DifferenceEngineTest::testMapDiffPrevNext(), MediaWiki\Tests\Block\BlockRestrictionStoreTest::testMappingNamespaceRestrictionObject(), MediaWiki\Tests\Block\BlockRestrictionStoreTest::testMappingPageRestrictionObject(), MultiHttpClientTest::testMultiHttpClientHeaders(), MultiHttpClientTest::testMultiHttpClientMultipleFailure(), MultiHttpClientTest::testMultiHttpClientMultipleSuccess(), MultiHttpClientTest::testMultiHttpClientSingleFailure(), MultiHttpClientTest::testMultiHttpClientSingleSuccess(), FileContentsHasherTest::testMultipleFileHash(), MediaWiki\Tests\Maintenance\MaintenanceTest::testOutput(), MediaWiki\Tests\Maintenance\MaintenanceTest::testOutputChanneled(), HTTPFileStreamerTest::testPreprocessHeaders(), AutoLoaderStructureTest::testPSR4Completeness(), DatabaseMysqlBaseTest::testPtHeartbeat(), ApiPageSetTest::testRedirectMergePolicyWithApiResult(), ApiPageSetTest::testRedirectMergePolicyWithArrayResult(), RefreshLinksPartitionTest::testRefreshLinks(), SpecialPageFactoryTest::testResolveAlias(), SpecialEditWatchlistTest::testRootPage_displaysExplanationMessage(), ApiQuerySearchTest::testSearchResults(), MediaWiki\Session\SessionTest::testSecrets(), MediaWiki\Auth\AuthManagerTest::testSecuritySensitiveOperationStatus(), ApiMainTest::testSetContinuationManagerTwice(), SpecialPageDataTest::testSpecialPageWithoutParameters(), LanguageTest::testTranslateBlockExpiry(), LinksUpdateTest::testUpdate_categorylinks(), LinksUpdateTest::testUpdate_externallinks(), LinksUpdateTest::testUpdate_imagelinks(), LinksUpdateTest::testUpdate_iwlinks(), LinksUpdateTest::testUpdate_langlinks(), LinksUpdateTest::testUpdate_page_props(), LinksUpdateTest::testUpdate_pagelinks(), LinksUpdateTest::testUpdate_templatelinks(), ApiUploadTest::testUpload(), ApiUploadTest::testUploadChunks(), ApiUploadTest::testUploadSameContent(), ApiUploadTest::testUploadSameFileName(), ApiUploadTest::testUploadStash(), MediaWiki\Auth\LocalPasswordPrimaryAuthenticationProvider::testUserExists(), MediaWiki\Auth\TemporaryPasswordPrimaryAuthenticationProvider::testUserExists(), SpecialWatchlistTest::testUserWithNoWatchedItems_displaysNoWatchlistMessage(), IPTC::timeHelper(), TraditionalImageGallery::toHTML(), Wikimedia\Rdbms\TransactionProfiler::transactionWritingOut(), BitmapHandler::transformGd(), BitmapHandler::transformImageMagick(), BitmapHandler::transformImageMagickExt(), LanguageFi::translateBlockExpiry(), Language::truncateHtml(), MediaWiki::tryNormaliseRedirect(), ZipDirectoryReader::unpack(), OrderedStreamingForkController::updateAvailableSockets(), ChangeTags::updateTagsWithChecks(), LocalFile::upgradeRow(), OldLocalFile::upgradeRow(), Exif::validate(), SpecialBlock::validateTarget(), wfCgiToArray(), wfExtractThumbParams(), wfExtractThumbRequestInfo(), wfParseUrl(), wfStreamThumb(), and DatabaseUpdater::writeSchemaUpdateFile().

◆ save

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a save

◆ table

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if so it s not worth the trouble Since there is a job queue in the jobs table

◆ that

deferred txt A few of the database updates required by various functions here can be deferred until after the result page is displayed to the user For updating the view updating the linked to tables after a etc PHP does not yet have any way to tell the server to actually return and disconnect while still running these but it might have such a feature in the future We handle these by creating a deferred update object and putting those objects on a global then executing the whole list after the page is displayed We don t do anything smart like collating updates to the same table or such because the list is almost always going to have just one item on if that