Merge "resourceloader: Add @covers for stripBom() test"
[lhc/web/wiklou.git] / maintenance / archives / patch-interwiki.sql
index e4f3b6f..57b7945 100644 (file)
@@ -3,9 +3,18 @@
 -- Import the default mappings from maintenance/interwiki.sql
 
 CREATE TABLE /*$wgDBprefix*/interwiki (
-  iw_prefix char(32) NOT NULL,
-  iw_url char(127) NOT NULL,
+  -- The interwiki prefix, (e.g. "Meatball", or the language prefix "de")
+  iw_prefix varchar(32) NOT NULL,
+
+  -- 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.
+  iw_url blob NOT NULL,
+
+  -- A boolean value indicating whether the wiki is in this project
+  -- (used, for example, to detect redirect loops)
   iw_local BOOL NOT NULL,
+
   UNIQUE KEY iw_prefix (iw_prefix)
-);
 
+) /*$wgDBTableOptions*/;