Index: trunk/extensions/Configure/Configure.obj.php |
— | — | @@ -215,12 +215,12 @@ |
216 | 216 | ## Hack for Wikimedia |
217 | 217 | static $initialiseSettingsDone = false; |
218 | 218 | |
219 | | - // This is a damn dirty hack |
220 | 219 | if ( !$initialiseSettingsDone ) { |
221 | 220 | $initialiseSettingsDone = true; |
222 | 221 | global $IP, $wgConf; |
223 | 222 | if( file_exists( "$IP/InitialiseSettings.php" ) ) { |
224 | 223 | require_once "$IP/InitialiseSettings.php"; |
| 224 | + $this->initialise( false ); |
225 | 225 | } |
226 | 226 | } |
227 | 227 | |
Index: trunk/extensions/Configure/SpecialViewConfig.php |
— | — | @@ -56,10 +56,8 @@ |
57 | 57 | |
58 | 58 | if ( isset( $conf[$wiki] ) ) { |
59 | 59 | $this->conf = $conf[$wiki]; |
60 | | - } else if ( !isset( $this->diff ) ) { |
61 | | - $msg = wfMsgNoTrans( 'configure-old-not-available', $version ); |
62 | | - $wgOut->addWikiText( "<div class='errorbox'>$msg</div>" ); |
63 | | - return false; |
| 60 | + } else { |
| 61 | + $this->conf = array(); |
64 | 62 | } |
65 | 63 | } else { |
66 | 64 | $msg = wfMsgNoTrans( 'configure-old-not-available', $version ); |