HTMLForm

HTMLForm is a class for handling everything related to user interface forms. It was introduced by Werdna in r48740 as a part of his preferences system rewrite. MediaWiki 1.16 and newer include HTMLForm in includes/HTMLForm.php.

Historically MediaWikis from version 1.4.0 to version 1.11 included a different HTMLForm class, written by Hashar and JeLuF. This HTMLForm was removed in r29245 by Simetrical.

Here is a basic tutorial to learn how to use HTMLForm HTMLForm/tutorial.

Parameters
Documenting the parameters for HTMLForm forms so they don't get lost


 * type
 * class
 * size
 * maxlength
 * min
 * max
 * invert
 * options
 * section
 * label-message
 * label
 * id
 * validation-callback