MediaWiki  1.29.1
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.

◆ 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

c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is and will automatically terminate your rights under this License parties who have received or from you under this License will not have their licenses terminated so long as such parties remain in full compliance You are not required to accept this since you have not signed it nothing else grants you permission to modify or distribute the Program or its derivative works These actions are prohibited by law if you do not accept this License by modifying or distributing the you indicate your acceptance of this License to do and all its terms and conditions for distributing or modifying the Program or works based on it Each time you redistribute the the recipient automatically receives a license from the original licensor to distribute or modify the Program subject to these terms and conditions You may not impose any further restrictions on the recipients exercise of the rights granted herein You are not responsible for enforcing compliance by third parties to this License as a consequence of a court judgment or allegation of patent infringement or for any other conditions are imposed on they do not excuse you from the conditions of this License If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent then as a consequence you may not distribute the Program at all 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
Examples
/src/tests/phpunit/MediaWikiTestCase.php.

Definition at line 11 of file deferred.txt.

Referenced by Wikimedia\Rdbms\DBConnRef::__call(), RevDelArchiveItem::__construct(), RevDelArchivedRevisionItem::__construct(), WordLevelDiff::__construct(), ForeignDBViaLBRepo::__construct(), ImageHistoryPseudoPager::__construct(), FileOp::__construct(), LinksUpdate::__construct(), IndexPager::__construct(), RevisionItemBase::__construct(), License::__construct(), ResourceLoaderFileModule::__construct(), PPNode_Hash_Tree::__construct(), MemcachedClient::_connect_sock(), MemcachedClient::_load_items(), RedisBagOStuff::add(), MathCaptcha::addCaptchaAPI(), BackupDumperPageTest::addDBData(), TextPassDumperDatabaseTest::addDBData(), SwiftFileBackend::addMissingMetadata(), LocalFileMoveBatch::addOlds(), EditPage::addPageProtectionWarningHeaders(), OutputPage::addParserOutputMetadata(), MediaWiki\Tidy\Balancer::advance(), SwiftVirtualRESTService::applyAuthResponse(), FileBackendGroup::backendFromPath(), ExternalStoreDB::batchFetchFromURLs(), SpecialRevisionDelete::buildCheckBoxes(), ProtectionForm::buildForm(), SkinTemplate::buildPersonalUrls(), MediaWiki\HeaderCallback::callback(), RevDelLogItem::canView(), ChangeTagsLogItem::canView(), RevDelRevisionItem::canView(), RevDelFileItem::canView(), RevDelRevisionItem::canViewContent(), RevDelFileItem::canViewContent(), SqlBagOStuff::cas(), SpecialRecentChanges::categoryFilterForm(), RedisBagOStuff::changeTTL(), SqlBagOStuff::changeTTL(), MediaWiki\Tidy\RemexCompatMunger::characters(), CheckStorage::check(), ApiQueryTestBase::check(), Title::checkCascadingSourcesRestrictions(), FindOrphanedFiles::checkFiles(), JobRunner::checkMemoryOK(), Title::checkReadPermissions(), FileRepo::cleanupBatch(), SpecialEditWatchlist::cleanupWatchlist(), Exif::collapseData(), MediaWiki\Tidy\RemexCompatMunger::comment(), UpdateMediaWiki::compatChecks(), StreamFile::contentTypeFromPath(), MediaWiki\Auth\ConfirmLinkSecondaryAuthenticationProvider::continueLinkAttempt(), WatchedItemStore::countVisitingWatchersMultiple(), SwiftFileBackend::createContainer(), NaiveForeignTitleFactory::createForeignTitle(), SwiftFileBackendFileList::current(), JobQueueAggregatorRedis::decodeQueueName(), Makefile::defaultWordsTable(), RESTBagOStuff::delete(), RedisBagOStuff::delete(), SqlBagOStuff::delete(), FileRepo::deleteBatch(), SwiftFileBackend::deleteContainer(), FileBackendStore::directoryExists(), XMPReader::doAttribs(), FileBackendStore::doClean(), FSFileBackend::doCleanInternal(), SwiftFileBackend::doCopyInternal(), SwiftFileBackend::doCreateInternal(), LocalFileDeleteBatch::doDBDeletes(), LocalFileDeleteBatch::doDBInserts(), SwiftFileBackend::doDeleteInternal(), SwiftFileBackend::doDescribeInternal(), FSFileBackend::doDirectoryExists(), Installer::doEnvironmentChecks(), SwiftFileBackend::doExecuteOpHandlesInternal(), RESTBagOStuff::doGet(), RedisBagOStuff::doGet(), JobQueueAggregatorRedis::doGetAllReadyWikiQueues(), 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(), XMPReader::endElementModeLi(), XMPReader::endElementModeQDesc(), XMPReader::endElementModeSimple(), XMPReader::endElementNested(), Installer::envCheckShellLocale(), ApiEditPage::execute(), ApiQueryBlocks::execute(), ApiParse::execute(), ApiBlock::execute(), UpdateSpecialPages::execute(), SpecialUnblock::execute(), UpdateLogging::execute(), ApiQueryLogEvents::execute(), CopyJobQueue::execute(), DeleteOrphanedRevisions::execute(), ApiUserrights::execute(), PurgeChangedPages::execute(), GenerateFancyCaptchas::execute(), ConvertLinks::execute(), GenerateJqueryMsgData::execute(), SpecialEmailUser::execute(), ZipDirectoryReader::execute(), MIMEsearchPage::execute(), QueryPage::execute(), Exif::exifGPStoNumber(), SpecialPageFactory::exists(), PPFrame_Hash::expand(), SpecialRevisionDelete::extractBitParams(), InputBox::extractOptions(), LogFormatter::extractParameters(), EtcdConfig::fetchAllFromEtcd(), EtcdConfig::fetchAllFromEtcdServer(), ExternalStoreDB::fetchFromURL(), ExternalStore::fetchFromURL(), HistoryAction::fetchRevisions(), Revision::fetchText(), UserrightsPage::fetchUser(), Wikimedia\Rdbms\DatabaseMssql::fieldExists(), Wikimedia\Rdbms\DatabaseMssql::fieldInfo(), WikitextContent::fillParserOutput(), ImportImages::findFiles(), Title::fixSpecialName(), OldChangesList::formatChangeLine(), RevisionItemBase::formatDate(), Linker::formatLinksInComment(), SpecialUndelete::formatRevisionRow(), SpecialNewpages::formatRow(), ContribsPager::formatRow(), RevisionItemBase::formatTime(), BlockListPager::formatValue(), File::generateThumbName(), MediaWiki\Interwiki\ClassicInterwikiLookup::getAllPrefixesCached(), RevDelArchivedFileItem::getApiData(), RevDelLogItem::getApiData(), RevDelRevisionItem::getApiData(), RevDelFileItem::getApiData(), SwiftFileBackend::getAuthentication(), FileBackendDBRepoWrapper::getBackendPaths(), SpecialBlockList::getBlockListPager(), JobQueueDB::getCacheKey(), SectionProfiler::getCallTreeLine(), MathCaptcha::getCaptcha(), RevDelFileItem::getComment(), XhprofData::getCompleteMetrics(), RefreshImageMetadata::getConditions(), RedisConnectionPool::getConnection(), FileBackendStore::getContainerShard(), SwiftFileBackend::getContainerStat(), FileBackendStore::getContainerSuffixes(), SpecialVersion::getCreditsForExtension(), MultiHttpClient::getCurlHandle(), 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(), MathCaptcha::getFormInformation(), LocalFileDeleteBatch::getHashes(), WebResponse::getHeader(), HTMLForm::getHiddenFields(), ChangeTagsRevisionItem::getHTML(), ChangeTagsLogItem::getHTML(), RevDelLogItem::getHTML(), RevDelRevisionItem::getHTML(), RevDelFileItem::getHTML(), XhprofData::getInclusiveMetrics(), ApiQueryImageInfo::getInfo(), HTMLFormField::getInline(), HTMLFormFieldCloner::getInputHTMLForKey(), MediaWiki\Interwiki\ClassicInterwikiLookup::getInterwikiCached(), OutputPage::getJSVars(), Wikimedia\Rdbms\DatabaseMysqlBase::getLagFromPtHeartbeat(), QueryPage::getLimitOffset(), RevDelArchivedFileItem::getLink(), RevDelFileItem::getLink(), HashRing::getLocations(), DeleteLogFormatter::getMessageParameters(), PNGMetadataExtractor::getMetadata(), ApiModuleManager::getModule(), RedisBagOStuff::getMulti(), SqlBagOStuff::getMulti(), WANObjectCache::getMulti(), SpecialPageFactory::getPage(), Skin::getPageClasses(), UsersPager::getPageHeader(), ContentHandler::getPageLanguage(), BotPassword::getPassword(), WANObjectCache::getProcessCache(), FSFile::getProps(), MWFileProps::getPropsFromPath(), DeletedContribsPager::getQueryInfo(), ContribsPager::getQueryInfo(), LinkSearchPage::getQueryInfo(), JobQueueRedis::getQueueKey(), Block::getRangeEnd(), Block::getRangeStart(), HTMLFormField::getRaw(), Wikimedia\Rdbms\LoadBalancer::getReaderIndex(), Revision::getRecentChange(), WikitextContent::getRedirectTarget(), ApiPageSet::getRedirectTargets(), XMPReader::getResults(), 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(), SearchResult::getTextSnippet(), ImagePage::getThumbPrevText(), SpecialRandomInCategory::getTimestampOffset(), SpecialPageFactory::getTitleForAlias(), LogPage::getTitleLink(), RevDelFileItem::getUserTools(), WatchedItemStore::getVisitingWatchersCondition(), WikiMap::getWikiReferenceFromWgConf(), FileRepo::getZonePath(), UserrightsPage::groupCheckboxes(), WikiImporter::handlePage(), Title::hasSourceText(), FauxResponse::header(), CheckLanguageCLI::help(), HistoryPager::historyLine(), User::idFromName(), ImageHistoryList::imageHistoryLine(), RedisBagOStuff::incr(), SqlBagOStuff::incr(), PoolCounterRedis::initAndPopPoolSlotList(), FileRepo::initDirectory(), Xml::inputLabel(), ExternalStore::insert(), MediaWiki\Tidy\RemexCompatMunger::insertElement(), ChangesList::insertTags(), ExternalStore::insertWithFallback(), UIDGenerator::intervalsSinceGregorianBinary(), Title::isCascadeProtected(), HTMLFormField::isHiddenRecurse(), RevDelRevisionItem::isHideCurrentOp(), LocalFile::isMissing(), SwiftFileBackend::isPathUsableInternal(), FileBackendStore::isSingleShardPathInternal(), Title::isSpecial(), FixT22757::isUnbrokenStub(), FormatMetadata::langItem(), LogPager::limitTitle(), SpecialNuke::listForm(), EtcdConfig::load(), SpecialSearch::load(), MessageCache::load(), User::loadFromDatabase(), WikiPage::loadPageData(), DifferenceEngine::loadRevisionIds(), BotPassword::login(), LogEventsList::logLine(), LocalIdLookup::lookupCentralIds(), LocalIdLookup::lookupUserNames(), FormatMetadata::makeFormattedData(), LinkHolderArray::makeHolder(), Licenses::makeLicenses(), Linker::makeSelfLinkObj(), Makefile::manualWordsTable(), MagicWordArray::matchAndRemove(), TitleBlacklistEntry::matches(), MagicWordArray::matchStartAndRemove(), ApiQueryTestBase::merge(), UIDGenerator::millisecondsSinceEpochBinary(), UIDGenerator::millitime(), NamespaceConflictChecker::movePage(), DatabaseOracle::nativeInsertSelect(), Wikimedia\Rdbms\DatabasePostgres::nativeInsertSelect(), Wikimedia\Rdbms\Database::nativeInsertSelect(), BotPassword::newFromCentralId(), Wikimedia\Rdbms\DatabaseDomain::newFromId(), TitleBlacklistEntry::newFromString(), 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(), DeleteLogFormatter::parseBitField(), CookieJar::parseCookieResponseHeader(), parseHighlightLines(), MagicWordArray::parseMatch(), SearchSqlite::parseQuery(), SearchMySQL::parseQuery(), HTTPFileStreamer::parseRange(), NamespaceAwareForeignTitleFactory::parseTitleNoNs(), BacklinkCache::partition(), BacklinkJobUtils::partitionBacklinkJob(), SimpleCaptcha::passCaptchaFromRequest(), SimpleCaptcha::passCaptchaLimitedFromRequest(), MediaWiki::performRequest(), ApiUpload::performStash(), 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(), FileRepo::quickImportBatch(), ContribsPager::reallyDoQuery(), ImageListPager::reallyDoQuery(), IndexPager::reallyDoQuery(), RebuildRecentchanges::rebuildRecentChangesTablePass4(), PoolCounterRedis::release(), LocalFileDeleteBatch::removeNonexistentFiles(), Makefile::removeRules(), RenameuserSQL::rename(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), ImageMap::render(), MessageCache::replace(), LinkHolderArray::replaceTextCallback(), MemoryFileBackend::resolveHashKey(), FormatMetadata::resolveMultivalueValue(), 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(), EditPage::showSummaryInput(), UserOptions::showUsageAndExit(), MemcachedClient::sock_to_host(), CoreParserFunctions::special(), Status::splitByErrorType(), XMPReader::startElement(), XMPReader::startElementModeLi(), XMPReader::startElementModeSimple(), UploadStash::stashFile(), FileRepo::storeBatch(), TextSuppressor::suppress(), 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(), SpecialEditWatchlistTest::testClearPage_hasClearButtonForm(), IPTest::testCombineHostAndPort(), SpecialPageFactoryTest::testConflictResolution(), XhprofDataTest::testCriticalPath(), ApiEditPageTest::testEdit_redirect(), ApiEditPageTest::testEditAppend(), ApiEditPageTest::testEditConflict_bug41990(), ApiEditPageTest::testEditConflict_newSection(), ApiEditPageTest::testEditNewSection(), SpecialEditWatchlistTest::testEditRawPage_hasTitlesBox(), ApiEditPageTest::testEditSection(), SpecialBooksourcesTest::testExecute(), FileBackendDBRepoWrapperTest::testGetBackendPaths(), FileBackendDBRepoWrapperTest::testGetFileContentsMulti(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), SpecialBlankPageTest::testHasWikiMsg(), MediaWiki\Auth\UserDataAuthenticationRequestTest::testLoadFromSubmission(), DifferenceEngineTest::testLoadRevisionData(), ApiUploadTest::testLogin(), DifferenceEngineTest::testMapDiffPrevNext(), FileContentsHasherTest::testMultipleFileHash(), MediaWiki\Auth\AuthPluginPrimaryAuthenticationProviderTest::testProviderChangeAuthenticationData(), DatabaseMysqlBaseTest::testPtHeartbeat(), ApiPageSetTest::testRedirectMergePolicyWithApiResult(), ApiPageSetTest::testRedirectMergePolicyWithArrayResult(), RefreshLinksPartitionTest::testRefreshLinks(), SpecialPageFactoryTest::testResolveAlias(), SpecialEditWatchlistTest::testRootPage_displaysExplanationMessage(), MediaWiki\Session\SessionTest::testSecrets(), MediaWiki\Auth\AuthManagerTest::testSecuritySensitiveOperationStatus(), 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(), MediaWikiI18N::translate(), LanguageFi::translateBlockExpiry(), Language::truncateHtml(), MediaWiki::tryNormaliseRedirect(), ZipDirectoryReader::unpack(), ChangeTags::updateTagsWithChecks(), OldLocalFile::upgradeRow(), LocalFile::upgradeRow(), Exif::validate(), SpecialBlock::validateTarget(), wfExtractThumbParams(), wfExtractThumbRequestInfo(), wfRequestExtension(), 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

◆ 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