Empty categories are not proposed in VisualEditor
Open, LowPublic


In VisualEditor, when you want to add a category through the dialog box, you are proposed existing categories only if they contain members (at least 1 member), and if you anyway write an existing empty category it is displayed as a non-existing category (its link is red in the dialog box). Note that the link color is always correct at the bottom of the page in editing mode.

Although there are some habits on some wikis to delete empty categories, it can be quite misleading and uncanny for some users, who expect to see as "existing" a category with an existing page, even if not currently used. A use case for such a scenario is conventionally-created categories (e.g. "Events in January 20XX"): before it gets used, it is only created, but it would be convenient to see it proposed.

Tested with MediaWiki 1.29 and master/1.30-alpha with corresponding VisualEditor (REL1_29 ef45039 and master ec3677e).

Seb35 created this task.Jul 10 2017, 2:32 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 10 2017, 2:32 PM
Deskana triaged this task as Low priority.Jul 11 2017, 7:21 PM
Deskana moved this task from To Triage to Freezer on the VisualEditor board.Jul 11 2017, 7:29 PM
matmarex reopened this task as Open.Jun 21 2018, 11:17 PM
matmarex added a subscriber: matmarex.

Actually, this is a different issue. T139191 is about editing the description pages of categories. This is about adding categories to pages.