Manual:user_propertiesテーブル

From MediaWiki.org
Jump to navigation Jump to search
This page is a translated version of the page Manual:User properties table and the translation is 60% complete.
Other languages:
English • ‎español • ‎français • ‎polski • ‎中文 • ‎日本語
Manual:コンテンツ MediaWiki のデータベース レイアウト user_properties table


MediaWiki バージョン: 1.16

user_properties テーブルは、利用者の個人設定 を保持します。 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.

フィールド

up_user

Foreign key to the user_id field of the user table.

up_property

利用者の個人設定。Manual:$wgDefaultUserOptions を参照してください。 例: gender, rememberpassword, watchcreations

up_value

The preference value.

スキーマの要約

MediaWiki バージョン: 1.30

DESCRIBE user_properties;

+-------------+------------------+------+-----+---------+-------+
| Field       | Type             | Null | Key | Default | Extra |
+-------------+------------------+------+-----+---------+-------+
| up_user     | int(10) unsigned | NO   | PRI | NULL    |       |
| up_property | varbinary(255)   | NO   | PRI | NULL    |       |
| up_value    | blob             | YES  |     | NULL    |       |
+-------------+------------------+------+-----+---------+-------+
MediaWiki バージョン: 1.18 – 1.29

DESCRIBE user_properties;

+-------------+----------------+------+-----+---------+-------+
| Field       | Type           | Null | Key | Default | Extra |
+-------------+----------------+------+-----+---------+-------+
| up_user     | int(11)        | NO   | PRI | NULL    |       |
| up_property | varbinary(255) | NO   | PRI | NULL    |       |
| up_value    | blob           | YES  |     | NULL    |       |
+-------------+----------------+------+-----+---------+-------+
MediaWiki バージョン: 1.16 – 1.17

DESCRIBE user_properties;

+-------------+---------------+------+-----+---------+----------------+
| Field       | Type          | Null | Key | Default | Extra          |
+-------------+---------------+------+-----+---------+----------------+
| up_user     | int(11)       | NO   | PRI | NULL    |                |
| up_property | varbinary(32) | NO   | PRI | NULL    |                |
| up_value    | blob          | YES  |     | NULL    |                |
+-------------+---------------+------+-----+---------+----------------+