Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,10 @@ |
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 | +0.11.12 - 21 January 2009 |
| 6 | + Fixed a bug on Special:Extensions, default settings values are now correctly |
| 7 | + displayed. |
| 8 | + |
5 | 9 | 0.11.11 - 19 January 2009 |
6 | 10 | Added support for StalePages extension. |
7 | 11 | |
Index: trunk/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.11', |
| 21 | + 'version' => '0.11.12', |
22 | 22 | ); |
23 | 23 | |
24 | 24 | # Configuration part |
Index: trunk/extensions/Configure/SpecialExtensions.php |
— | — | @@ -105,14 +105,14 @@ |
106 | 106 | $globalDone = true; |
107 | 107 | } |
108 | 108 | require_once( $ext->getFile() ); |
109 | | - if ( isset( $GLOBALS[$setting] ) ) |
110 | | - $this->conf[$setting] = $GLOBALS[$setting]; |
| 109 | + if ( isset( $$setting ) ) |
| 110 | + $this->conf[$setting] = $$setting; |
111 | 111 | } |
112 | 112 | } |
113 | 113 | $ext->setPageObj( $this ); |
114 | 114 | $ret .= $ext->getHtml(); |
115 | 115 | } |
116 | | - if ( isset( $oldHooks ) ) |
| 116 | + if ( $globalDone ) |
117 | 117 | $GLOBALS['wgHooks'] = $oldHooks; |
118 | 118 | return $ret; |
119 | 119 | } |