GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing www.mediawiki.org — Manual:user table - MediaWiki The user table is where MediaWiki stores information about users. If using Postgres, this table is named mwuser prior to 1.37. FieldsSome of this information was adapted from user_iduser_id is the primary key, used to uniquely identify a user. user_nameuser_name: Usernames must be unique, and must not be in the form of an IP address. Shouldn't allow slashes or case conflicts. See also Manual:$wgInvalidUsernameCharacters . Spaces are allowed, and underscores are converted to spaces (the opposite than with page names). user_real_name
user_real_name stores the user's real name (optional) as provided by the user in their "Preferences" section.
This field provides a publicly viewable real name to ?action=credits pages.
Turn this feature off with user_passworduser_password is one of three formats, depending on the setting of $wgPasswordDefault :
In wiki farms which use CentralAuth , this field can contain an outdated and unused value (T104500).
The canonical password value is stored in the user_newpassworduser_newpassword is generated for the mail-a-new-password feature. user_newpass_timeuser_newpass_time is set to the current timestamp (wfTimestampNow()) when a new password is set. Like the other timestamps, it is in MediaWiki's timestamp format (yyyymmddhhmmss, e.g. 20130824025644). user_emailEmail should be restricted, not public info. Same with passwords. Enter details at your own risk. ;)
This field is not nullable, so users who have never supplied an email address have an empty string set.
In wiki farms which use CentralAuth , this field can contain an outdated and unused value (T104500).
The canonical email is stored in the user_toucheduser_touched the last time a user logged in (not just mere visiting using an existing session), modified user settings, or got promoted into new user groups. user_token
user_token is a pseudorandomly generated value.
When a user checks user_email_authenticateduser_email_authenticated is the timestamp of when the user email was authenticated. Defaults to NULL. user_email_token
user_email_token is a token used for confirming an email address. See User::newFromConfirmationCode in User.php user_email_token_expiresuser_email_token_expires is the expiration timestamp of the email token. user_registration
user_registration is the timestamp (date and time) of when the user registered. For old users, they may have a value of NULL for this field. The fixUserRegistration.php script can be used to back-populate this field. user_editcount
user_editcount is the rough number of edits and edit-like actions the user has performed. The following actions are counted as edits:
This field is not an exactly accurate copy of A number of things could cause this value to be incorrect. For example, it may be out of date or, for old accounts, NULL if the update script (initEditCount.php ) hasn't been run. Also, some deletions may not affect it consistently. user_password_expires
Date when user's password expires; null for no expiration date. user_is_temp
A boolean value representing whether the user is a temporary user. Zero if any type of user other than a temporary user. This exists to allow temporary users to be identified from the database only, by external applications. See Help:Temporary accounts for more details. Removed fieldsuser_emailauthenticationtimestamp
Removed in v1.4. user_options
(deprecated in 1.16) See Manual:User properties table . On older versions of mediawiki, it is a newline-separated list of name=value pairs of the information of Special:Preferences. Old user accounts who haven't logged in since the field stopped being used may still have this field set. Schema summary
+--------------------------+------------------+------+-----+----------------------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+------------------+------+-----+----------------------------------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | auto_increment | | user_name | varbinary(255) | NO | UNI | | | | user_real_name | varbinary(255) | NO | | | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinyblob | NO | MUL | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(10) unsigned | YES | | NULL | | | user_password_expires | varbinary(14) | YES | | NULL | | | user_is_temp | tinyint(1) | NO | | 0 | | +--------------------------+------------------+------+-----+----------------------------------+----------------+
+--------------------------+------------------+------+-----+----------------------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+------------------+------+-----+----------------------------------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | auto_increment | | user_name | varbinary(255) | NO | UNI | | | | user_real_name | varbinary(255) | NO | | | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinyblob | NO | MUL | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(10) unsigned | YES | | NULL | | | user_password_expires | varbinary(14) | YES | | NULL | | +--------------------------+------------------+------+-----+----------------------------------+----------------+
+--------------------------+------------------+------+-----+----------------------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+------------------+------+-----+----------------------------------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | auto_increment | | user_name | varbinary(255) | NO | UNI | | | | user_real_name | varbinary(255) | NO | | | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinyblob | NO | MUL | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | | user_password_expires | varbinary(14) | YES | | NULL | | +--------------------------+------------------+------+-----+----------------------------------+----------------+
+--------------------------+------------------+------+-----+----------------------------------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+------------------+------+-----+----------------------------------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | auto_increment | | user_name | varbinary(255) | NO | UNI | | | | user_real_name | varbinary(255) | NO | | | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinyblob | NO | MUL | NULL | | | user_touched | binary(14) | NO | | | | | user_token | binary(32) | NO | | | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | | user_password_expires | varbinary(14) | YES | | NULL | | +--------------------------+------------------+------+-----+----------------------------------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinytext | NO | MUL | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | NULL | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinytext | NO | MUL | NULL | | | user_options | blob | NO | | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | NULL | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(10) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | binary(14) | YES | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | binary(14) | NO | | NULL | | | user_token | binary(32) | NO | | NULL | | | user_email_authenticated | binary(14) | YES | | NULL | | | user_email_token | binary(32) | YES | MUL | NULL | | | user_email_token_expires | binary(14) | YES | | NULL | | | user_registration | binary(14) | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_newpass_time | char(14) binary | YES | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | | user_token | char(32) binary | NO | | NULL | | | user_email_authenticated | char(14) binary | YES | | NULL | | | user_email_token | char(32) binary | YES | MUL | NULL | | | user_email_token_expires | char(14) binary | YES | | NULL | | | user_registration | char(14) binary | YES | | NULL | | | user_editcount | int(11) | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | | user_token | char(32) binary | NO | | NULL | | | user_email_authenticated | char(14) binary | YES | | NULL | | | user_email_token | char(32) binary | YES | MUL | NULL | | | user_email_token_expires | char(14) binary | YES | | NULL | | | user_registration | char(14) binary | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+--------------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +--------------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | | user_token | char(32) binary | NO | | NULL | | | user_email_authenticated | char(14) binary | YES | | NULL | | | user_email_token | char(32) binary | YES | MUL | NULL | | | user_email_token_expires | char(14) binary | YES | | NULL | | +--------------------------+---------------------+------+-----+---------+----------------+
+------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | +------------------+---------------------+------+-----+---------+----------------+
+------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_real_name | varchar(255) binary | NO | | NULL | | | user_rights | tinyblob | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | +------------------+---------------------+------+-----+---------+----------------+
+------------------+---------------------+------+-----+---------+----------------+ | Field | Type | Null | Key | Default | Extra | +------------------+---------------------+------+-----+---------+----------------+ | user_id | int(5) unsigned | NO | PRI | NULL | AUTO_INCREMENT | | user_name | varchar(255) binary | NO | MUL | NULL | | | user_rights | tinyblob | NO | | NULL | | | user_password | tinyblob | NO | | NULL | | | user_newpassword | tinyblob | NO | | NULL | | | user_email | tinytext | NO | | NULL | | | user_options | blob | NO | | NULL | | | user_touched | char(14) binary | NO | | NULL | | +------------------+---------------------+------+-----+---------+----------------+ Indexes
+-------+------------+------------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | Table | Non_unique | Key_name | Seq_in_index | Column_name | Collation | Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | +-------+------------+------------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ | user | 0 | PRIMARY | 1 | user_id | A | 0 | NULL | NULL | | BTREE | | | | user | 0 | user_name | 1 | user_name | A | 0 | NULL | NULL | | BTREE | | | | user | 1 | user_email_token | 1 | user_email_token | A | 0 | NULL | NULL | YES | BTREE | | | | user | 1 | user_email | 1 | user_email | A | 0 | 50 | NULL | | BTREE | | | +-------+------------+------------------+--------------+------------------+-----------+-------------+----------+--------+------+------------+---------+---------------+ See also | ||||||||||||||||||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |