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

◆ 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

$batch = new LinkBatch( $titles )

◆ $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(), ApiQueryReferences::execute(), ApiEditPage::execute(), ApiQueryCategoryInfo::execute(), ApiQueryDeletedrevs::execute(), ApiQueryImageInfo::execute(), ApiSetNotificationTimestamp::execute(), RollbackEdits::execute(), SpecialEditWatchlist::extractTitles(), SearchResultSet::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(), SearchExactMatchRescorer::redirectTargetsToRedirect(), ApiQueryAllImages::run(), ApiQueryAllLinks::run(), ApiQueryCategories::run(), ApiQueryDuplicateFiles::run(), ApiQueryImages::run(), ApiQueryLinks::run(), ApiQueryPrefixSearch::run(), ApiQueryProtectedTitles::run(), ApiQueryQueryPage::run(), ApiQueryRecentChanges::run(), ApiQuerySearch::run(), ApiQueryWatchlistRaw::run(), ApiQueryBacklinksprop::run(), ApiQueryRevisions::run(), ApiOpenSearch::search(), ProtectionForm::show(), SpecialEditWatchlist::showTitles(), TitlePrefixSearch::strings(), SpecialEditWatchlist::submitNormal(), OutputPageTest::testAddBacklinkSubtitle(), OutputPageTest::testBuildBacklinkSubtitle(), PagePropsTest::testGetAllPropertiesMultiplePages(), PagePropsTest::testGetMultiplePropertiesMultiplePages(), PagePropsTest::testGetSinglePropertyMultiplePages(), ApiQuerySearchTest::testSearchResults(), 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 16 of file linkcache.txt.