r43513 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r43512‎ | r43513 | r43514 >
Date:01:00, 15 November 2008
Author:werdna
Status:ok
Tags:
Comment:
Spelling in variable name - ingnore to ignore.
Modified paths:
  • /trunk/extensions/Configure/findSettings.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Configure/findSettings.php
@@ -57,7 +57,7 @@
5858 $coreSettings = ConfigurationSettings::singleton( CONF_SETTINGS_CORE );
5959 if( isset( $options['ext'] ) ){
6060 $exts = ConfigurationSettings::singleton( CONF_SETTINGS_EXT )->getAllExtensionsObjects();
61 - $ingnoreList = array(
 61+ $ignoreList = array(
6262 # Core
6363 'wgTitle', 'wgArticle', 'wgContLang', 'wgLang', 'wgOut', 'wgParser', 'wgMessageCache',
6464 # Extensions
@@ -80,7 +80,7 @@
8181 $obsolete = array_diff( $allSettings, $definedSettings );
8282 $missing = array();
8383 foreach( $remain as $setting ){
84 - if( !$coreSettings->isSettingAvailable( $setting ) && !in_array( $setting, $ingnoreList ) )
 84+ if( !$coreSettings->isSettingAvailable( $setting ) && !in_array( $setting, $ignoreList ) )
8585 $missing[] = $setting;
8686 }
8787 if( count( $missing ) == 0 && count( $obsolete ) == 0 ) {

Status & tagging log