https://bugzilla.wikimedia.org/show_bug.cgi?id=51876

--- Comment #1 from Aude <[email protected]> ---
For example, the site identifiers table should have an interwiki code of 'en'
for enwikivoyage.

so, si_type = 'interwiki' and si_key = 'en'

The site_identifiers table has a unique key set for si_type and si_key, so it
is unable to add the correct interwiki codes for non-wikipedias.

Unless there is a good reason for this unique key, it should be removed so this
table can be populated correctly.

CREATE TABLE `site_identifiers` (
  `si_site` int(10) unsigned NOT NULL,
  `si_type` varbinary(32) NOT NULL,
  `si_key` varbinary(32) NOT NULL,
  UNIQUE KEY `site_ids_type` (`si_type`,`si_key`),
  KEY `site_ids_site` (`si_site`),
  KEY `site_ids_key` (`si_key`)
)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to