r85790 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85789‎ | r85790 | r85791 >
Date:14:25, 11 April 2011
Author:yaron
Status:deferred
Tags:
Comment:
Commented out unused 'sfgBadIntegerErrorStr' value
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormUtils.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormUtils.php
@@ -29,7 +29,9 @@
3030 $vars['sfgBadURLErrorStr'] = wfMsg( 'sf_bad_url_error' );
3131 $vars['sfgBadEmailErrorStr'] = wfMsg( 'sf_bad_email_error' );
3232 $vars['sfgBadNumberErrorStr'] = wfMsg( 'sf_bad_number_error' );
33 - $vars['sfgBadIntegerErrorStr'] = wfMsg( 'sf_bad_integer_error' );
 33+ // This error message isn't currently used, but it might be
 34+ // in the future, if SMW begins to support integers again.
 35+ //$vars['sfgBadIntegerErrorStr'] = wfMsg( 'sf_bad_integer_error' );
3436 $vars['sfgBadDateErrorStr'] = wfMsg( 'sf_bad_date_error' );
3537 $vars['sfgAnonEditWarning'] = wfMsg( 'sf_autoedit_anoneditwarning' );
3638