Index: branches/iwtransclusion/phase3/maintenance/updaters.inc |
— | — | @@ -20,182 +20,6 @@ |
21 | 21 | $wgUpdates = array(); |
22 | 22 | |
23 | 23 | |
24 | | -<<<<<<< .courant |
25 | | - // 1.4 |
26 | | - array( 'do_image_name_unique_update' ), |
27 | | - array( 'add_field', 'recentchanges', 'rc_id', 'patch-rc_id.sql' ), |
28 | | - array( 'add_field', 'recentchanges', 'rc_patrolled', 'patch-rc-patrol.sql' ), |
29 | | - array( 'add_table', 'logging', 'patch-logging.sql' ), |
30 | | - // do_user_rights_update obsolete |
31 | | - array( 'add_field', 'user', 'user_token', 'patch-user_token.sql' ), |
32 | | - // old, old_articleid, patch-remove-old-title-namespace.sql obsolete |
33 | | - // user_groups, patch-userlevels.sql obsolete |
34 | | - // do_group_update() obsolete |
35 | | - array( 'do_watchlist_update' ), |
36 | | - array( 'do_user_update' ), |
37 | | - // do_copy_newtalk_to_watchlist obsolete |
38 | | - |
39 | | - // 1.5 |
40 | | - array( 'do_schema_restructuring' ), |
41 | | - array( 'add_field', 'logging', 'log_params', 'patch-log_params.sql' ), |
42 | | - array( 'check_bin', 'logging', 'log_title', 'patch-logging-title.sql', ), |
43 | | - array( 'add_field', 'archive', 'ar_rev_id', 'patch-archive-rev_id.sql' ), |
44 | | - array( 'add_field', 'page', 'page_len', 'patch-page_len.sql' ), |
45 | | - array( 'do_inverse_timestamp' ), |
46 | | - array( 'do_text_id' ), |
47 | | - array( 'add_field', 'revision', 'rev_deleted', 'patch-rev_deleted.sql' ), |
48 | | - array( 'add_field', 'image', 'img_width', 'patch-img_width.sql' ), |
49 | | - array( 'add_field', 'image', 'img_metadata', 'patch-img_metadata.sql' ), |
50 | | - array( 'add_field', 'user', 'user_email_token', 'patch-user_email_token.sql' ), |
51 | | - array( 'add_field', 'archive', 'ar_text_id', 'patch-archive-text_id.sql' ), |
52 | | - array( 'do_namespace_size' ), |
53 | | - array( 'add_field', 'image', 'img_media_type', 'patch-img_media_type.sql' ), |
54 | | - array( 'do_pagelinks_update' ), |
55 | | - array( 'do_drop_img_type' ), |
56 | | - array( 'do_user_unique_update' ), |
57 | | - array( 'do_user_groups_update' ), |
58 | | - array( 'add_field', 'site_stats', 'ss_total_pages', 'patch-ss_total_articles.sql' ), |
59 | | - array( 'add_table', 'user_newtalk', 'patch-usernewtalk2.sql' ), |
60 | | - array( 'add_table', 'transcache', 'patch-transcache.sql' ), |
61 | | - array( 'add_field', 'interwiki', 'iw_trans', 'patch-interwiki-trans.sql' ), |
62 | | - array( 'add_table', 'trackbacks', 'patch-trackbacks.sql' ), |
63 | | - |
64 | | - // 1.6 |
65 | | - array( 'do_watchlist_null' ), |
66 | | - // do_image_index_update obsolete |
67 | | - array( 'do_logging_timestamp_index' ), |
68 | | - array( 'add_field', 'ipblocks', 'ipb_range_start', 'patch-ipb_range_start.sql' ), |
69 | | - array( 'do_page_random_update' ), |
70 | | - array( 'add_field', 'user', 'user_registration', 'patch-user_registration.sql' ), |
71 | | - array( 'do_templatelinks_update' ), |
72 | | - array( 'add_table', 'externallinks', 'patch-externallinks.sql' ), |
73 | | - array( 'add_table', 'job', 'patch-job.sql' ), |
74 | | - array( 'add_field', 'site_stats', 'ss_images', 'patch-ss_images.sql' ), |
75 | | - array( 'add_table', 'langlinks', 'patch-langlinks.sql' ), |
76 | | - array( 'add_table', 'querycache_info', 'patch-querycacheinfo.sql' ), |
77 | | - array( 'add_table', 'filearchive', 'patch-filearchive.sql' ), |
78 | | - array( 'add_field', 'ipblocks', 'ipb_anon_only', 'patch-ipb_anon_only.sql' ), |
79 | | - array( 'do_rc_indices_update' ), |
80 | | - |
81 | | - // 1.9 |
82 | | - array( 'add_field', 'user', 'user_newpass_time', 'patch-user_newpass_time.sql' ), |
83 | | - array( 'add_table', 'redirect', 'patch-redirect.sql' ), |
84 | | - array( 'add_table', 'querycachetwo', 'patch-querycachetwo.sql' ), |
85 | | - array( 'add_field', 'ipblocks', 'ipb_enable_autoblock', 'patch-ipb_optional_autoblock.sql' ), |
86 | | - array( 'do_backlinking_indices_update' ), |
87 | | - array( 'add_field', 'recentchanges', 'rc_old_len', 'patch-rc_len.sql' ), |
88 | | - array( 'add_field', 'user', 'user_editcount', 'patch-user_editcount.sql' ), |
89 | | - |
90 | | - // 1.10 |
91 | | - array( 'do_restrictions_update' ), |
92 | | - array( 'add_field', 'logging', 'log_id', 'patch-log_id.sql' ), |
93 | | - array( 'add_field', 'revision', 'rev_parent_id', 'patch-rev_parent_id.sql' ), |
94 | | - array( 'add_field', 'page_restrictions', 'pr_id', 'patch-page_restrictions_sortkey.sql' ), |
95 | | - array( 'add_field', 'revision', 'rev_len', 'patch-rev_len.sql' ), |
96 | | - array( 'add_field', 'recentchanges', 'rc_deleted', 'patch-rc_deleted.sql' ), |
97 | | - array( 'add_field', 'logging', 'log_deleted', 'patch-log_deleted.sql' ), |
98 | | - array( 'add_field', 'archive', 'ar_deleted', 'patch-ar_deleted.sql' ), |
99 | | - array( 'add_field', 'ipblocks', 'ipb_deleted', 'patch-ipb_deleted.sql' ), |
100 | | - array( 'add_field', 'filearchive', 'fa_deleted', 'patch-fa_deleted.sql' ), |
101 | | - array( 'add_field', 'archive', 'ar_len', 'patch-ar_len.sql' ), |
102 | | - |
103 | | - // 1.11 |
104 | | - array( 'add_field', 'ipblocks', 'ipb_block_email', 'patch-ipb_emailban.sql' ), |
105 | | - array( 'do_categorylinks_indices_update' ), |
106 | | - array( 'add_field', 'oldimage', 'oi_metadata', 'patch-oi_metadata.sql' ), |
107 | | - array( 'do_archive_user_index' ), |
108 | | - array( 'do_image_user_index' ), |
109 | | - array( 'do_oldimage_user_index' ), |
110 | | - array( 'add_field', 'archive', 'ar_page_id', 'patch-archive-page_id.sql' ), |
111 | | - array( 'add_field', 'image', 'img_sha1', 'patch-img_sha1.sql' ), |
112 | | - |
113 | | - // 1.12 |
114 | | - array( 'add_table', 'protected_titles', 'patch-protected_titles.sql' ), |
115 | | - |
116 | | - // 1.13 |
117 | | - array( 'add_field', 'ipblocks', 'ipb_by_text', 'patch-ipb_by_text.sql' ), |
118 | | - array( 'add_table', 'page_props', 'patch-page_props.sql' ), |
119 | | - array( 'add_table', 'updatelog', 'patch-updatelog.sql' ), |
120 | | - array( 'add_table', 'category', 'patch-category.sql' ), |
121 | | - array( 'do_category_population' ), |
122 | | - array( 'add_field', 'archive', 'ar_parent_id', 'patch-ar_parent_id.sql' ), |
123 | | - array( 'add_field', 'user_newtalk', 'user_last_timestamp', 'patch-user_last_timestamp.sql' ), |
124 | | - array( 'do_populate_parent_id' ), |
125 | | - array( 'check_bin', 'protected_titles', 'pt_title', 'patch-pt_title-encoding.sql', ), |
126 | | - array( 'maybe_do_profiling_memory_update' ), |
127 | | - array( 'do_filearchive_indices_update' ), |
128 | | - |
129 | | - // 1.14 |
130 | | - array( 'add_field', 'site_stats', 'ss_active_users', 'patch-ss_active_users.sql' ), |
131 | | - array( 'do_active_users_init' ), |
132 | | - array( 'add_field', 'ipblocks', 'ipb_allow_usertalk', 'patch-ipb_allow_usertalk.sql' ), |
133 | | - |
134 | | - // 1.15 |
135 | | - array( 'do_unique_pl_tl_il' ), |
136 | | - array( 'add_table', 'change_tag', 'patch-change_tag.sql' ), |
137 | | - array( 'add_table', 'tag_summary', 'patch-change_tag.sql' ), |
138 | | - array( 'add_table', 'valid_tag', 'patch-change_tag.sql' ), |
139 | | - |
140 | | - // 1.16 |
141 | | - array( 'add_table', 'user_properties', 'patch-user_properties.sql' ), |
142 | | - array( 'add_table', 'log_search', 'patch-log_search.sql' ), |
143 | | - array( 'do_log_search_population' ), |
144 | | - array( 'add_field', 'logging', 'log_user_text', 'patch-log_user_text.sql' ), |
145 | | - array( 'add_table', 'l10n_cache', 'patch-l10n_cache.sql' ), |
146 | | - array( 'add_table', 'external_user', 'patch-external_user.sql' ), |
147 | | - array( 'add_index', 'log_search', 'ls_field_val', 'patch-log_search-rename-index.sql' ), |
148 | | - array( 'add_index', 'change_tag', 'change_tag_rc_tag', 'patch-change_tag-indexes.sql' ), |
149 | | - array( 'add_field', 'redirect', 'rd_interwiki', 'patch-rd_interwiki.sql' ), |
150 | | - array( 'do_update_transcache_field' ), |
151 | | - // A field changed name mid-release cycle, so fix it for anyone using |
152 | | - // trunk |
153 | | - array( 'rename_eu_wiki_id' ), |
154 | | - array( 'do_update_mime_minor_field' ), |
155 | | - // Should've done this back in 1.10, but better late than never: |
156 | | - array( 'do_populate_rev_len' ), |
157 | | - |
158 | | - // 1.17 |
159 | | - array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ), |
160 | | - array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ), |
161 | | - array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ), |
162 | | - ), |
163 | | - |
164 | | - 'sqlite' => array( |
165 | | - // 1.14 |
166 | | - array( 'add_field', 'site_stats', 'ss_active_users', 'patch-ss_active_users.sql' ), |
167 | | - array( 'do_active_users_init' ), |
168 | | - array( 'add_field', 'ipblocks', 'ipb_allow_usertalk', 'patch-ipb_allow_usertalk.sql' ), |
169 | | - array( 'sqlite_initial_indexes' ), |
170 | | - |
171 | | - // 1.15 |
172 | | - array( 'add_table', 'change_tag', 'patch-change_tag.sql' ), |
173 | | - array( 'add_table', 'tag_summary', 'patch-change_tag.sql' ), |
174 | | - array( 'add_table', 'valid_tag', 'patch-change_tag.sql' ), |
175 | | - |
176 | | - // 1.16 |
177 | | - array( 'add_table', 'user_properties', 'patch-user_properties.sql' ), |
178 | | - array( 'add_table', 'log_search', 'patch-log_search.sql' ), |
179 | | - array( 'do_log_search_population' ), |
180 | | - array( 'add_field', 'logging', 'log_user_text', 'patch-log_user_text.sql' ), |
181 | | - array( 'add_table', 'l10n_cache', 'patch-l10n_cache.sql' ), |
182 | | - array( 'add_table', 'external_user', 'patch-external_user.sql' ), |
183 | | - array( 'add_index', 'log_search', 'ls_field_val', 'patch-log_search-rename-index.sql' ), |
184 | | - array( 'add_index', 'change_tag', 'change_tag_rc_tag', 'patch-change_tag-indexes.sql' ), |
185 | | - array( 'add_field', 'redirect', 'rd_interwiki', 'patch-rd_interwiki.sql' ), |
186 | | - array( 'do_update_transcache_field' ), |
187 | | - // version-independent searchindex setup, added in 1.16 |
188 | | - array( 'sqlite_setup_searchindex' ), |
189 | | - |
190 | | - // 1.17 |
191 | | - array( 'add_table', 'iwlinks', 'patch-iwlinks.sql' ), |
192 | | - array( 'add_index', 'iwlinks', 'iwl_prefix_from_title', 'patch-rename-iwl_prefix.sql' ), |
193 | | - array( 'add_field', 'interwiki', 'iw_api', 'patch-iw_api_and_wikiid.sql' ), |
194 | | - ), |
195 | | -); |
196 | | - |
197 | | - |
198 | | -======= |
199 | | ->>>>>>> .fusion-droit.r69828 |
200 | 24 | # For extensions only, should be populated via hooks |
201 | 25 | # $wgDBtype should be checked to specifiy the proper file |
202 | 26 | $wgExtNewTables = array(); // table, dir |