diff options
author | Roan Kattouw <roan.kattouw@gmail.com> | 2024-03-25 16:49:58 -0700 |
---|---|---|
committer | Catrope <roan@wikimedia.org> | 2024-03-26 00:02:21 +0000 |
commit | f46fba34eb8ec206eee001e1a3745b438a6f1542 (patch) | |
tree | bcce1ce18e70e129cfb616e3b3280f7ee99529b3 /includes/htmlform/fields/HTMLRadioField.php | |
parent | 9ca1deae471d6a634971a337b0467567ff2116e9 (diff) | |
download | mediawikicore-f46fba34eb8ec206eee001e1a3745b438a6f1542.tar.gz mediawikicore-f46fba34eb8ec206eee001e1a3745b438a6f1542.zip |
HTMLForm: Make raw InfoFields work in Codex
HTMLInfoField overrides getDiv(), getTableRow() and getOOUI() to output
the raw value if 'rawrow' is set. Override getCodex() too, so that
'rawrow' also works correctly in CodexHTMLForm.
This caused a bug where going to
Special:UserLogin?warning=mobile-frontend-watchlist-purpose would show a
message box that was incorrectly wrapped in a cdx-field div. That seems
to have been harmless, but it's incorrect behavior and could cause
styling bugs in the future.
Change-Id: I1fd4e2e53f9e03561fe300b6924e44cf222db3c9
Diffstat (limited to 'includes/htmlform/fields/HTMLRadioField.php')
0 files changed, 0 insertions, 0 deletions