MediaWiki  master
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 4 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 11 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(), License::__construct(), WordLevelDiff::__construct(), ImageHistoryPseudoPager::__construct(), ForeignDBViaLBRepo::__construct(), FileOp::__construct(), LinksUpdate::__construct(), IndexPager::__construct(), RevisionItemBase::__construct(), ResourceLoaderFileModule::__construct(), PPNode_Hash_Tree::__construct(), __get(), __set(), MemcachedClient::_connect_sock(), MemcachedClient::_load_items(), RedisBagOStuff::add(), MediaWiki\Tests\Maintenance\BackupDumperPageTest::addDBData(), MediaWiki\Tests\Maintenance\TextPassDumperDatabaseTest::addDBData(), SwiftFileBackend::addMissingMetadata(), LocalFileMoveBatch::addOlds(), EditPage::addPageProtectionWarningHeaders(), OutputPage::addParserOutputMetadata(), ApiQuerySiteinfo::appendDbReplLagInfo(), SwiftVirtualRESTService::applyAuthResponse(), Wikimedia\Rdbms\Database::assertTransactionStatus(), FileBackendGroup::backendFromPath(), ExternalStoreDB::batchFetchFromURLs(), below(), Parser::braceSubstitution(), SpecialRevisionDelete::buildCheckBoxes(), ProtectionForm::buildForm(), SkinTemplate::buildPersonalUrls(), RangeChronologicalPager::buildQueryInfo(), MediaWiki\HeaderCallback::callback(), Parser::callParserFunction(), Wikimedia\Rdbms\Database::cancelAtomic(), RevDelLogItem::canView(), ChangeTagsLogItem::canView(), RevDelRevisionItem::canView(), RevDelFileItem::canView(), RevDelRevisionItem::canViewContent(), RevDelFileItem::canViewContent(), SqlBagOStuff::cas(), RedisBagOStuff::changeTTL(), SqlBagOStuff::changeTTL(), MediaWiki\Tidy\RemexCompatMunger::characters(), CheckStorage::check(), ApiQueryTestBase::check(), AutoLoaderStructureTest::checkAutoLoadConf(), Title::checkCascadingSourcesRestrictions(), FindOrphanedFiles::checkFiles(), JobRunner::checkMemoryOK(), Title::checkReadPermissions(), UploadBase::checkSvgScriptCallback(), CleanupUsersWithNoId::cleanup(), FileRepo::cleanupBatch(), SpecialEditWatchlist::cleanupWatchlist(), Sanitizer::cleanUrl(), Exif::collapseData(), MediaWiki\Tidy\RemexCompatMunger::comment(), UpdateMediaWiki::compatChecks(), OrderedStreamingForkController::consume(), StreamFile::contentTypeFromPath(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), WatchedItemStore::countVisitingWatchersMultiple(), SwiftFileBackend::createContainer(), NaiveForeignTitleFactory::createForeignTitle(), SwiftFileBackendFileList::current(), JobQueueAggregatorRedis::decodeQueueName(), ExternalStore::defaultStoresAreReadOnly(), Makefile::defaultWordsTable(), RedisBagOStuff::delete(), RESTBagOStuff::delete(), SqlBagOStuff::delete(), FileRepo::deleteBatch(), SwiftFileBackend::deleteContainer(), FileBackendStore::directoryExists(), FileBackendStore::doClean(), FSFileBackend::doCleanInternal(), SwiftFileBackend::doCopyInternal(), SwiftFileBackend::doCreateInternal(), LocalFileDeleteBatch::doDBDeletes(), LocalFileDeleteBatch::doDBInserts(), SwiftFileBackend::doDeleteInternal(), SwiftFileBackend::doDescribeInternal(), FSFileBackend::doDirectoryExists(), Installer::doEnvironmentChecks(), SwiftFileBackend::doExecuteOpHandlesInternal(), RESTBagOStuff::doGet(), JobQueueAggregatorRedis::doGetAllReadyWikiQueues(), SwiftFileBackend::doGetFileContentsMulti(), SwiftFileBackend::doGetFileStatMulti(), SwiftFileBackend::doGetLocalCopyMulti(), 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(), ApiEditPage::execute(), ApiQueryBlocks::execute(), ApiBlock::execute(), ApiComparePages::execute(), ApiParse::execute(), SpecialUnblock::execute(), UpdateLogging::execute(), ApiQueryLogEvents::execute(), CopyJobQueue::execute(), DeleteOrphanedRevisions::execute(), UpdateSpecialPages::execute(), ApiUserrights::execute(), PurgeChangedPages::execute(), ConvertLinks::execute(), GenerateJqueryMsgData::execute(), SpecialEmailUser::execute(), ZipDirectoryReader::execute(), MIMEsearchPage::execute(), MediaWiki\Shell\Command::execute(), QueryPage::execute(), LocalFileRestoreBatch::execute(), Exif::exifGPStoNumber(), MediaWiki\Special\SpecialPageFactory::exists(), Parser::extensionSubstitution(), SpecialRevisionDelete::extractBitParams(), LogFormatter::extractParameters(), ApiBase::extractRequestParams(), EtcdConfig::fetchAllFromEtcdServer(), MediaWiki\Storage\SqlBlobStore::fetchBlob(), ExternalStoreDB::fetchFromURL(), ExternalStore::fetchFromURL(), HistoryAction::fetchRevisions(), UserrightsPage::fetchUser(), Wikimedia\Rdbms\DatabaseMssql::fieldExists(), Wikimedia\Rdbms\DatabaseMssql::fieldInfo(), WikitextContent::fillParserOutput(), ImportImages::findFiles(), 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(), RevDelLogItem::getApiData(), RevDelRevisionItem::getApiData(), RevDelFileItem::getApiData(), SwiftFileBackend::getAuthentication(), FileBackendDBRepoWrapper::getBackendPaths(), MediaWiki\Storage\SqlBlobStore::getBlob(), SpecialBlockList::getBlockListPager(), JobQueueDB::getCacheKey(), SectionProfiler::getCallTreeLine(), RevDelFileItem::getComment(), XhprofData::getCompleteMetrics(), RefreshImageMetadata::getConditions(), RedisConnectionPool::getConnection(), FileBackendStore::getContainerShard(), SwiftFileBackend::getContainerStat(), FileBackendStore::getContainerSuffixes(), SpecialVersion::getCreditsForExtension(), MultiHttpClient::getCurlHandle(), MediaWiki\Storage\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(), ChangeTagsRevisionItem::getHTML(), ChangeTagsLogItem::getHTML(), RevDelLogItem::getHTML(), RevDelRevisionItem::getHTML(), RevDelFileItem::getHTML(), XhprofData::getInclusiveMetrics(), ApiQueryImageInfo::getInfo(), HTMLFormField::getInline(), HTMLFormFieldCloner::getInputHTMLForKey(), 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(), SqlBagOStuff::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(), LinkSearchPage::getQueryInfo(), JobQueueRedis::getQueueKey(), Block::getRangeEnd(), Block::getRangeStart(), HTMLFormField::getRaw(), Wikimedia\Rdbms\LoadBalancer::getReaderIndex(), MediaWiki\Storage\RevisionStore::getRecentChange(), Sanitizer::getRecognizedTagData(), WikitextContent::getRedirectTarget(), ApiPageSet::getRedirectTargets(), RevDelArchiveItem::getRevisionLink(), RevDelRevisionItem::getRevisionLink(), RevisionItem::getRevisionLink(), JobQueue::getRootJobCacheKey(), MediaWiki\Session\Session::getSecret(), Wikimedia\Rdbms\LBFactoryMulti::getSectionForDomain(), WatchedItemQueryService::getStartFromConds(), ZipDirectoryReader::getStructSize(), SpecialBlock::getSuggestedDurations(), HTMLHiddenField::getTableRow(), HTMLCheckMatrix::getTableRow(), HTMLFormField::getTableRow(), SpecialBlock::getTargetAndType(), Parser::getTemplateDom(), MediaWiki\Storage\SqlBlobStore::getTextIdFromAddress(), SearchResult::getTextSnippet(), ImagePage::getThumbPrevText(), SpecialRandomInCategory::getTimestampOffset(), MediaWiki\Storage\RevisionStore::getTitle(), UploadBase::getTitle(), MediaWiki\Special\SpecialPageFactory::getTitleForAlias(), LogPage::getTitleLink(), RevDelFileItem::getUserTools(), WatchedItemStore::getVisitingWatchersCondition(), ActorMigration::getWhere(), WikiMap::getWikiReferenceFromWgConf(), RedisBagOStuff::getWithToken(), FileRepo::getZonePath(), UserrightsPage::groupCheckboxes(), WikiImporter::handlePage(), Title::hasSourceText(), FauxResponse::header(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), HistoryPager::historyLine(), User::idFromName(), ImageHistoryList::imageHistoryLine(), RedisBagOStuff::incr(), SqlBagOStuff::incr(), Wikimedia\Rdbms\MySQLMasterPos::init(), PoolCounterRedis::initAndPopPoolSlotList(), FileRepo::initDirectory(), Xml::inputLabel(), ExternalStore::insert(), CommentStore::insert(), MediaWiki\Tidy\RemexCompatMunger::insertElement(), MediaWiki\Storage\RevisionStore::insertRevisionRowOn(), ChangesList::insertTags(), ExternalStore::insertWithFallback(), CommentStore::insertWithTempTable(), UIDGenerator::intervalsSinceGregorianBinary(), Title::isCascadeProtected(), HTMLFormField::isHiddenRecurse(), RevDelRevisionItem::isHideCurrentOp(), LocalFile::isMissing(), SwiftFileBackend::isPathUsableInternal(), FileBackendStore::isSingleShardPathInternal(), Title::isSpecial(), FixT22757::isUnbrokenStub(), HTMLUserTextField::isValidIPRange(), FormatMetadata::langItem(), LogPager::limitTitle(), SpecialSearch::load(), MessageCache::load(), User::load(), User::loadFromDatabase(), WikiPage::loadPageData(), DifferenceEngine::loadRevisionIds(), MediaWiki\Storage\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(), UIDGenerator::millitime(), NamespaceDupes::movePage(), BotPassword::newFromCentralId(), Wikimedia\Rdbms\DatabaseDomain::newFromId(), Block::newFromTarget(), Block::newLoad(), Wikimedia\Rdbms\LBFactoryMulti::newMainLB(), Linker::normaliseSpecialPage(), FileBackend::normalizeStoragePath(), CategoryMembershipChangeJob::notifyUpdatesForRevision(), SwiftFileBackend::objectListing(), SpecialChangeCredentials::onAuthChangeFormFields(), ParsoidVirtualRESTService::onParsoid1Request(), RestbaseVirtualRESTService::onParsoid1Request(), RestbaseVirtualRESTService::onParsoid3Request(), ParsoidVirtualRESTService::onRequests(), ImagePage::openShowImage(), TextPassDumper::openSpawn(), SpecialSpecialpages::outputPageList(), MediaStatisticsPage::outputResults(), FileBackend::parentStoragePath(), ApiStashEdit::parseAndStash(), ManageForeignResources::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(), SpecialUnblock::processUnblock(), SectionProfiler::profileOutInternal(), MediaWikiServicesTest::provideGetters(), MediaWiki\Session\CookieSessionProvider::provideSessionInfo(), XhprofData::pruneData(), FileRepo::publishBatch(), Wikimedia\Rdbms\Database::qualifiedTableComponents(), FileRepo::quickImportBatch(), ContribsPager::reallyDoQuery(), ImageListPager::reallyDoQuery(), IndexPager::reallyDoQuery(), LocalFile::recordUpload2(), 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(), SquidPurgeClientPool::run(), ApiQueryWatchlistRaw::run(), ApiQueryWatchlist::run(), ApiQueryAllImages::run(), RefreshLinksJob::run(), ApiQueryBacklinksprop::run(), JobRunner::run(), ApiQueryRandom::run(), VirtualRESTServiceClient::runMulti(), Wikimedia\Rdbms\Database::runOnTransactionIdleCallbacks(), Wikimedia\Rdbms\Database::runOnTransactionPreCommitCallbacks(), PrefixSearch::search(), ApiOpenSearch::search(), Wikimedia\Rdbms\Database::selectSQLText(), RedisBagOStuff::set(), RESTBagOStuff::set(), RevDelArchiveItem::setBits(), RevDelFileItem::setBits(), SwiftFileBackend::setContainerAccess(), ApiContinuationManager::setContinuationIntoResult(), ParserOutput::setLimitReportData(), RedisBagOStuff::setMulti(), SqlBagOStuff::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(), UploadStash::stashFile(), FileRepo::storeBatch(), TextSuppressor::suppress(), Wikimedia\Rdbms\DatabaseMysqlBase::tableExists(), Wikimedia\Rdbms\DatabaseMssql::tableExists(), Wikimedia\Rdbms\Database::tableName(), Wikimedia\Rdbms\Database::tableNamesWithIndexClauseOrJOIN(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAccountCreation(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testAuthentication(), MediaWiki\Auth\AuthManagerTest::testBeginAuthentication(), 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(), SpecialBooksourcesTest::testExecute(), SpecialPageDataTest::testExecute(), 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(), MediaWiki\Auth\UserDataAuthenticationRequestTest::testLoadFromSubmission(), DifferenceEngineTest::testLoadRevisionData(), ApiUploadTest::testLogin(), DifferenceEngineTest::testMapDiffPrevNext(), MultiHttpClientTest::testMultiHttpClientHeaders(), MultiHttpClientTest::testMultiHttpClientMultipleFailure(), MultiHttpClientTest::testMultiHttpClientMultipleSuccess(), MultiHttpClientTest::testMultiHttpClientSingleFailure(), MultiHttpClientTest::testMultiHttpClientSingleSuccess(), FileContentsHasherTest::testMultipleFileHash(), MediaWiki\Tests\Maintenance\MaintenanceTest::testOutput(), MediaWiki\Tests\Maintenance\MaintenanceTest::testOutputChanneled(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), 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(), OldLocalFile::upgradeRow(), LocalFile::upgradeRow(), Exif::validate(), SpecialBlock::validateTarget(), wfCgiToArray(), wfExtractThumbParams(), wfExtractThumbRequestInfo(), and wfStreamThumb().

◆ 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

Definition at line 4 of file deferred.txt.

Referenced by EditPage::edit(), EditPage::importFormData(), and PoolCounterRedis::release().

◆ 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