Page MenuHomePhabricator

Custom field in UploadWizard campaign shows raw HTML
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Start uploading a file to Commons using the UploadWizard "WikiDaheim" campaign (link).
  • In the last step, three custom fields are shown (as defined in the campaign).
  • The last custom field offers a drop-down menu with the options Ja (Yes) and Nein (No).

What happens?:
For both selection options, raw HTML is displayed: <div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p>Ja</p></div> and <div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr"><p>Nein</p></div>.

Screenshot 2025-05-25 204937.png (190×702 px, 15 KB)

What should have happened instead?:
The labels (Ja and Nein), as defined in the campaign, should not be wrapped with any div and no HTML should be displayed.