-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Jim Hu wrote:
In making my extensions, there are places where I need user inputs. I've just been coding these as HTML and outputting them via wgOut-
addHTML(). But I see that there is a class called HTMLform.php,
and I was wondering if that is intended to be a general use class for forms, the way CGI.pm is used in Perl. It looks like only SpecialUserrights.php uses it now; SpecialSearch does not.
Are the devs planning to use HTMLform.php for other page types in the future and extend its usefulness? Or is it a dead end I should ignore? Thanks!
It's deprecated; mostly we use the element-generation functions on the Xml class (or in some older code, their wf*() equivalents).
- -- brion vibber (brion @ wikimedia.org)