Manual:actor table

Other languages:
English • ‎français • ‎中文 • ‎日本語
Manual:Contents MediaWiki database layout actor table
MediaWiki version:

The actor table is where MediaWiki stores information about actors, factored out from the revision, archive, image, oldimage, filearchive, recentchanges, logging tables in T167246.



The primary key, used to uniquely identify an actor.


A key to user.user_id of the user who made the action, or NULL for logged-out (IP) edits and for some mass imports.


The text of the username or the IP address of the actor.

In anonymous revisions imported from UseModWiki or early incarnations of the Phase II software, this field may contain an IP address with the final octet obscured (i.e. \d{1,3}\.\d{1,3}\.\d{1,3}\.xxx such as; see bug 3631). Some edits imported from UseModWiki may contain a Reverse DNS lookup hostname like or

Schema summaryEdit

MediaWiki version:

Gerrit change 380669


| Field      | Type                | Null | Key | Default | Extra          |
| actor_id   | bigint(20) unsigned | NO   | PRI | NULL    | auto_increment |
| actor_user | int(10) unsigned    | YES  | UNI | NULL    |                |
| actor_name | varbinary(255)      | NO   | UNI | NULL    |                |

See alsoEdit