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 @@
2929 return 'read';
3030 }
3131
 32+ public function requiresWrite() {
 33+ return false;
 34+ }
 35+
 36+ public function requiresUnblock() {
 37+ return false;
 38+ }
 39+
3240 function onView() {
3341 global $wgGroupPermissions, $wgSquidMaxage, $wgForcedRawSMaxage, $wgJsMimeType;
3442

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r100333* Changed action=raw to use an Action subclass...ialex08:10, 20 October 2011

Status & tagging log