Manual:Existencelinks table
MediaWiki version: | ≥ 1.45 |
The existencelinks table tracks the existence of page titles that another article's content depends on.
It is similar to the pagelinks and was in fact split off from that table in the 1.45 release.
Where pagelinks is used for internal links, the existencelinks
table is used for if exists
checks by Parserfunctions, Scribunto etc.
Note that the target page may or may not exist, and due to renames and deletions may refer to different page records as time goes by.
Fields
exl_from
The page_id of the page containing the link.
exl_target_id
Foreign key to linktarget.
Schema summary
MediaWiki version: | ≥ 1.45 |
DESCRIBE existencelinks;
+-------------------+---------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-------------------+---------------------+------+-----+---------+-------+ | exl_from | int(10) unsigned | NO | PRI | 0 | | | exl_target_id | bigint(20) unsigned | NO | PRI | NULL | | +-------------------+---------------------+------+-----+---------+-------+
Indexes
MediaWiki version: | ≥ 1.45 |
SHOW INDEX IN existencelinks;
// TODOCategory:MediaWiki database tables#Pagelinks%20table