Index: trunk/extensions/RecordAdmin/RecordAdmin_body.php |
— | — | @@ -10,6 +10,7 @@ |
11 | 11 | var $type = ''; |
12 | 12 | var $record = ''; |
13 | 13 | var $types = array(); |
| 14 | + var $values = array(); |
14 | 15 | var $orderBy = ''; |
15 | 16 | var $desc = false; |
16 | 17 | var $guid = ''; |
— | — | @@ -514,7 +515,7 @@ |
515 | 516 | function populateForm( $values ) { |
516 | 517 | |
517 | 518 | # If values are wikitext, convert to hash |
518 | | - if ( !is_array( $values ) ) $values = $this->valuesFromText( $values ); |
| 519 | + if ( !is_array( $values ) ) $values = $this->values = $this->valuesFromText( $values ); |
519 | 520 | |
520 | 521 | # Add the values into the form's HTML depending on their type |
521 | 522 | foreach( $this->types as $k => $type ) { |
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.8.10, 2009-10-19' ); |
| 15 | +define( 'RECORDADMIN_VERSION', '0.8.11, 2009-11-18' ); |
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 |