Index: branches/REL1_14/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,11 @@ |
2 | 2 | This file lists changes on this extension. |
3 | 3 | Localisation updates are done on betawiki and aren't listed here. |
4 | 4 | |
| 5 | +1.14 branch-1 - 10 January 2009 |
| 6 | + Fixed Special:Extensions: was sometimes throwing an error when saving the |
| 7 | + configuration |
| 8 | + |
| 9 | + |
5 | 10 | 0.11.5 - 31 December 2008 |
6 | 11 | Fixed Special:Extensions: some settings using radio buttons had no radio |
7 | 12 | button pre-selected, resulting in an error when saving settings. |
Index: branches/REL1_14/extensions/Configure/Configure.settings.php |
— | — | @@ -95,10 +95,12 @@ |
96 | 96 | $ret = $this->settings; |
97 | 97 | } |
98 | 98 | if( ( $this->types & CONF_SETTINGS_EXT ) == CONF_SETTINGS_EXT ) { |
99 | | - static $extArr; |
100 | | - if( !isset($extArr) ) { |
| 99 | + static $extArr = null; |
| 100 | + if( is_null( $extArr ) ) { |
101 | 101 | $extArr = array(); |
102 | 102 | foreach( $this->getAllExtensionsObjects() as $ext ) { |
| 103 | + if( !$ext->isInstalled() ) |
| 104 | + continue; |
103 | 105 | $extSettings = $ext->getSettings(); |
104 | 106 | if( $ext->useVariable() ) |
105 | 107 | $extSettings[$ext->getVariable()] = 'bool'; |
— | — | @@ -244,7 +246,7 @@ |
245 | 247 | } |
246 | 248 | if ( ( $this->types & CONF_SETTINGS_EXT ) == CONF_SETTINGS_EXT ) { |
247 | 249 | foreach ( $this->getAllExtensionsObjects() as $ext ) { |
248 | | - $list += $ext->getArrayDefs(); |
| 250 | + $list += $ext->getArrayDefs(); |
249 | 251 | } |
250 | 252 | } |
251 | 253 | return $this->cache['array'] = $list; |
Index: branches/REL1_14/extensions/Configure/Configure.php |
— | — | @@ -17,7 +17,7 @@ |
18 | 18 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure', |
19 | 19 | 'description' => 'Allow authorised users to configure the wiki via a web-based interface', |
20 | 20 | 'descriptionmsg' => 'configure-desc', |
21 | | - 'version' => '0.11.5', |
| 21 | + 'version' => '0.11.5 (1.14 branch-1)', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | # Configuration part |