Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -760,9 +760,9 @@ |
761 | 761 | * Used to parse any braces in select lists when populating form |
762 | 762 | */ |
763 | 763 | function parsePart( $part ) { |
764 | | - global $wgUser, $wgParser; |
| 764 | + global $wgTitle, $wgUser, $wgParser; |
765 | 765 | $options = ParserOptions::newFromUser( $wgUser ); |
766 | | - $html = $wgParser->parse( $part[0], $this->title, $options, true, true )->getText(); |
| 766 | + $html = $wgParser->parse( $part[0], $wgTitle, $options, true, true )->getText(); |
767 | 767 | return preg_match( "|(<option.+</option>)|is", $html, $m ) ? $m[1] : ''; |
768 | 768 | } |
769 | 769 | |
Index: trunk/extensions/RecordAdmin/RecordAdmin.php |
— | — | @@ -11,7 +11,7 @@ |
12 | 12 | * @licence GNU General Public Licence 2.0 or later |
13 | 13 | */ |
14 | 14 | |
15 | | -define( 'RECORDADMIN_VERSION', '0.12.0, 2010-06-06' ); |
| 15 | +define( 'RECORDADMIN_VERSION', '0.12.1, 2010-06-17' ); |
16 | 16 | |
17 | 17 | $wgRecordAdminUseNamespaces = false; # Whether record articles should be in a namespace of the same name as their type |
18 | 18 | $wgRecordAdminCategory = 'Records'; # Category containing record types |