MediaWiki  REL1_24
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
 pull multiple revisions may often pull multiple times from the same blob.

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.

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
namespace and then decline to actually register it RecentChangesLinked and Watchlist RecentChangesLinked and Watchlist e g Watchlist instead of letting the login form give the generic error message that the account does not exist For example

Definition at line 4 of file deferred.txt.

Referenced by LanguageTrTest::provideDottedAndDotlessI(), and showUsage().

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

Definition at line 11 of file deferred.txt.

Referenced by RevDelArchiveItem::__construct(), RevDelArchivedRevisionItem::__construct(), FileOp::__construct(), LinksUpdate::__construct(), IndexPager::__construct(), License::__construct(), RedisBagOStuff::add(), BackupDumperPageTest::addDBData(), TextPassDumperTest::addDBData(), ApiQueryLogEvents::addLogParams(), ApiQuerySiteinfo::appendDbReplLagInfo(), ExternalStoreDB::batchFetchFromURLs(), RevDelLogItem::canView(), RevDelRevisionItem::canView(), RevDelFileItem::canView(), RevDelRevisionItem::canViewContent(), RevDelFileItem::canViewContent(), SpecialRecentChanges::categoryFilterForm(), CheckStorage::check(), ApiQueryTestBase::check(), UploadBase::checkSvgScriptCallback(), SpecialEditWatchlist::cleanupWatchlist(), Sanitizer::cleanUrl(), lessc::colorArgs(), UpdateMediaWiki::compatChecks(), lessc::compileProp(), lessc::compileSelectors(), lessc::compileValue(), StreamFile::contentTypeFromPath(), FileBackendMultiWrite::doPrepare(), MysqlUpdater::doSchemaRestructuring(), XmlTypeCheck::elementClose(), XMPReader::endElementModeQDesc(), lessc::evaluate(), ApiUserrights::execute(), ApiEditPage::execute(), SpecialUnblock::execute(), UpdateLogging::execute(), ApiBlock::execute(), DeleteOrphanedRevisions::execute(), ApiQueryBlocks::execute(), UpdateSpecialPages::execute(), ApiQueryLogEvents::execute(), CopyJobQueue::execute(), PurgeChangedPages::execute(), ConvertLinks::execute(), GenerateJqueryMsgData::execute(), SpecialEmailUser::execute(), MIMEsearchPage::execute(), ZipDirectoryReader::execute(), LocalFileMoveBatch::execute(), SpecialPageFactory::exists(), ExternalStoreDB::fetchFromURL(), ExternalStore::fetchFromURL(), UserrightsPage::fetchUser(), DatabaseMssql::fieldExists(), DatabaseMssql::fieldInfo(), WikitextContent::fillParserOutput(), findFiles(), SpecialNewpages::form(), OldChangesList::formatChangeLine(), Linker::formatLinksInComment(), BlockListPager::formatValue(), RevDelArchivedFileItem::getApiData(), RevDelLogItem::getApiData(), RevDelRevisionItem::getApiData(), RevDelFileItem::getApiData(), JobQueueFederated::getCacheKey(), SpecialVersion::getCreditsForExtension(), RevDelArchiveItem::getDiffLink(), RevisionItem::getDiffLink(), SpecialUnblock::getFields(), SpecialChangePassword::getFormFields(), HTMLForm::getHiddenFields(), RevDelLogItem::getHTML(), RevDelRevisionItem::getHTML(), RevDelFileItem::getHTML(), ApiQueryImageInfo::getInfo(), RevDelArchivedFileItem::getLink(), DeleteLogFormatter::getMessageParameters(), PNGMetadataExtractor::getMetadata(), DjVuImage::getMultiPageInfo(), SpecialPageFactory::getPage(), Skin::getPageClasses(), UsersPager::getPageHeader(), DjVuImage::getPageInfo(), DeletedContribsPager::getQueryInfo(), LinkSearchPage::getQueryInfo(), WikitextContent::getRedirectTarget(), RevDelArchiveItem::getRevisionLink(), RevisionItem::getRevisionLink(), ZipDirectoryReader::getStructSize(), HTMLCheckMatrix::getTableRow(), SpecialRandomInCategory::getTimestampOffset(), UploadBase::getTitle(), SpecialPageFactory::getTitleForAlias(), WikiMap::getWiki(), WikiImporter::handlePage(), FauxResponse::header(), CheckLanguageCLI::help(), CheckExtensionsCLI::help(), Xml::inputLabel(), ExternalStore::insert(), ExternalStore::insertWithFallback(), RevDelRevisionItem::isHideCurrentOp(), FixBug20757::isUnbrokenStub(), lessc::lib_darken(), lessc::lib_desaturate(), lessc::lib_extract(), lessc::lib_fade(), lessc::lib_fadein(), lessc::lib_fadeout(), lessc::lib_lighten(), lessc::lib_mix(), lessc::lib_mod(), lessc::lib_pow(), lessc::lib_saturate(), lessc::lib_spin(), lessc::lib_unit(), Linker::makeKnownLinkObj(), Linker::makeLinkObj(), Linker::makeSelfLinkObj(), ApiQueryTestBase::merge(), Linker::normaliseSpecialPage(), SpecialSpecialpages::outputPageList(), MediaStatisticsPage::outputResults(), DeleteLogFormatter::parseBitField(), CookieJar::parseCookieResponseHeader(), SearchMySQL::parseQuery(), SearchSqlite::parseQuery(), BacklinkCache::partition(), BacklinkJobUtils::partitionBacklinkJob(), MediaStatisticsPage::preprocessResults(), SpecialUnblock::processUnblock(), ProfilerSimpleTrace::profileOut(), ImageListPager::reallyDoQuery(), RebuildRecentchanges::rebuildRecentChangesTablePass2(), RebuildRecentchanges::rebuildRecentChangesTablePass3(), RebuildRecentchanges::rebuildRecentChangesTablePass4(), lessc::reduce(), Sanitizer::removeHTMLtags(), Parser::replaceTransparentTags(), RefreshLinksJob2::run(), RefreshLinksJob::run(), ApiQueryAllImages::run(), RevDelArchiveItem::setBits(), RevDelFileItem::setBits(), Block::setBlocker(), ParserTest::setupGlobals(), SpecialBlockList::showList(), SpecialBookSources::showList(), SpecialPrefixindex::showPrefixChunk(), showUsage(), UserOptions::showUsageAndExit(), CoreParserFunctions::special(), UserrightsPage::splitGroups(), XMPReader::startElement(), FileRepo::storeBatch(), DatabaseMssql::tableExists(), IPTest::testCombineHostAndPort(), ApiEditPageTest::testEdit_redirect(), ApiEditPageTest::testEditAppend(), ApiEditPageTest::testEditConflict_bug41990(), ApiEditPageTest::testEditConflict_newSection(), ApiEditPageTest::testEditNewSection(), ApiEditPageTest::testEditSection(), DifferenceEngineTest::testLoadRevisionData(), ApiUploadTest::testLogin(), DifferenceEngineTest::testMapDiffPrevNext(), RefreshLinksPartitionTest::testRefreshLinks(), SpecialPageFactoryTest::testResolveAlias(), 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(), IPTC::timeHelper(), TraditionalImageGallery::toHTML(), BitmapHandler::transformGd(), BitmapHandler::transformImageMagick(), BitmapHandler::transformImageMagickExt(), MediaWikiI18N::translate(), LanguageFi::translateBlockExpiry(), lessc::tryImport(), ZipDirectoryReader::unpack(), RecompressTracked::waitForSlaves(), wfArrayDiff2_cmp(), wfCgiToArray(), 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 UserOptions::showUsageAndExit().

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
array One step cache variable to hold base blobs operations HistoryBlobStub::that

pull multiple revisions may often pull multiple times from the same blob.

By keeping the last-used one open, we avoid redundant unserialization and decompression overhead.

Definition at line 11 of file deferred.txt.

Referenced by BackupReader::__construct(), RecompressTracked::doAllPages(), CheckLanguageCLI::help(), WfBCP47Test::provideLanguageCodes(), UtfNormal::quickIsNFCVerify(), Sanitizer::removeHTMLtags(), and TraditionalImageGallery::toHTML().