HomePhabricator

mw.widgets.CategorySelector: Link to category page and display existence status

Description

mw.widgets.CategorySelector: Link to category page and display existence status

This contains a silly amount of code to avoid firing separate requests
for each CategoryCapsuleItemWidget that is created, which really
should be a separate class shared with TitleInputWidget but isn't now.
The real widget code here is quite simple.

Change-Id: I66e603fd45b8d3fd61618f9115cd031f6fa01e9d

Event Timeline

/resources/src/mediawiki.widgets/mw.widgets.CategoryCapsuleItemWidget.js
60

Why are none of the other arguments passed? Reading the documentation I am not able to completely understand what this means.