Page MenuHomePhabricator

Special:Export missing "add" category button when JavaScript is enabled
Closed, ResolvedPublic

Description

Open https://en.wikipedia.org/wiki/Special:Export in any browser with JavaScript enabled. Note that the "Add" button is missing, so you can't add pages from a category. With JavaScript disabled, it works.

Event Timeline

Thanks for reporting this. Confirming. When using https://en.wikipedia.org/wiki/Special:Export?debug=true it is shown for a moment and then disappears.

If I block https://en.wikipedia.org/w/resources/lib/ooui/oojs-ui-wikimediaui.js the problem does not happen.

Jdforrester-WMF renamed this task from Special:Export missing button when JavaScript is enabled to Special:Export missing "add" category button when JavaScript is enabled.Apr 29 2019, 5:32 PM

Change 507228 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/core@master] HTMLFormFieldWithButton: Don't pass empty string as 'id'

https://gerrit.wikimedia.org/r/507228

Change 507228 merged by jenkins-bot:
[mediawiki/core@master] HTMLFormFieldWithButton: Don't pass empty string as 'id'

https://gerrit.wikimedia.org/r/507228

matmarex claimed this task.

The fix will be deployed to Wikimedia wikis this week, 30 April – 2 May, per the usual schedule.