Movatterモバイル変換


[0]ホーム

URL:


Jump to content
MediaWiki
Search

Manual:brokenlinks table

From mediawiki.org
Translate this page
Languages:
Manual:Contents
MediaWiki database layout
brokenlinks table
MediaWiki version:
1.4
Since MediaWiki 1.5, thelinks andbrokenlinks tables have been merged to a singlepagelinks table, which records the namespace+title key pair of target links rather than the page ID or the prefixed title.mailarchive:wikitech-l/2005-May/017434.html

Thebrokenlinks table stored links to articles that don't exist yet.This was used forSpecial:Wantedpages (which was sometimes disabled), and perhaps for some link caching.It was the twin of thelinks table.

Beginning with the MediaWiki 1.5 release this table is not used, and can be safely deleted.The contents have been migrated to thepagelinks table on update.Regenerating thepagelinks table always is possible using therebuildall.php maintenance script.

bl_from stores thecur_id of the article which contains the link,bl_to stores the name (including namespace prefix) of the desired article.

Schema summary

[edit]
MediaWiki versions:
1.2 – 1.4
+---------+-----------------+------+-----+---------+-------+| Field   | Type            | Null | Key | Default | Extra |+---------+-----------------+------+-----+---------+-------+| bl_from | int(8) unsigned | NO   | PRI | 0       |       || bl_to   | varchar(255)    | NO   | PRI |         |       |+---------+-----------------+------+-----+---------+-------+
MediaWiki version:
1.1
+---------+-----------------+------+-----+---------+-------+| Field   | Type            | Null | Key | Default | Extra |+---------+-----------------+------+-----+---------+-------+| bl_from | int(8) unsigned | NO   |     | 0       |       || bl_to   | varchar(255)    | NO   |     |         |       |+---------+-----------------+------+-----+---------+-------+

Indexes

[edit]
MediaWiki versions:
1.2 – 1.4

SHOWINDEXINbrokenlinks;

+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+| Table       | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment |+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+| brokenlinks |          0 | bl_from  |            1 | bl_from     | A         |           0 |     NULL | NULL   |      | BTREE      |         |               || brokenlinks |          0 | bl_from  |            2 | bl_to       | A         |           0 |     NULL | NULL   |      | BTREE      |         |               || brokenlinks |          1 | bl_to    |            1 | bl_to       | A         |           0 |     NULL | NULL   |      | BTREE      |         |               |+-------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+
Engines
Current
Former
Technical documentation
Configuration
Development
Core tables
Current
Former
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Brokenlinks_table&oldid=6639200"
Category:

[8]ページ先頭

©2009-2026 Movatter.jp