Patch to create interwiki table in database for interwiki mappings.

This commit is contained in:
Brion Vibber 2003-08-21 11:33:17 +00:00
parent 3002e1d8a6
commit b17c3867f9
2 changed files with 22 additions and 0 deletions

View file

@ -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)
);

View file

@ -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.