r53936 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r53935‎ | r53936 | r53937 >
Date:14:12, 29 July 2009
Author:yaron
Status:deferred
Tags:
Comment:
Made first letter case-insensitive for autocompletion sources
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormInputs.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormInputs.inc
@@ -287,7 +287,7 @@
288288 $disabled_text = ($is_disabled) ? "disabled" : "";
289289 if (array_key_exists('autocomplete field type', $other_args)) {
290290 $autocomplete_field_type = $other_args['autocomplete field type'];
291 - $autocompletion_source = $other_args['autocompletion source'];
 291+ $autocompletion_source = ucfirst($other_args['autocompletion source']);
292292 }
293293 $input_id = "input_" . $sfgFieldNum;
294294 $info_id = "info_" . $sfgFieldNum;

Status & tagging log