r100336 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r100335
|
r100336
|
r100337
>
Date:
10:29, 20 October 2011
Author:
ialex
Status:
ok
Tags:
Comment:
Fix for
r100333
: forgot to override requiresWrite() and requiresUnblock()
Modified paths:
/trunk/phase3/includes/actions/RawAction.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/actions/RawAction.php
—
—
@@ -28,6 +28,14 @@
29
29
return 'read';
30
30
}
31
31
32
+ public function requiresWrite() {
33
+ return false;
34
+ }
35
+
36
+ public function requiresUnblock() {
37
+ return false;
38
+ }
39
+
32
40
function onView() {
33
41
global $wgGroupPermissions, $wgSquidMaxage, $wgForcedRawSMaxage, $wgJsMimeType;
34
42
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r100333
* Changed action=raw to use an Action subclass...
ialex
08:10, 20 October 2011
Status & tagging log
18:25, 27 October 2011
Aaron Schulz
(
talk
|
contribs
)
changed the
status
of r100336
[
removed:
new
added:
ok]