Jump to content

Manual:watchlist_label_member table

From mediawiki.org
watchlist_label_member table
MediaWiki version:
1.46

The watchlist_label_member table stores the links between users' watchlist items and their labels.

This table was introduced in Gerrit change 1198725.

Fields

[edit]

wlm_label

[edit]

Foreign key to the wll_id field of the watchlist_label table.

wlm_item

[edit]

Foreign key to the wl_id field of the watchlist table.

Schema

[edit]
MediaWiki version:
1.46

DESCRIBE watchlist_label_member;

+-----------+------------------+------+-----+---------+-------+
| Field     | Type             | Null | Key | Default | Extra |
+-----------+------------------+------+-----+---------+-------+
| wlm_label | int(10) unsigned | NO   | PRI | NULL    |       |
| wlm_item  | int(10) unsigned | NO   | PRI | NULL    |       |
+-----------+------------------+------+-----+---------+-------+

Indexes

[edit]
MediaWiki version:
1.46

SHOW INDEX IN watchlist_label_member;

+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| Table                  | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | Ignored |
+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+
| watchlist_label_member |          0 | PRIMARY  |            1 | wlm_label   | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| watchlist_label_member |          0 | PRIMARY  |            2 | wlm_item    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
| watchlist_label_member |          1 | wlm_item |            1 | wlm_item    | A         |           0 |     NULL | NULL   |      | BTREE      |         |               | NO      |
+------------------------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+

Code stewardship

[edit]

See also

[edit]