Skip to content

morebits: deprecate methods added to HTMLFormElement prototype#2340

Draft
siddharthvp wants to merge 1 commit intomasterfrom
htmlform-prototype
Draft

morebits: deprecate methods added to HTMLFormElement prototype#2340
siddharthvp wants to merge 1 commit intomasterfrom
htmlform-prototype

Conversation

@siddharthvp
Copy link
Copy Markdown
Member

@siddharthvp siddharthvp commented Apr 12, 2026

morebits: deprecate and simplify methods added to HTMLFormElement prototype

Add getChecked and getUnchecked methods to Morebits.QuickForm and deprecate them from HTMLFormElement prototype. Update usage in modules accordingly.

Remove functionality which is not used in Twinkle or any enwiki user scripts:

  • Getting checked/unchecked values from select fields and single checkboxes.
  • The type parameter.

Closes #910

…totype

Add `getChecked` and `getUnchecked` methods to `Morebits.QuickForm` and deprecate them from `HTMLFormElement` prototype. Update usage in modules accordingly.

Remove functionality which is not used in Twinkle or any enwiki user scripts:
* Getting checked/unchecked values from select fields and single checkboxes.
* The `type` parameter.

Closes #910
@siddharthvp siddharthvp marked this pull request as draft April 12, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

morebits: get rid of modifications to native prototypes

1 participant