MediaWiki  1.30.0
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 SpecialMyLanguageTest::addDBDataOnce(), AugmentPageProps::augmentAll(), ApiQuery::doExport(), MysqlUpdater::doSchemaRestructuring(), GenderCache::doTitlesArray(), ApiEditPage::execute(), ApiQueryReferences::execute(), ApiQueryDeletedrevs::execute(), ApiQueryCategoryInfo::execute(), ApiQueryImageInfo::execute(), RollbackEdits::execute(), SpecialEditWatchlist::extractTitles(), foreach(), ApiParse::formatIWLinks(), SearchSuggestionSet::fromStrings(), SearchSuggestionSet::fromTitles(), PageProps::getAllProperties(), PageProps::getGoodIDs(), PageProps::getProperties(), SpecialEditWatchlist::getRawForm(), AbstractContent::getRedirectChain(), LinksUpdate::getRemovedLinks(), RollbackEdits::getRollbackTitles(), AbstractContent::getUltimateRedirectTarget(), SpecialEditWatchlist::getWatchlist(), SpecialEditWatchlist::getWatchlistInfo(), ApiPageSet::initFromRevIDs(), ApiPageSet::initFromTitles(), Title::newFromIDs(), CdnCacheUpdate::newFromTitles(), IPTC::parse(), BacklinkJobUtils::partitionBacklinkJob(), ApiPageSet::populateFromTitles(), Skin::preloadExistence(), SearchEngine::processCompletionResults(), ApiPageSet::processTitlesArray(), SearchExactMatchRescorer::redirectTargetsToRedirect(), ApiQueryPrefixSearch::run(), ApiQueryProtectedTitles::run(), ApiQueryImages::run(), ApiQueryCategories::run(), ApiQueryDuplicateFiles::run(), ApiQueryWatchlistRaw::run(), ApiQuerySearch::run(), ApiQueryQueryPage::run(), ApiQueryLinks::run(), ApiQueryAllImages::run(), ApiQueryRevisions::run(), ApiQueryBacklinksprop::run(), ApiQueryAllLinks::run(), ApiQueryRecentChanges::run(), ApiOpenSearch::search(), ProtectionForm::show(), SpecialEditWatchlist::showTitles(), TitlePrefixSearch::strings(), SpecialEditWatchlist::submitNormal(), TestPageProps::testGetAllPropertiesMultiplePages(), TestPageProps::testGetMultiplePropertiesMultiplePages(), TestPageProps::testGetSinglePropertyMultiplePages(), TitlePrefixSearch::titles(), StringPrefixSearch::titles(), and SpecialEditWatchlist::unwatchTitles().

◆ 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

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