Hi, all,
Looking at the database layout (http://www.mediawiki.org/wiki/Manual:Database_layout), I see that there are several link tables. There's the externallinks table, categorylinks table, langlinks table, pagelinks table, imagelinks table, and even a perennially-empty trackbacks table, but there is one kind of links that is not covered by these tables: Interwiki links. The recent, um, "controversy" made me wonder how many of these interwikis are actually used, but that information is not stored anywhere.
Would adding a table to the schema be useful? Thinking about it, it would have a layout similar to the langlinks table, so it would be like this:
mysql> DESCRIBE mw_interwiki; +----------+-----------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +----------+-----------------+------+-----+---------+-------+ | in_from | int(8) unsigned | NO | PRI | 0 | | | in_lang | varchar(10) | NO | PRI | NULL | | | in_title | varchar(255) | NO | | NULL | | +----------+-----------------+------+-----+---------+-------+ 3 rows in set (0.01 sec)
So, would it be a good idea to do this? It would allow things like [[Special:Linksearch]] for interwikis. Thoughts? Comments?
Titoxd.