Page MenuHomePhabricator

`id="mw-htmlform-opt-out"` occuring twice in DOM
Closed, ResolvedPublic


Current DOM output of OOUIified Special:Preferences features id="mw-htmlform-opt-out" twice in resulting DOM.
It's actually not a feature, it's a bug.

  1. #mw-prefsection-rc-opt-out > .oo-ui-fieldsetLayout-group > div > div
  2. #mw-prefsection-watchlist-opt-out > .oo-ui-fieldsetLayout-group > div > div

Event Timeline

Volker_E triaged this task as Medium priority.Jul 5 2018, 4:23 PM
Volker_E created this task.

The ID is also used twice in the non-OOUI form.

Change 444038 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] Avoid duplicate IDs on Special:Preferences

Change 444038 merged by jenkins-bot:
[mediawiki/core@master] Avoid duplicate IDs on Special:Preferences