r69540 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r69539‎ | r69540 | r69541 >
Date:11:46, 19 July 2010
Author:catrope
Status:ok (Comments)
Tags:
Comment:
iwtransclusion: Add updater for iw_api and iw_wikiid fields
Modified paths:
  • /branches/iwtransclusion/phase3/maintenance/archives/patch-iw_api_and_wikiid.sql (added) (history)
  • /branches/iwtransclusion/phase3/maintenance/updaters.inc (modified) (history)

Diff [purge]

Index: branches/iwtransclusion/phase3/maintenance/archives/patch-iw_api_and_wikiid.sql
@@ -0,0 +1,9 @@
 2+--
 3+-- Add iw_api and iw_wikiid to interwiki table
 4+--
 5+
 6+ALTER TABLE /*_*/interwiki
 7+ ADD iw_api BLOB NOT NULL;
 8+ALTER TABLE /*_*/interwiki
 9+ ADD iw_wikiid varchar(64) NOT NULL;
 10+
Index: branches/iwtransclusion/phase3/maintenance/updaters.inc
@@ -176,6 +176,7 @@
177177 // 1.17
178178 array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ),
179179 array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ),
 180+ array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ),
180181 ),
181182
182183 'sqlite' => array(
@@ -207,6 +208,7 @@
208209 // 1.17
209210 array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ),
210211 array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ),
 212+ array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ),
211213 ),
212214 );
213215

Follow-up revisions

RevisionCommit summaryAuthorDate
r69542Add iw_api and iw_wikiid fields to the interwiki table, plus rudimentary supp...catrope11:55, 19 July 2010

Comments

#Comment by 😂 (talk | contribs)   13:28, 19 July 2010

Not a fixme (this was branched prior to the refactoring), but the updaters.inc changes won't merge to trunk as of r69187. Will need to go in the various Updaters classes.

#Comment by Catrope (talk | contribs)   13:29, 19 July 2010

Have you looked at r69542?

Status & tagging log