Index: trunk/phase3/maintenance/convertLinks.php |
— | — | @@ -36,8 +36,6 @@ |
37 | 37 | } |
38 | 38 | |
39 | 39 | public function execute() { |
40 | | - global $wgDBtype; |
41 | | - |
42 | 40 | $dbw = wfGetDB( DB_MASTER ); |
43 | 41 | |
44 | 42 | $type = $dbw->getType(); |
— | — | @@ -124,8 +122,9 @@ |
125 | 123 | $dbw->bufferResults( true ); |
126 | 124 | $this->output( "Finished loading IDs.\n\n" ); |
127 | 125 | $this->performanceLog( "Took " . ( $this->getMicroTime() - $baseTime ) . " seconds to load IDs.\n\n" ); |
128 | | - # -------------------------------------------------------------------- |
129 | 126 | |
| 127 | + # -------------------------------------------------------------------- |
| 128 | + |
130 | 129 | # Now, step through the links table (in chunks of $linksConvInsertInterval rows), |
131 | 130 | # convert, and write to the new table. |
132 | 131 | $this->createTempTable(); |