Index: trunk/phase3/includes/api/ApiQueryBase.php |
— | — | @@ -326,7 +326,7 @@ |
327 | 327 | public function titleToKey($title) { |
328 | 328 | $t = Title::newFromText($title); |
329 | 329 | if(!$t) |
330 | | - $this->dieUsageMsg('invalidtitle', $title); |
| 330 | + $this->dieUsageMsg(array('invalidtitle', $title)); |
331 | 331 | return $t->getDbKey(); |
332 | 332 | } |
333 | 333 | |
— | — | @@ -339,7 +339,7 @@ |
340 | 340 | $t = Title::newFromDbKey($key); |
341 | 341 | # This really shouldn't happen but we gotta check anyway |
342 | 342 | if(!$t) |
343 | | - $this->dieUsageMsg('invalidtitle', $key); |
| 343 | + $this->dieUsageMsg(array('invalidtitle', $key)); |
344 | 344 | return $t->getPrefixedText(); |
345 | 345 | } |
346 | 346 | |