Index: trunk/phase3/maintenance/update.php |
— | — | @@ -110,7 +110,7 @@ |
111 | 111 | |
112 | 112 | $shared = $this->hasOption( 'doshared' ); |
113 | 113 | |
114 | | - $updates = array('core','extensions'); |
| 114 | + $updates = array( 'core', 'extensions', 'stats' ); |
115 | 115 | if( !$this->hasOption('nopurge') ) { |
116 | 116 | $updates[] = 'purge'; |
117 | 117 | } |
Index: trunk/phase3/includes/installer/DatabaseUpdater.php |
— | — | @@ -189,7 +189,7 @@ |
190 | 190 | * |
191 | 191 | * @param $what Array: what updates to perform |
192 | 192 | */ |
193 | | - public function doUpdates( $what = array( 'core', 'extensions', 'purge' ) ) { |
| 193 | + public function doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) ) { |
194 | 194 | global $wgVersion; |
195 | 195 | |
196 | 196 | $what = array_flip( $what ); |
— | — | @@ -206,7 +206,7 @@ |
207 | 207 | if( isset( $what['purge'] ) ) { |
208 | 208 | $this->purgeCache(); |
209 | 209 | } |
210 | | - if ( isset( $what['core'] ) ) { |
| 210 | + if ( isset( $what['stats'] ) ) { |
211 | 211 | $this->checkStats(); |
212 | 212 | } |
213 | 213 | } |
Index: trunk/phase3/includes/installer/OracleUpdater.php |
— | — | @@ -157,7 +157,7 @@ |
158 | 158 | * |
159 | 159 | * @param $what array |
160 | 160 | */ |
161 | | - public function doUpdates( $what = array( 'core', 'extensions', 'purge' ) ) { |
| 161 | + public function doUpdates( $what = array( 'core', 'extensions', 'purge', 'stats' ) ) { |
162 | 162 | parent::doUpdates( $what ); |
163 | 163 | |
164 | 164 | $this->db->query( 'BEGIN fill_wiki_info; END;' ); |