HomePhabricator

Unbreak confirmation of no categories being set

Authored by matmarex.

Description

Unbreak confirmation of no categories being set

This functionality was broken soon after being introduced, by T52352
(7e7066c921c83a0b04b2bc9288314175305f4ce8).

Confirmed that the Commons community still supports this (or doesn't
mind, at least):
https://commons.wikimedia.org/wiki/Commons:Village_pump/Proposals#Categories_.22looking_more_required.22_in_UploadWizard

Also:

  • Add a way to disable this in UW config, as requested on T51710
  • Update the message 'mwe-upwiz-necessary-confirm' per El Grafo on Commons

Bug: T51710
Change-Id: I1aa848e7a8ad6e71ba15156b514c64c81956bf0d