r93213 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93212‎ | r93213 | r93214 >
Date:17:13, 26 July 2011
Author:reedy
Status:ok
Tags:
Comment:
Apparently MaxSem cares about SQLite ;)

r93211

Fix a bit of alignment
Modified paths:
  • /trunk/phase3/includes/installer/MysqlUpdater.php (modified) (history)
  • /trunk/phase3/includes/installer/SqliteUpdater.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/installer/MysqlUpdater.php
@@ -162,7 +162,7 @@
163163
164164 // 1.17
165165 array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ),
166 - array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
 166+ array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
167167 array( 'addIndex', 'iwlinks', 'iwl_prefix_title_from', 'patch-rename-iwl_prefix.sql' ),
168168 array( 'addField', 'updatelog', 'ul_value', 'patch-ul_value.sql' ),
169169 array( 'addField', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ),
@@ -185,7 +185,7 @@
186186
187187 // 1.19
188188 array( 'addTable', 'config', 'patch-config.sql' ),
189 - array( 'addIndex', 'logging', 'type_action', 'patch-logging-type-action-index.sql')
 189+ array( 'addIndex', 'logging', 'type_action', 'patch-logging-type-action-index.sql'),
190190 );
191191 }
192192
Index: trunk/phase3/includes/installer/SqliteUpdater.php
@@ -42,14 +42,14 @@
4343 array( 'sqliteSetupSearchindex' ),
4444
4545 // 1.17
46 - array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ),
47 - array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
 46+ array( 'addTable', 'iwlinks', 'patch-iwlinks.sql' ),
 47+ array( 'addTable', 'user_former_groups', 'patch-user_former_groups.sql'),
4848 array( 'addIndex', 'iwlinks', 'iwl_prefix_title_from', 'patch-rename-iwl_prefix.sql' ),
49 - array( 'addField', 'updatelog', 'ul_value', 'patch-ul_value.sql' ),
 49+ array( 'addField', 'updatelog', 'ul_value', 'patch-ul_value.sql' ),
5050 array( 'addField', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ),
51 - array( 'dropIndex', 'iwlinks', 'iwl_prefix', 'patch-kill-iwl_prefix.sql' ),
 51+ array( 'dropIndex', 'iwlinks', 'iwl_prefix', 'patch-kill-iwl_prefix.sql' ),
5252 array( 'dropIndex', 'iwlinks', 'iwl_prefix_from_title', 'patch-kill-iwl_pft.sql' ),
53 - array( 'addField', 'categorylinks', 'cl_collation', 'patch-categorylinks-better-collation.sql' ),
 53+ array( 'addField', 'categorylinks', 'cl_collation', 'patch-categorylinks-better-collation.sql' ),
5454 array( 'doCollationUpdate' ),
5555 array( 'addTable', 'msg_resource', 'patch-msg_resource.sql' ),
5656 array( 'addTable', 'module_deps', 'patch-module_deps.sql' ),
@@ -58,10 +58,11 @@
5959
6060 // 1.18
6161 array( 'addIndex', 'user', 'user_email', 'patch-user_email_index.sql' ),
62 - array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ),
 62+ array( 'addTable', 'uploadstash', 'patch-uploadstash.sql' ),
6363
6464 // 1.19
65 - array( 'addTable', 'config', 'patch-config.sql' ),
 65+ array( 'addTable', 'config', 'patch-config.sql' ),
 66+ array( 'addIndex', 'logging', 'type_action', 'patch-logging-type-action-index.sql'),
6667 );
6768 }
6869

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93211* (bug 22744) Add/Update indexes for queries done by the API...reedy17:03, 26 July 2011

Status & tagging log