* Added templatelinks table. The table currently represents a literal list of templat...
[lhc/web/wiklou.git] / docs / linkcache.txt
1 linkcache.txt
2
3 The LinkCache class maintains a list of article titles and
4 the information about whether or not the article exists in
5 the database. This is used to mark up links when displaying
6 a page. If the same link appears more than once on any page,
7 then it only has to be looked up once. In most cases, link
8 lookups are done in batches with the LinkBatch class, or the
9 equivalent in Parser::replaceLinkHolders(), so the link
10 cache is mostly useful for short snippets of parsed text
11 (such as the site notice), and for links in the navigation
12 areas of the skin.
13
14 The link cache was formerly used to track links used in a
15 document for the purposes of updating the link tables. This
16 application is now deprecated.
17
18