Index: trunk/phase3/maintenance/updaters.inc |
— | — | @@ -139,6 +139,16 @@ |
140 | 140 | dbsource( "maintenance/archives/patch-rc_ip.sql", $wgDatabase ); |
141 | 141 | echo "ok\n"; |
142 | 142 | } |
| 143 | + if ( !$wgDatabase->fieldExists( "recentchanges", "rc_id" ) ) { |
| 144 | + echo "Adding rc_id..."; |
| 145 | + dbsource( "maintenance/archives/patch-rc_id.sql", $wgDatabase ); |
| 146 | + echo "ok\n"; |
| 147 | + } |
| 148 | + if ( !$wgDatabase->fieldExists( "recentchanges", "rc_patrolled" ) ) { |
| 149 | + echo "Adding rc_patrolled..."; |
| 150 | + dbsource( "maintenance/archives/patch-rc-patrol.sql", $wgDatabase ); |
| 151 | + echo "ok\n"; |
| 152 | + } |
143 | 153 | } |
144 | 154 | |
145 | 155 | function do_user_real_name_update() { |