Index: trunk/extensions/CreateBox/CreateBox.php |
— | — | @@ -46,7 +46,7 @@ |
47 | 47 | $dir = dirname( __FILE__ ) . '/'; |
48 | 48 | $wgExtensionMessagesFiles['CreateBox'] = $dir . 'CreateBox.i18n.php'; |
49 | 49 | |
50 | | -function wfCreateBox( &$parser ) { |
| 50 | +function wfCreateBox( $parser ) { |
51 | 51 | $parser->setHook( 'createbox', 'acMakeBox' ); |
52 | 52 | return true; |
53 | 53 | } |
— | — | @@ -81,7 +81,7 @@ |
82 | 82 | return false; |
83 | 83 | } |
84 | 84 | |
85 | | -function acGetOption( &$input, $name, $value = null ) { |
| 85 | +function acGetOption( $input, $name, $value = null ) { |
86 | 86 | if( preg_match( "/^\s*$name\s*=\s*(.*)/mi", $input, $matches ) ) { |
87 | 87 | if( is_int( $value ) ) |
88 | 88 | return intval( $matches[1] ); |
— | — | @@ -91,7 +91,7 @@ |
92 | 92 | return $value; |
93 | 93 | } |
94 | 94 | |
95 | | -function acMakeBox( $input, $argv, &$parser ) { |
| 95 | +function acMakeBox( $input, $argv, $parser ) { |
96 | 96 | wfLoadExtensionMessages( 'CreateBox' ); |
97 | 97 | global $wgRequest, $wgScript; |
98 | 98 | if( $wgRequest->getVal( 'action' ) == 'create' ) { |