r65105 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65104‎ | r65105 | r65106 >
Date:02:35, 16 April 2010
Author:overlordq
Status:ok
Tags:
Comment:
Followup to r65104, PG updater/table def
Modified paths:
  • /trunk/phase3/maintenance/postgres/archives/patch-iwlinks.sql (added) (history)
  • /trunk/phase3/maintenance/postgres/tables.sql (modified) (history)
  • /trunk/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/postgres/archives/patch-iwlinks.sql
@@ -0,0 +1,8 @@
 2+
 3+CREATE TABLE iwlinks (
 4+ iwl_from INTEGER NOT NULL DEFAULT 0,
 5+ iwl_prefix TEXT NOT NULL DEFAULT '',
 6+ iwl_title TEXT NOT NULL DEFAULT ''
 7+);
 8+CREATE UNIQUE INDEX iwl_from ON iwlinks (iwl_from, iwl_prefix, iwl_title);
 9+CREATE INDEX iwl_prefix ON iwlinks (iwl_prefix, iwl_title);
Property changes on: trunk/phase3/maintenance/postgres/archives/patch-iwlinks.sql
___________________________________________________________________
Name: svn:eol-style
110 + native
Index: trunk/phase3/maintenance/postgres/tables.sql
@@ -636,3 +636,11 @@
637637 lc_value TEXT NOT NULL
638638 );
639639 CREATE INDEX l10n_cache_lc_lang_key ON l10n_cache (lc_lang, lc_key);
 640+
 641+CREATE TABLE iwlinks (
 642+ iwl_from INTEGER NOT NULL DEFAULT 0,
 643+ iwl_prefix TEXT NOT NULL DEFAULT '',
 644+ iwl_title TEXT NOT NULL DEFAULT ''
 645+);
 646+CREATE UNIQUE INDEX iwl_from ON iwlinks (iwl_from, iwl_prefix, iwl_title);
 647+CREATE INDEX iwl_prefix ON iwlinks (iwl_prefix, iwl_title);
Index: trunk/phase3/maintenance/updaters.inc
@@ -1596,7 +1596,7 @@
15971597 array('user_properties', 'patch-user_properties.sql'),
15981598 array('log_search', 'patch-log_search.sql'),
15991599 array('l10n_cache', 'patch-l10n_cache.sql'),
1600 - // @fixme add iwlinks table
 1600+ array('iwlinks', 'patch-iwlinks.sql'),
16011601 );
16021602
16031603 $newcols = array(

Follow-up revisions

RevisionCommit summaryAuthorDate
r66892Followup to r65105 after discussion with Roan...reedy20:37, 25 May 2010

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r65104* (bug 14473) Add iwlinks table to track inline interwiki link usage...brion01:40, 16 April 2010

Status & tagging log