Index: trunk/phase3/maintenance/updateSearchIndex.php |
— | — | @@ -75,8 +75,8 @@ |
76 | 76 | $this->output( "Updating searchindex between $start and $end\n" ); |
77 | 77 | |
78 | 78 | # Select entries from recentchanges which are on top and between the specified times |
79 | | - $start = $dbw->strencode( $start ); |
80 | | - $end = $dbw->strencode( $end ); |
| 79 | + $start = $dbw->timestamp( $start ); |
| 80 | + $end = $dbw->timestamp( $end ); |
81 | 81 | |
82 | 82 | $page = $dbw->tableName( 'page' ); |
83 | 83 | $sql = "SELECT rc_cur_id,rc_type,rc_moved_to_ns,rc_moved_to_title FROM $recentchanges |
Index: trunk/phase3/maintenance/updateSpecialPages.php |
— | — | @@ -32,7 +32,7 @@ |
33 | 33 | } |
34 | 34 | |
35 | 35 | public function execute() { |
36 | | - global $wgOut; |
| 36 | + global $wgOut, $wgSpecialPageCacheUpdates, $wgQueryPages;; |
37 | 37 | $wgOut->disable(); |
38 | 38 | $dbw = wfGetDB( DB_MASTER ); |
39 | 39 | |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | # Wait for the slave to catch up |
61 | 61 | wfWaitForSlaves( 5 ); |
62 | 62 | } |
63 | | - |
| 63 | + |
64 | 64 | foreach( $wgQueryPages as $page ) { |
65 | 65 | @list( $class, $special, $limit ) = $page; |
66 | 66 | |