HTMLForm supports three kinds of built-in buttons at the bottom of the form: submit, reset and cancel. However, the reset button is disabled by default, and while SpecialPreferences needlessly calls suppressReset() to remove it, no code I could find does the opposite, so it seems to be completely unused, probably since e5a74e5ff74b7ab1642035290e55359e45d8361a (in September 2009) changed the default for mShowReset from true to false.
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
In Progress | bmartinezcalvo | T355148 [EPIC] Multiblocks | |||
Resolved | Volker_E | T361032 HTMLForm: Remove unused reset button |
Event Timeline
I've shared my minor concern about if a reset button might be a useful usability feature in certain contexts of MediaWiki consumers outside. But I'll go ahead with the removal of the functionality.
Change #1019667 had a related patch set uploaded (by VolkerE; author: VolkerE):
[mediawiki/extensions/GlobalPreferences@master] htmlform: Remove call to `suppressReset()`
Change #1019668 had a related patch set uploaded (by VolkerE; author: VolkerE):
[mediawiki/extensions/EditUser@master] htmlform: Remove call to `suppressReset()`
Change #1019669 had a related patch set uploaded (by VolkerE; author: VolkerE):
[mediawiki/core@master] htmlform: Remove the reset button
Change #1019667 merged by jenkins-bot:
[mediawiki/extensions/GlobalPreferences@master] htmlform: Remove call to `suppressReset()`
Change #1019668 merged by jenkins-bot:
[mediawiki/extensions/EditUser@master] htmlform: Remove call to `suppressReset()`
Change #1019669 merged by jenkins-bot:
[mediawiki/core@master] htmlform: Remove the reset button