Index: trunk/extensions/CreateBox/CreateBox.php |
— | — | @@ -96,9 +96,9 @@ |
97 | 97 | function acMakeBox( $input, $argv, $parser ) { |
98 | 98 | global $wgRequest, $wgScript; |
99 | 99 | if( $wgRequest->getVal( 'action' ) == 'create' ) { |
100 | | - $prefix = $wgRequest->getVal( 'prefix' ); |
101 | | - $preload = $wgRequest->getVal( 'preload' ); |
102 | | - $editintro = $wgRequest->getVal( 'editintro' ); |
| 100 | + $prefix = acGetOption( $input, 'prefix' ); |
| 101 | + $preload = acGetOption( $input, 'preload' ); |
| 102 | + $editintro = acGetOption( $input, 'editintro' ); |
103 | 103 | $text = $parser->getTitle()->getPrefixedText(); |
104 | 104 | if( $prefix && strpos( $text, $prefix ) === 0 ) { |
105 | 105 | $text = substr( $text, strlen( $prefix ) ); |