Manual:brokenlinks table

(Redirected from Brokenlinks table)
Jump to navigation Jump to search

Other languages:
English • ‎español • ‎polski • ‎日本語 • ‎한국어
Manual:ContentsManual:Contents MediaWiki database layoutManual:Database layout brokenlinks table

Since MediaWiki 1.5, the links and brokenlinks tables have been merged to a single pagelinksManual:pagelinks table 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

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

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

MediaWiki version: 1.4
 | Field      | Type                | Null | Key | Default | Extra |
 | bl_from    | int(8) unsigned     |      | MUL | 0       |       |
 | bto        | varchar(255) binary |      | MUL |         |       |

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