diff options
Diffstat (limited to 'www/wiki/maintenance/archives/patch-langlinks.sql')
-rw-r--r-- | www/wiki/maintenance/archives/patch-langlinks.sql | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-langlinks.sql b/www/wiki/maintenance/archives/patch-langlinks.sql new file mode 100644 index 00000000..5594acd5 --- /dev/null +++ b/www/wiki/maintenance/archives/patch-langlinks.sql @@ -0,0 +1,14 @@ +CREATE TABLE /*$wgDBprefix*/langlinks ( + -- page_id of the referring page + ll_from int unsigned NOT NULL default '0', + + -- Language code of the target + ll_lang varbinary(20) NOT NULL default '', + + -- Title of the target, including namespace + ll_title varchar(255) binary NOT NULL default '', + + UNIQUE KEY (ll_from, ll_lang), + KEY (ll_lang, ll_title) +) /*$wgDBTableOptions*/; + |