r113022 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113021‎ | r113022 | r113023 >
Date:12:05, 5 March 2012
Author:hashar
Status:ok
Tags:todo 
Comment:
TODO about 'class' throwing a fatal error
Modified paths:
  • /trunk/phase3/includes/HTMLForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HTMLForm.php
@@ -217,6 +217,10 @@
218218
219219 $descriptor['fieldname'] = $fieldname;
220220
 221+ # TODO
 222+ # This will throw a fatal error whenever someone try to use
 223+ # 'class' to feed a CSS class instead of 'cssclass'. Would be
 224+ # great to avoid the fatal error and show a nice error.
221225 $obj = new $class( $descriptor );
222226
223227 return $obj;

Status & tagging log