r48928 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r48927
|
r48928
|
r48929
>
Date:
18:41, 27 March 2009
Author:
catrope
Status:
ok
Tags:
Comment:
CodeReview: Make action=codeupdate a write module so it checks wfReadOnly() and $wgEnableWriteAPI
Modified paths:
/trunk/extensions/CodeReview/ApiCodeUpdate.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/extensions/CodeReview/ApiCodeUpdate.php
—
—
@@ -66,6 +66,10 @@
67
67
// Discourage casual browsing :)
68
68
return true;
69
69
}
70
+
71
+ public function isWriteMode() {
72
+ return true;
73
+ }
70
74
71
75
public function getAllowedParams() {
72
76
return array(
Status & tagging log
13:03, 26 May 2009
Tim Starling
(
talk
|
contribs
)
changed the
status
of r48928
[
removed:
new
added:
ok]
02:17, 24 May 2009
Skizzerz
(
talk
|
contribs
)
changed the
status
of r48928
[
removed:
new
added:
ok]