r39156 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39155‎ | r39156 | r39157 >
Date:17:11, 11 August 2008
Author:skizzerz
Status:old
Tags:
Comment:
* (bug 14766) added compatibility for those using MediaWiki revisions 37299 to 37528, where the hook's parameters were changed from 4 to 3
Modified paths:
  • /trunk/extensions/GroupPermissionsManager/plugins/ExtendedPermissions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GroupPermissionsManager/plugins/ExtendedPermissions.php
@@ -171,7 +171,7 @@
172172 }
173173
174174 //replace right-edit messages with right-edit-new wherever applicable
175 -function efGPManagerReplaceEditMessage(&$key, &$useDB, &$langCode, &$transform) {
 175+function efGPManagerReplaceEditMessage(&$key, &$useDB, &$langCode, $transform) {
176176 if($key == 'right-edit') {
177177 $key = 'right-edit-new';
178178 return false; //so it doesn't change load times TOO much

Status & tagging log