Index: trunk/phase3/includes/api/ApiPageSet.php |
— | — | @@ -580,7 +580,7 @@ |
581 | 581 | |
582 | 582 | $titleObj = is_string($title) ? Title :: newFromText($title) : $title; |
583 | 583 | if (!$titleObj) |
584 | | - $this->dieUsage("bad title $titleString", 'invalidtitle'); |
| 584 | + $this->dieUsage("bad title", 'invalidtitle'); |
585 | 585 | |
586 | 586 | $iw = $titleObj->getInterwiki(); |
587 | 587 | if (!empty($iw)) { |
— | — | @@ -590,7 +590,7 @@ |
591 | 591 | |
592 | 592 | // Validation |
593 | 593 | if ($titleObj->getNamespace() < 0) |
594 | | - $this->dieUsage("No support for special page $titleString has been implemented", 'unsupportednamespace'); |
| 594 | + $this->dieUsage("No support for special pages has been implemented", 'unsupportednamespace'); |
595 | 595 | |
596 | 596 | $linkBatch->addObj($titleObj); |
597 | 597 | } |