dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6912ef6
)
API: Don't use a nonexistent message name
author
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 27 Mar 2008 21:05:18 +0000
(21:05 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Thu, 27 Mar 2008 21:05:18 +0000
(21:05 +0000)
includes/api/ApiParse.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiParse.php
b/includes/api/ApiParse.php
index
fd24ca3
..
df01fad
100644
(file)
--- a/
includes/api/ApiParse.php
+++ b/
includes/api/ApiParse.php
@@
-51,7
+51,7
@@
class ApiParse extends ApiBase {
if(!is_null($page)) {
$titleObj = Title::newFromText($page);
if(!$titleObj)
- $this->dieUsage
Msg(array('missingtitle', $page));
+ $this->dieUsage
("The page you specified doesn't exist", 'missingtitle')
// Try the parser cache first
$articleObj = new Article($titleObj);