mw.widgets.CategoryTagItemWidget(config)

mw.widgets.CategoryTagItemWidget

Constructor

new mw.widgets.CategoryTagItemWidget(config) #

Category selector tag item widget. Extends OO.ui.TagItemWidget with the ability to link to the given page, and to show its existence status (i.e., whether it is a redlink).

Parameters:

Name Type Description
config Object

Configuration options

Properties
Name Type Attributes Description
title mw.Title

Page title to use (required)

apiUrl string <optional>

API URL, if not the current wiki's API

Source:
Category selector tag item widget.

Extends

Properties

pageExistenceCaches :Objectstatic #

Map of API URLs to PageExistenceCache objects.

Type:

  • Object
Source:
Map of API URLs to PageExistenceCache objects.