From: Brion Vibber Date: Thu, 21 Aug 2003 11:33:17 +0000 (+0000) Subject: Patch to create interwiki table in database for interwiki mappings. X-Git-Tag: 1.1.0~318 X-Git-Url: https://git.cyclocoop.org/%242?a=commitdiff_plain;h=b17c3867f900c8851a25cc6bdac835c053c321c0;p=lhc%2Fweb%2Fwiklou.git Patch to create interwiki table in database for interwiki mappings. --- diff --git a/maintenance/archives/patch-interwiki.sql b/maintenance/archives/patch-interwiki.sql new file mode 100644 index 0000000000..0fa40cdf2a --- /dev/null +++ b/maintenance/archives/patch-interwiki.sql @@ -0,0 +1,11 @@ +-- Creates interwiki prefix<->url mapping table +-- used from 2003-08-21 dev version. +-- Import the default mappings from maintenance/interwiki.sql + +CREATE TABLE interwiki ( + iw_prefix char(32) NOT NULL, + iw_url char(127) NOT NULL, + iw_local BOOL NOT NULL, + UNIQUE KEY iw_prefix (iw_prefix) +); + diff --git a/maintenance/archives/patch-list.txt b/maintenance/archives/patch-list.txt index c16ec35b8b..7bf9deb572 100644 --- a/maintenance/archives/patch-list.txt +++ b/maintenance/archives/patch-list.txt @@ -114,3 +114,14 @@ OutputPage.php User.php maintenance/buildTables.inc maintenance/patch-cache.sql * 2003-05-30: File upload license fields Adds fields to 'image' table. +INCOMPLETE, DO NOT USE + + +* 2003-08-21: Interwiki URL table +Moves the interwiki prefix<->url mapping table from a static array +into the database. If you've got a custom table, be sure to make +your changes! + +Run patch-interwiki.sql to create the interwiki table, then the +plain interwiki.sql to load up the default set of mappings. +