r1590 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r1589‎ | r1590 | r1591 >
Date:11:33, 21 August 2003
Author:vibber
Status:old
Tags:
Comment:
Patch to create interwiki table in database for interwiki mappings.
Modified paths:
  • /trunk/phase3/maintenance/archives/patch-interwiki.sql (added) (history)
  • /trunk/phase3/maintenance/archives/patch-list.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/archives/patch-list.txt
@@ -114,3 +114,14 @@
115115
116116 * 2003-05-30: File upload license fields
117117 Adds fields to 'image' table.
 118+INCOMPLETE, DO NOT USE
 119+
 120+
 121+* 2003-08-21: Interwiki URL table
 122+Moves the interwiki prefix<->url mapping table from a static array
 123+into the database. If you've got a custom table, be sure to make
 124+your changes!
 125+
 126+Run patch-interwiki.sql to create the interwiki table, then the
 127+plain interwiki.sql to load up the default set of mappings.
 128+
Index: trunk/phase3/maintenance/archives/patch-interwiki.sql
@@ -0,0 +1,11 @@
 2+-- Creates interwiki prefix<->url mapping table
 3+-- used from 2003-08-21 dev version.
 4+-- Import the default mappings from maintenance/interwiki.sql
 5+
 6+CREATE TABLE interwiki (
 7+ iw_prefix char(32) NOT NULL,
 8+ iw_url char(127) NOT NULL,
 9+ iw_local BOOL NOT NULL,
 10+ UNIQUE KEY iw_prefix (iw_prefix)
 11+);
 12+
Property changes on: trunk/phase3/maintenance/archives/patch-interwiki.sql
___________________________________________________________________
Added: svn:eol-style
113 + native
Added: svn:keywords
214 + Author Date Id Revision

Status & tagging log