r108865 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r108864‎ | r108865 | r108866 >
Date:22:19, 13 January 2012
Author:mrbluesky
Status:ok
Tags:
Comment:
Fixing comments

Using shell style comments here stops Doxygen from processing the rest of the comments.
See http://svn.wikimedia.org/doc/classHTMLForm.html
Modified paths:
  • /trunk/phase3/includes/HTMLForm.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/HTMLForm.php
@@ -55,7 +55,7 @@
5656 */
5757 class HTMLForm extends ContextSource {
5858
59 - # A mapping of 'type' inputs onto standard HTMLFormField subclasses
 59+ // A mapping of 'type' inputs onto standard HTMLFormField subclasses
6060 static $typeMappings = array(
6161 'text' => 'HTMLTextField',
6262 'textarea' => 'HTMLTextAreaField',
@@ -73,9 +73,9 @@
7474 'hidden' => 'HTMLHiddenField',
7575 'edittools' => 'HTMLEditTools',
7676
77 - # HTMLTextField will output the correct type="" attribute automagically.
78 - # There are about four zillion other HTML5 input types, like url, but
79 - # we don't use those at the moment, so no point in adding all of them.
 77+ // HTMLTextField will output the correct type="" attribute automagically.
 78+ // There are about four zillion other HTML5 input types, like url, but
 79+ // we don't use those at the moment, so no point in adding all of them.
8080 'email' => 'HTMLTextField',
8181 'password' => 'HTMLTextField',
8282 );

Status & tagging log