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:
6e2d0cd
)
Changing error code to prevent confusion with wfReadOnly() == true
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 2 Dec 2007 14:44:35 +0000
(14:44 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sun, 2 Dec 2007 14:44:35 +0000
(14:44 +0000)
includes/api/ApiMain.php
patch
|
blob
|
history
diff --git
a/includes/api/ApiMain.php
b/includes/api/ApiMain.php
index
1243e3f
..
f0c8f55
100644
(file)
--- a/
includes/api/ApiMain.php
+++ b/
includes/api/ApiMain.php
@@
-160,7
+160,7
@@
class ApiMain extends ApiBase {
public function requestWriteMode() {
if (!$this->mEnableWrite)
$this->dieUsage('Editing of this site is disabled. Make sure the $wgEnableWriteAPI=true; ' .
- 'statement is included in the site\'s LocalSettings.php file', '
readonly
');
+ 'statement is included in the site\'s LocalSettings.php file', '
noapiwrite
');
}
/**