Manual:User former groups table
From MediaWiki.org
Language: | English |
---|
↑ Manual:Contents | MediaWiki database layout | user_former_groups table |
MediaWiki version: | ≥ 1.18 |
The user_former_groups table stores the groups the user has once belonged to (will not contain groups the user had belonged to before MW 1.17). The user may again belong to these groups; check the table user_groups, if you want to know. This is used to keep MediaWiki from automatically adding users to groups from which he has been manually removed before. The table was added in r90749.
Fields[edit | edit source]
ufg_user[edit | edit source]
Key to user_id.
ufg_group[edit | edit source]
Name of the group, which the user was member of.
Schema summary[edit | edit source]
MediaWiki version: | 1.21 |
mysql> describe user_former_groups; +-----------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------------+------+-----+---------+-------+ | ufg_user | int(10) unsigned | NO | PRI | 0 | | | ufg_group | varbinary(255) | NO | PRI | | | +-----------+------------------+------+-----+---------+-------+ 2 rows in set (0.00 sec)
MediaWiki version: | 1.19 |
mysql> describe user_former_groups; +-----------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------------+------+-----+---------+-------+ | ufg_user | int(10) unsigned | NO | PRI | 0 | | | ufg_group | varbinary(32) | NO | PRI | | | +-----------+------------------+------+-----+---------+-------+
MediaWiki version: | 1.18 |
mysql> describe user_former_groups; +-----------+------------------+------+-----+---------+-------+ | Field | Type | Null | Key | Default | Extra | +-----------+------------------+------+-----+---------+-------+ | ufg_user | int(10) unsigned | NO | PRI | 0 | | | ufg_group | varbinary(16) | NO | PRI | | | +-----------+------------------+------+-----+---------+-------+ 2 rows in set (0.11 sec)
![]() |
Engines: MySQL – Oracle – PostgreSQL – SQLite Technical documentation: Schema (tables ) – API property associations – Field prefixes – Primary key storage in other fields – Wikimedia extension tables Configuration: Settings – Sharing Development: Access – Optimization – Policy – Updater – Extension schema updates – Patch file Core tables: archive – category – categorylinks – change_tag – config – externallinks – filearchive – hitcounter – image – imagelinks – interwiki – iwlinks – ipblocks – job – l10n_cache – langlinks – logging – log_search – msg_resource – msg_resource_links – module_deps – objectcache – oldimage – page – pagelinks – page_props – page_restrictions – protected_titles – querycache – querycachetwo – querycache_info – recentchanges – redirect – revision – searchindex – sites – site_stats – tag_summary – templatelinks – text – transcache – updatelog – uploadstash – user – user_former_groups – user_groups – user_newtalk – user_properties – valid_tag – watchlist |
---|