r44954 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44953‎ | r44954 | r44955 >
Date:16:55, 23 December 2008
Author:yaron
Status:deferred
Tags:
Comment:
Added 'year' to suggested input types for Date fields
Modified paths:
  • /trunk/extensions/SemanticForms/includes/SF_FormClasses.inc (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticForms/includes/SF_FormClasses.inc
@@ -325,7 +325,7 @@
326326 } elseif ($semantic_field_type == $bool_type) {
327327 return array('checkbox');
328328 } elseif ($semantic_field_type == $date_type) {
329 - return array('date', 'datetime', 'datetime with timezone');
 329+ return array('date', 'datetime', 'datetime with timezone', 'year');
330330 } elseif ($semantic_field_type == $enum_type) {
331331 if ($is_list) {
332332 return array('checkboxes', 'listbox');

Status & tagging log