Index: trunk/extensions/AmazonPlus/AmazonPlus.php |
— | — | @@ -47,7 +47,7 @@ |
48 | 48 | 'name' => 'AmazonPlus', |
49 | 49 | 'description' => 'A highly customizable extension to display Amazon information', |
50 | 50 | 'descriptionmsg' => 'amazonplus-desc', |
51 | | - 'version' => '0.3.1', |
| 51 | + 'version' => '0.4.0', |
52 | 52 | 'url' => 'http://www.mediawiki.org/wiki/Extension:AmazonPlus', |
53 | 53 | 'author' => 'Ryan Schmidt', |
54 | 54 | ); |
— | — | @@ -98,6 +98,9 @@ |
99 | 99 | |
100 | 100 | # Parse out template parameters only before getting setting up the class so {{{1}}} and the like work |
101 | 101 | $input = $parser->replaceVariables( $input, false, true ); |
| 102 | + foreach( $args as $key => $arg ) { |
| 103 | + $args[$key] = $parser->replaceVariables( $arg, false, true ); |
| 104 | + } |
102 | 105 | |
103 | 106 | $am = new AmazonPlus( $title, $args, $input ); |
104 | 107 | if ( !$am instanceOf AmazonPlus ) { |