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

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

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().

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

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.

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(), RevDelArchiveItem::__construct(), RevDelArchivedRevisionItem::__construct(), License::__construct(), WordLevelDiff::__construct(), ForeignDBViaLBRepo::__construct(), ImageHistoryPseudoPager::__construct(), FileOp::__construct(), LinksUpdate::__construct(), IndexPager::__construct(), RevisionItemBase::__construct(), ResourceLoaderFileModule::__construct(), PPNode_Hash_Tree::__construct(), MemcachedClient::_connect_sock(), MemcachedClient::_load_items(), RedisBagOStuff::add(), BackupDumperPageTest::addDBData(), TextPassDumperDatabaseTest::addDBData(), SwiftFileBackend::addMissingMetadata(), LocalFileMoveBatch::addOlds(), EditPage::addPageProtectionWarningHeaders(), OutputPage::addParserOutputMetadata(), MediaWiki\Tidy\Balancer::advance(), ApiQuerySiteinfo::appendDbReplLagInfo(), SwiftVirtualRESTService::applyAuthResponse(), FileBackendGroup::backendFromPath(), ExternalStoreDB::batchFetchFromURLs(), Parser::braceSubstitution(), SpecialRevisionDelete::buildCheckBoxes(), ProtectionForm::buildForm(), SkinTemplate::buildPersonalUrls(), RangeChronologicalPager::buildQueryInfo(), MediaWiki\HeaderCallback::callback(), Parser::callParserFunction(), 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(), UploadBase::checkSvgScriptCallback(), 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(), 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(), 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(), ApiComparePages::execute(), ApiEditPage::execute(), ApiQueryBlocks::execute(), ApiBlock::execute(), UpdateSpecialPages::execute(), SpecialUnblock::execute(), UpdateLogging::execute(), ApiParse::execute(), CopyJobQueue::execute(), DeleteOrphanedRevisions::execute(), ApiQueryLogEvents::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(), SpecialPageFactory::exists(), Parser::extensionSubstitution(), SpecialRevisionDelete::extractBitParams(), 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(), Parser::formatHeadings(), Linker::formatLinksInComment(), Message::formatListParam(), 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(), 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(), LocalFileDeleteBatch::getHashes(), WebResponse::getHeader(), HTMLForm::getHiddenFields(), ChangeTagsRevisionItem::getHTML(), ChangeTagsLogItem::getHTML(), RevDelLogItem::getHTML(), RevDelRevisionItem::getHTML(), RevDelFileItem::getHTML(), XhprofData::getInclusiveMetrics(), ApiQueryImageInfo::getInfo(), HTMLFormField::getInline(), HTMLFormFieldCloner::getInputHTMLForKey(), WANObjectCache::getInterimValue(), MediaWiki\Interwiki\ClassicInterwikiLookup::getInterwikiCached(), ContribsPager::getIpRangeConds(), 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(), SpecialPageFactory::getPage(), Skin::getPageClasses(), UsersPager::getPageHeader(), DjVuImage::getPageInfo(), ContentHandler::getPageLanguage(), BotPassword::getPassword(), WANObjectCache::getProcessCache(), FSFile::getProps(), MWFileProps::getPropsFromPath(), DeletedContribsPager::getQueryInfo(), LinkSearchPage::getQueryInfo(), JobQueueRedis::getQueueKey(), Block::getRangeEnd(), Block::getRangeStart(), HTMLFormField::getRaw(), Wikimedia\Rdbms\LoadBalancer::getReaderIndex(), Revision::getRecentChange(), Sanitizer::getRecognizedTagData(), 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(), Parser::getTemplateDom(), SearchResult::getTextSnippet(), ImagePage::getThumbPrevText(), SpecialRandomInCategory::getTimestampOffset(), UploadBase::getTitle(), 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(), CommentStore::insert(), MediaWiki\Tidy\RemexCompatMunger::insertElement(), Revision::insertOn(), 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(), EtcdConfig::load(), SpecialSearch::load(), MessageCache::load(), User::loadFromDatabase(), WikiPage::loadPageData(), DifferenceEngine::loadRevisionIds(), BotPassword::login(), LogEventsList::logLine(), LocalIdLookup::lookupCentralIds(), LocalIdLookup::lookupUserNames(), FormatMetadata::makeFormattedData(), LinkHolderArray::makeHolder(), Parser::makeImage(), Parser::makeKnownLinkHolder(), Licenses::makeLicenses(), ResourceLoaderClientHtml::makeLoad(), Linker::makeSelfLinkObj(), Makefile::manualWordsTable(), MagicWordArray::matchAndRemove(), MagicWordArray::matchStartAndRemove(), ApiQueryTestBase::merge(), UIDGenerator::millisecondsSinceEpochBinary(), UIDGenerator::millitime(), NamespaceConflictChecker::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(), 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(), RebuildRecentchanges::rebuildRecentChangesTablePass4(), LocalFile::recordUpload2(), ResourceLoader::register(), PoolCounterRedis::release(), Sanitizer::removeHTMLtags(), LocalFileDeleteBatch::removeNonexistentFiles(), Makefile::removeRules(), MediaWiki\Widget\Search\FullSearchResultWidget::render(), Parser::renderImageGallery(), MessageCache::replace(), Parser::replaceExternalLinks(), 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(), Status::splitByErrorType(), XMPReader::startElement(), XMPReader::startElementModeLi(), XMPReader::startElementModeSimple(), 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_bug41990(), ApiEditPageTest::testEditConflict_newSection(), ApiEditPageTest::testEditNewSection(), SpecialEditWatchlistTest::testEditRawPage_hasTitlesBox(), ApiEditPageTest::testEditSection(), SpecialBooksourcesTest::testExecute(), SpecialPageDataTest::testExecute(), FileBackendDBRepoWrapperTest::testGetBackendPaths(), FileBackendDBRepoWrapperTest::testGetFileContentsMulti(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo(), WatchedItemQueryServiceUnitTest::testGetWatchedItemsWithRecentChangeInfo_extension(), SpecialBlankPageTest::testHasWikiMsg(), CommentStoreTest::testInsertRoundTrip(), CommentStoreTest::testInsertWithTempTableDeprecated(), 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(), 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(), MediaWikiI18N::translate(), LanguageFi::translateBlockExpiry(), Language::truncateHtml(), MediaWiki::tryNormaliseRedirect(), ZipDirectoryReader::unpack(), OrderedStreamingForkController::updateAvailableSockets(), ChangeTags::updateTagsWithChecks(), OldLocalFile::upgradeRow(), LocalFile::upgradeRow(), Exif::validate(), SpecialBlock::validateTarget(), wfExtractThumbParams(), wfExtractThumbRequestInfo(), wfRequestExtension(), and wfStreamThumb().

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().

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