Index: trunk/phase3/maintenance/archives/patch-rd_interwiki.sql |
— | — | @@ -0,0 +1,6 @@ |
| 2 | +-- Add interwiki and fragment columns to redirect table |
| 3 | + |
| 4 | +ALTER TABLE /*$wgDBprefix*/redirect |
| 5 | + ADD rd_interwiki varchar(32) default NULL, |
| 6 | + ADD rd_fragment varchar(255) binary default NULL; |
| 7 | + |
Property changes on: trunk/phase3/maintenance/archives/patch-rd_interwiki.sql |
___________________________________________________________________ |
Name: svn:eol-style |
1 | 8 | + native |
Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -175,6 +175,7 @@ |
176 | 176 | array( 'add_table', 'user_properties', 'patch-user_properties.sql' ), |
177 | 177 | array( 'add_table', 'log_search', 'patch-log_search.sql' ), |
178 | 178 | array( 'do_log_search_population' ), |
| 179 | + array( 'add_field', 'redirect', 'rd_interwiki', 'patch-rd_interwiki.sql' ), |
179 | 180 | ), |
180 | 181 | ); |
181 | 182 | |
Index: trunk/phase3/maintenance/tables.sql |
— | — | @@ -1191,7 +1191,9 @@ |
1192 | 1192 | -- and deletions may refer to different page records as time |
1193 | 1193 | -- goes by. |
1194 | 1194 | rd_namespace int NOT NULL default 0, |
1195 | | - rd_title varchar(255) binary NOT NULL default '' |
| 1195 | + rd_title varchar(255) binary NOT NULL default '', |
| 1196 | + rd_interwiki varchar(32) default NULL, |
| 1197 | + rd_fragment varchar(255) binary default NULL |
1196 | 1198 | ) /*$wgDBTableOptions*/; |
1197 | 1199 | |
1198 | 1200 | CREATE INDEX /*i*/rd_ns_title ON /*_*/redirect (rd_namespace,rd_title,rd_from); |