Index: trunk/extensions/Configure/findSettings.php |
— | — | @@ -131,8 +131,18 @@ |
132 | 132 | $m = array(); |
133 | 133 | preg_match_all( '/\[\[[Mm]anual:\$(wg[A-Za-z0-9]+)\|/', $cont, $m ); |
134 | 134 | $allSettings = array_unique( $m[1] ); |
| 135 | + $ignoreList = array( |
| 136 | + 'wgEnableNewpagesUserFilter', 'wgOldChangeTagsIndex', 'wgVectorExtraStyles' |
| 137 | + ); |
135 | 138 | } else { |
136 | 139 | $allSettings = array_keys( $coreSettings->getAllSettings() ); |
| 140 | + $ignoreList = array( |
| 141 | + 'wgAuth', 'wgCommandLineMode', 'wgCheckSerialized', 'wgConf','wgDBconnection', |
| 142 | + 'wgEnableNewpagesUserFilter', 'wgEnableSerializedMessages', 'wgEnforceHtmlIds', |
| 143 | + 'wgLegacySchemaConversion', 'wgMaintenanceScripts', 'wgMemCachedDebug', |
| 144 | + 'wgOldChangeTagsIndex', 'wgProxyKey', 'wgValidSkinNames', 'wgVectorExtraStyles', |
| 145 | + 'wgVersion' |
| 146 | + ); |
137 | 147 | } |
138 | 148 | |
139 | 149 | // Now we'll need to open DefaultSettings.php |
— | — | @@ -150,7 +160,7 @@ |
151 | 161 | } |
152 | 162 | |
153 | 163 | // let's show the results: |
154 | | - printArray( 'missing', $missing ); |
| 164 | + printArray( 'missing', array_diff( $missing, $ignoreList ) ); |
155 | 165 | printArray( 'obsolete', $obsolete ); |
156 | 166 | |
157 | 167 | if ( count( $missing ) == 0 && count( $obsolete ) == 0 ) |
Index: trunk/extensions/Configure/CHANGELOG |
— | — | @@ -1,6 +1,9 @@ |
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.14.16 - 25 December 2009 |
| 6 | + findSettings.php now ignores some MediaWiki settings. |
| 7 | + |
5 | 8 | 0.14.15 - 26 November 2009 |
6 | 9 | Removed ScriptLoader usage (removed from MediaWiki). |
7 | 10 | |
Index: trunk/extensions/Configure/Configure.php |
— | — | @@ -18,7 +18,7 @@ |
19 | 19 | 'url' => 'http://www.mediawiki.org/wiki/Extension:Configure', |
20 | 20 | 'description' => 'Allow authorised users to configure the wiki via a web-based interface', |
21 | 21 | 'descriptionmsg' => 'configure-desc', |
22 | | - 'version' => '0.14.15', |
| 22 | + 'version' => '0.14.16', |
23 | 23 | ); |
24 | 24 | |
25 | 25 | # Configuration part |