Manual:watchlist_label table
Appearance
| MediaWiki version: | ≥ 1.46 |
The watchlist_label table stores users' watchlist labels. They are connected to the watchlist via the watchlist_label_member table.
This table was introduced in Gerrit change 1198725.
Fields
[edit]wll_id
[edit]Unique ID for the label.
wll_user
[edit]The user_id of the label's owner.
wll_name
[edit]The user-visible name of the label. Other than length and leading and trailing whitespace, there are no restrictions on its contents.
Schema
[edit]| MediaWiki version: | ≥ 1.46 |
DESCRIBE watchlist_label;
+----------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +----------+------------------+------+-----+---------+----------------+ | wll_id | int(10) unsigned | NO | PRI | NULL | auto_increment | | wll_user | int(10) unsigned | NO | MUL | NULL | | | wll_name | varbinary(255) | NO | | NULL | | +----------+------------------+------+-----+---------+----------------+
Indexes
[edit]| MediaWiki version: | ≥ 1.46 |
SHOW INDEX IN watchlist_label;
+-----------------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Ignored | +-----------------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+ | watchlist_label | 0 | PRIMARY | 1 | wll_id | A | 0 | NULL | NULL | | BTREE | | | NO | | watchlist_label | 0 | wll_user_name | 1 | wll_user | A | 0 | NULL | NULL | | BTREE | | | NO | | watchlist_label | 0 | wll_user_name | 2 | wll_name | A | 0 | NULL | NULL | | BTREE | | | NO | +-----------------+------------+---------------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
Code stewardship
[edit]- Maintained by Moderator Tools.
- Live chat (IRC): #mediawiki-core connect
- Issue tracker: Phabricator MediaWiki-Watchlist (Report an issue)