Index: trunk/extensions/Configure/findSettings.php |
— | — | @@ -61,11 +61,20 @@ |
62 | 62 | # Core |
63 | 63 | 'wgTitle', 'wgArticle', 'wgContLang', 'wgLang', 'wgOut', 'wgParser', 'wgMessageCache', |
64 | 64 | # Extensions |
| 65 | + 'wgAbuseFilterStyleVersion', |
| 66 | + 'wgCategoryTreeUseCategoryTable', 'wgCategoryTreeVersion', |
| 67 | + 'wgCheckUserStyleVersion', |
65 | 68 | 'wgCaptcha', 'wgConfirmEditIP', |
66 | 69 | 'wgCitationCache', 'wgCitationCounter', 'wgCitationRunning', |
| 70 | + 'wgCodeReviewStyleVersion', |
67 | 71 | 'wgCSS', |
| 72 | + 'wgDeleteQueueStyleVersion', |
68 | 73 | 'wgErrorHandlerErrors', 'wgErrorHandlerOutputDone', |
| 74 | + 'wgFlaggedRevStyleVersion', |
| 75 | + 'wgOggScriptVersion', |
69 | 76 | 'wgExtParserFunctions', |
| 77 | + 'wgUserBoardScripts', 'wgUserProfileDirectory', 'wgUserProfileScripts', 'wgUserRelationshipScripts', |
| 78 | + 'wgTimelineSettings', |
70 | 79 | 'wgTitleBlacklist', |
71 | 80 | ); |
72 | 81 | foreach ( $exts as $ext ) { |
— | — | @@ -73,7 +82,7 @@ |
74 | 83 | $file = file_get_contents( $ext->getFile() ); |
75 | 84 | $name = $ext->getName(); |
76 | 85 | $m = array(); |
77 | | - preg_match_all( '/\$(wg[A-Za-z0-9]+)\s*\=/', $file, $m ); |
| 86 | + preg_match_all( '/\$([ew]g[A-Za-z0-9]+)\s*\=/', $file, $m ); |
78 | 87 | $definedSettings = array_unique( $m[1] ); |
79 | 88 | $allSettings = array_keys( $ext->getSettings() ); |
80 | 89 | |