Index: trunk/phase3/config/Installer.php |
— | — | @@ -277,9 +277,6 @@ |
278 | 278 | <p>Afterwards retry to start the <a href=\"\">setup</a>.</p>" ); |
279 | 279 | } |
280 | 280 | |
281 | | - |
282 | | -require_once( "$IP/maintenance/updaters.inc" ); |
283 | | - |
284 | 281 | class ConfigData { |
285 | 282 | function getEncoded( $data ) { |
286 | 283 | # removing latin1 support, no need... |
— | — | @@ -1236,7 +1233,14 @@ |
1237 | 1234 | print "</ul><pre>\n"; |
1238 | 1235 | chdir( ".." ); |
1239 | 1236 | flush(); |
1240 | | - do_all_updates(); |
| 1237 | + |
| 1238 | + define( 'MW_NO_SETUP', true ); |
| 1239 | + $updater = DatabaseUpdater::newForDb( $wgDatabase, false ); |
| 1240 | + $updater->doUpdates(); |
| 1241 | + foreach( $updater->getPostDatabaseUpdateMaintenance() as $maint ) { |
| 1242 | + call_user_func_array( array( new $maint, 'execute' ), array() ); |
| 1243 | + } |
| 1244 | + |
1241 | 1245 | chdir( "config" ); |
1242 | 1246 | print "</pre>\n"; |
1243 | 1247 | print "<ul><li>Finished update checks.</li>\n"; |
Index: trunk/phase3/config/new-index.php |
— | — | @@ -9,7 +9,6 @@ |
10 | 10 | |
11 | 11 | chdir( ".." ); |
12 | 12 | require( './includes/WebStart.php' ); |
13 | | -require_once( './maintenance/updaters.inc' ); // sigh... |
14 | 13 | |
15 | 14 | $installer = new WebInstaller( $wgRequest ); |
16 | 15 | |