Index: trunk/phase3/maintenance/namespaceDupes.php |
— | — | @@ -211,7 +211,7 @@ |
212 | 212 | $titleSql AS title |
213 | 213 | FROM {$table} |
214 | 214 | WHERE {$page}_namespace=0 |
215 | | - AND {$page}_title " . $this->db->buildLike( $name . ':', $this-db->anyString() ); |
| 215 | + AND {$page}_title " . $this->db->buildLike( $name . ':', $this->db->anyString() ); |
216 | 216 | |
217 | 217 | $result = $this->db->query( $sql, __METHOD__ ); |
218 | 218 | |
Index: trunk/phase3/includes/api/ApiQueryAllpages.php |
— | — | @@ -65,7 +65,7 @@ |
66 | 66 | $from = (is_null($params['from']) ? null : $this->titlePartToKey($params['from'])); |
67 | 67 | $this->addWhereRange('page_title', $dir, $from, null); |
68 | 68 | if (isset ($params['prefix'])) |
69 | | - $this->addWhere('page_title' . $db->buildLike($this->titlePartToKey($params['prefix']), $db->->anyString())); |
| 69 | + $this->addWhere('page_title' . $db->buildLike($this->titlePartToKey($params['prefix']), $db->anyString())); |
70 | 70 | |
71 | 71 | if (is_null($resultPageSet)) { |
72 | 72 | $selectFields = array ( |
— | — | @@ -270,4 +270,4 @@ |
271 | 271 | public function getVersion() { |
272 | 272 | return __CLASS__ . ': $Id$'; |
273 | 273 | } |
274 | | -} |
\ No newline at end of file |
| 274 | +} |