2003-08-21 11:33:17 +00:00
|
|
|
-- Creates interwiki prefix<->url mapping table
|
|
|
|
|
-- used from 2003-08-21 dev version.
|
|
|
|
|
-- Import the default mappings from maintenance/interwiki.sql
|
|
|
|
|
|
2005-01-14 13:33:17 +00:00
|
|
|
CREATE TABLE /*$wgDBprefix*/interwiki (
|
2005-05-02 08:40:17 +00:00
|
|
|
-- The interwiki prefix, (e.g. "Meatball", or the language prefix "de")
|
2011-01-20 23:56:47 +00:00
|
|
|
iw_prefix varchar(32) NOT NULL,
|
2012-10-20 11:35:38 +00:00
|
|
|
|
2005-05-02 08:40:17 +00:00
|
|
|
-- The URL of the wiki, with "$1" as a placeholder for an article name.
|
|
|
|
|
-- Any spaces in the name will be transformed to underscores before
|
|
|
|
|
-- insertion.
|
2007-06-22 20:09:59 +00:00
|
|
|
iw_url blob NOT NULL,
|
2012-10-20 11:35:38 +00:00
|
|
|
|
2005-05-02 08:40:17 +00:00
|
|
|
-- A boolean value indicating whether the wiki is in this project
|
|
|
|
|
-- (used, for example, to detect redirect loops)
|
2003-08-21 11:33:17 +00:00
|
|
|
iw_local BOOL NOT NULL,
|
2012-10-20 11:35:38 +00:00
|
|
|
|
2003-08-21 11:33:17 +00:00
|
|
|
UNIQUE KEY iw_prefix (iw_prefix)
|
|
|
|
|
|
2007-04-22 14:04:06 +00:00
|
|
|
) /*$wgDBTableOptions*/;
|