MediaWiki  1.23.12
docs/linkcache.txt File Reference

Functions

$batch execute ()
 
 foreach ( $pages as $page)
 
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed text (such as the site notice)
 

Variables

 $batch = new LinkBatch( $titles )
 
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following $titles = array()
 
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a batch
 
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following code
 
linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following Project
 

Function Documentation

◆ execute()

◆ foreach()

foreach (   $pages as)

Definition at line 19 of file linkcache.txt.

References $titles, and Title::newFromText().

◆ text()

linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed text ( such as the site  notice)

Variable Documentation

◆ $batch

◆ $titles

linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following $titles = array()

Definition at line 17 of file linkcache.txt.

Referenced by ApiQuery::doExport(), MysqlUpdater::doSchemaRestructuring(), GenderCache::doTitlesArray(), ApiEditPage::execute(), ApiQueryDeletedrevs::execute(), ApiQueryCategoryInfo::execute(), RollbackEdits::execute(), ApiQueryImageInfo::execute(), ApiQueryRevisions::execute(), PPFrame_DOM::expand(), SpecialEditWatchlist::extractTitles(), foreach(), ApiParse::formatIWLinks(), SpecialEditWatchlist::getRawForm(), AbstractContent::getRedirectChain(), LinksUpdate::getRemovedLinks(), RollbackEdits::getRollbackTitles(), RefreshLinksJob2::getSingleTitleJobs(), AbstractContent::getUltimateRedirectTarget(), SpecialEditWatchlist::getWatchlist(), SpecialEditWatchlist::getWatchlistInfo(), ApiPageSet::initFromTitles(), Title::newFromIDs(), SquidUpdate::newFromTitles(), IPTC::parse(), BacklinkJobUtils::partitionBacklinkJob(), ApiPageSet::populateFromTitles(), Skin::preloadExistence(), ApiPageSet::processTitlesArray(), ApiQueryPrefixSearch::run(), ApiQueryImages::run(), ApiQueryProtectedTitles::run(), ApiQueryRedirects::run(), ApiQueryWatchlistRaw::run(), ApiQueryCategories::run(), ApiQueryDuplicateFiles::run(), ApiQuerySearch::run(), ApiQueryQueryPage::run(), ApiQueryAllImages::run(), ApiQueryLinks::run(), ApiQueryAllLinks::run(), ApiQueryRecentChanges::run(), ProtectionForm::show(), SpecialEditWatchlist::showTitles(), TitlePrefixSearch::strings(), SpecialEditWatchlist::submitNormal(), TitlePrefixSearch::titles(), StringPrefixSearch::titles(), SpecialEditWatchlist::unwatchTitles(), and SpecialEditWatchlist::watchTitles().

◆ batch

linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a batch

Definition at line 14 of file linkcache.txt.

Referenced by LCStoreDB::finishWrite(), LCStoreDB::set(), and LCStoreDB::startWrite().

◆ code

linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following code

Definition at line 14 of file linkcache.txt.

◆ Project

linkcache txt The LinkCache class maintains a list of article titles and the information about whether or not the article exists in the database This is used to mark up links when displaying a page If the same link appears more than once on any page then it only has to be looked up once In most cases link lookups are done in batches with the LinkBatch class or the equivalent in so the link cache is mostly useful for short snippets of parsed and for links in the navigation areas of the skin The link cache was formerly used to track links used in a document for the purposes of updating the link tables This application is now deprecated To create a you can use the following Project

Definition at line 14 of file linkcache.txt.