aboutsummaryrefslogtreecommitdiffstats
path: root/includes/htmlform/fields/HTMLFormFieldWithButton.php
Commit message (Collapse)AuthorAgeFilesLines
* Standardise all our class alias deprecation comments for ease of greppingJames D. Forrester2024-03-191-1/+1
| | | | Change-Id: I7f85d931d3b79da23e87b4e5692b2e14be8fcaa0
* Namespace HTMLForm and friendsJames D. Forrester2024-02-141-2/+8
| | | | | Bug: T353458 Change-Id: I09e66c3223018ec47e0549ee7f6a590b676f4eef
* Reorg: Move HTML-related classes out of includes/ to Html/Amir Sarabadani2023-02-161-0/+3
| | | | | Bug: T321882 Change-Id: I5dc1f7e9c303cd3f5b9dd7010d6bb470d8400a18
* HTMLFormField: Fix Phan suppression about mClassWithButtonBartosz Dziewoński2022-06-171-0/+2
| | | | Change-Id: Ie20fa54de1fcc69913b3881d2efe9192be5b90cc
* Fix broken PHPDoc comments that don't start with /**Thiemo Kreuz2020-07-231-1/+2
| | | | Change-Id: I8db56ff0f73873864dde260e51adcd729aa74e94
* HTML Classes stability annotationsNikki Nikkhoui2020-07-131-0/+5
| | | | | | | Add stability annotations for HTML classes. Bug: T247862 Change-Id: I4dad7b98213ceceb8c04b24e5d52e6fecadb3538
* doxygen: Changed Doxygen tags causing warnings during documentation generationHolger Knust2020-04-141-6/+6
| | | | | | | | | | | Updated Doxygen markup in several .php files triggering warnings when mwdocgen.php is executed. Removed obsolete settings MSCGEN_PATH and TCL_SUBST from Doxyfile. The former would generate a warning in 1.8.16 while TCL support was removed in 1.8.18. Since TCL_SUBST was blank anyway, it was removed prior to getting to .18 in production. Increased DOT_GRAPH_MAX_NODES from 50 to 200 since Doxygen complained about it being too low for API and Maintenance. Bug: T248706 Change-Id: I9c67f0807d1b43089d351263d4f591dee5501f36
* Adjust type hints in htmlform related classesUmherirrender2019-07-051-1/+1
| | | | | | | | | The return type of HTMLFormField::loadDataFromRequest to mixed Some sub classes returning arrays or bools, not everytime strings HTMLCheckField is working with arrays, so also allow array on getTableRow Change-Id: I076feea76d8e296f27c8a9fb4cbd9368584ba187
* HTMLFormFieldWithButton: Don't pass empty string as 'id'Bartosz Dziewoński2019-04-301-1/+1
| | | | | | | | | The button must have an ID to be able to be infused. If the given ID is null, that's fine, OOUI will generate one. But passing an empty string apparently disables that. Bug: T222013 Change-Id: I96e1f838385c5539ed246d2ee7107cd037a5f338
* HTMLFormFieldWithButton: Allow passing 'inputtype' and pass through 'buttonid'Ed Sanders2019-04-111-0/+1
| | | | Change-Id: Ib1c94ac66caf6243631aa9d2b9f7fd2e6ca7a367
* Fix PHPDoc type for instance variables and methodsAlangi Derick2018-10-211-2/+2
| | | | | | | Should be "string" not "String" and "array" not "Array" in @param, @return and @var use cases. Also, minor typo fixes. Change-Id: I9d5ebc5b741c6560907b95f7c0c4039da2861f4a
* Use \u{00A0} instead of   or  Fomafix2018-06-241-1/+1
| | | | | | | | | | | | | Directly use the UTF-8 encoding of the 'NO-BREAK SPACE' (U+00A0) instead of the HTML/XML entities   or   or  . With the UTF-8 character the generated HTML is shorter and better to read. Also change the special value for the label in HTMLForm from   to U+00A0 but also support   for backward compability. Bug: T154300 Change-Id: I882599ac1120789bb4e524c4394870680caca4f4
* Use short type bool/int in param documentationUmherirrender2017-08-201-1/+1
| | | | | | Enable the phpcs sniffs for this and used phpcbf Change-Id: Iaa36687154ddd2bf663b9dd519f5c99409d37925
* Move HTMLFormField subclasses to a separate directoryBartosz Dziewoński2016-08-011-0/+75
It's getting more difficult to navigate the files in includes/htmlform/ with every new field and every new helper class that is being added. Change-Id: I92ce2356baf6151f17b2440970d5abdf86503820