Manual:User properties table
From MediaWiki.org
↑ Manual:Contents | MediaWiki database layout | user_properties table |
Contents
MediaWiki version: | ≥ 1.16 |
The user_properties table stores user preferences. It replaces the old user.user_options blob. Only non-default settings are stored, so changes to the defaults are now reflected for everybody that hasn't saved an alternative preference, not only new accounts.
MediaWiki version: | ≥ 1.16 |
+-------------+------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +-------------+------------------+------+-----+---------+----------------+ | up_user | int(10) unsigned | | UNI | | | | up_property | varbinary(255) | | MUL | | | | up_value | blob | | | | | +-------------+------------------+------+-----+---------+----------------+
Fields[edit | edit source]
up_user[edit | edit source]
Foreign key to the user_id
field of the user table.
up_property[edit | edit source]
The user preference, see Manual:$wgDefaultUserOptions . Examples: gender
, rememberpassword
, watchcreations
up_value[edit | edit source]
The preference value.
![]() |
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 |
---|