r77610 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r77609‎ | r77610 | r77611 >
Date:21:58, 2 December 2010
Author:reedy
Status:deferred
Tags:
Comment:
Remove reference from function definitions
Modified paths:
  • /trunk/extensions/CreateBox/CreateBox.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CreateBox/CreateBox.php
@@ -46,7 +46,7 @@
4747 $dir = dirname( __FILE__ ) . '/';
4848 $wgExtensionMessagesFiles['CreateBox'] = $dir . 'CreateBox.i18n.php';
4949
50 -function wfCreateBox( &$parser ) {
 50+function wfCreateBox( $parser ) {
5151 $parser->setHook( 'createbox', 'acMakeBox' );
5252 return true;
5353 }
@@ -81,7 +81,7 @@
8282 return false;
8383 }
8484
85 -function acGetOption( &$input, $name, $value = null ) {
 85+function acGetOption( $input, $name, $value = null ) {
8686 if( preg_match( "/^\s*$name\s*=\s*(.*)/mi", $input, $matches ) ) {
8787 if( is_int( $value ) )
8888 return intval( $matches[1] );
@@ -91,7 +91,7 @@
9292 return $value;
9393 }
9494
95 -function acMakeBox( $input, $argv, &$parser ) {
 95+function acMakeBox( $input, $argv, $parser ) {
9696 wfLoadExtensionMessages( 'CreateBox' );
9797 global $wgRequest, $wgScript;
9898 if( $wgRequest->getVal( 'action' ) == 'create' ) {

Status & tagging log