MediaWiki  master
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(), ApiQueryCategoryInfo::execute(), ApiSetNotificationTimestamp::execute(), ApiQueryDeletedrevs::execute(), ApiQueryImageInfo::execute(), RollbackEdits::execute(), SpecialEditWatchlist::extractTitles(), LanguageConverter::findVariantLink(), 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(), ApiPageSet::processTitlesArray(), ApiQueryImages::run(), ApiQueryProtectedTitles::run(), ApiQueryPrefixSearch::run(), ApiQueryDuplicateFiles::run(), ApiQueryCategories::run(), ApiQueryWatchlistRaw::run(), ApiQuerySearch::run(), ApiQueryQueryPage::run(), ApiQueryLinks::run(), ApiQueryAllImages::run(), ApiQueryRevisions::run(), ApiQueryBacklinksprop::run(), ApiQueryAllLinks::run(), ApiQueryRecentChanges::run(), ApiOpenSearch::search(), PrefixSearch::searchWithVariants(), ProtectionForm::show(), SpecialEditWatchlist::showTitles(), TitlePrefixSearch::strings(), SpecialEditWatchlist::submitNormal(), OutputPageTest::testAddBacklinkSubtitle(), OutputPageTest::testBuildBacklinkSubtitle(), PagePropsTest::testGetAllPropertiesMultiplePages(), PagePropsTest::testGetMultiplePropertiesMultiplePages(), PagePropsTest::testGetSinglePropertyMultiplePages(), SpecialBlockTest::testMaybeAlterFormDefaultsPartial(), SpecialBlockTest::testProcessFormRestictions(), SpecialBlockTest::testProcessFormRestrictionsChange(), ApiQuerySearchTest::testSearchResults(), TitlePrefixSearch::titles(), and StringPrefixSearch::titles().

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