r32521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32520‎ | r32521 | r32522 >
Date:21:05, 27 March 2008
Author:catrope
Status:old
Tags:
Comment:
API: Don't use a nonexistent message name
Modified paths:
  • /trunk/phase3/includes/api/ApiParse.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiParse.php
@@ -51,7 +51,7 @@
5252 if(!is_null($page)) {
5353 $titleObj = Title::newFromText($page);
5454 if(!$titleObj)
55 - $this->dieUsageMsg(array('missingtitle', $page));
 55+ $this->dieUsage("The page you specified doesn't exist", 'missingtitle')
5656
5757 // Try the parser cache first
5858 $articleObj = new Article($titleObj);

Status & tagging log