MediaWiki  1.28.1
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
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

foreach (   $pages as)

Definition at line 19 of file linkcache.txt.

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

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

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(), ApiQueryDeletedrevs::execute(), ApiQueryImageInfo::execute(), RollbackEdits::execute(), PPFrame_DOM::expand(), 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(), SearchEngine::processCompletionResults(), ApiPageSet::processTitlesArray(), SearchExactMatchRescorer::redirectTargetsToRedirect(), ApiQueryPrefixSearch::run(), ApiQueryImages::run(), ApiQueryProtectedTitles::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(), ProtectionForm::show(), SpecialEditWatchlist::showTitles(), TitlePrefixSearch::strings(), SpecialEditWatchlist::submitNormal(), TestPageProps::testGetAllPropertiesMultiplePages(), TestPageProps::testGetMultiplePropertiesMultiplePages(), TestPageProps::testGetSinglePropertyMultiplePages(), TitlePrefixSearch::titles(), StringPrefixSearch::titles(), and SpecialEditWatchlist::unwatchTitles().

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

Definition at line 14 of file linkcache.txt.

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.