r76092 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r76091‎ | r76092 | r76093 >
Date:13:43, 5 November 2010
Author:yaron
Status:deferred
Tags:
Comment:
Changed $skin param in changeEditLink() from a reference to a value - the old way broke for PHP 5.3.1
Modified paths:
  • /trunk/extensions/ApprovedRevs/ApprovedRevs.hooks.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ApprovedRevs/ApprovedRevs.hooks.php
@@ -225,7 +225,7 @@
226226 * 'action=edit' URL (i.e., the latest revision), no matter which
227227 * revision they're actually on.
228228 */
229 - static function changeEditLink( &$skin, &$contentActions ) {
 229+ static function changeEditLink( $skin, &$contentActions ) {
230230 global $wgRequest;
231231 if ( $wgRequest->getCheck( 'oldid' ) ) {
232232 return true;

Status & tagging log