Manual:Protected titles table

The protected_titles table contains protection of non-existent pages. Restrictions on existing pages are stored in the page_restrictions table.

The list of protected pages can be found at Special:Protectedtitles.

pt_namespace
Namespace

pt_title
Page title

pt_user
User id of user who protected the page title

pt_reason
Protection comment

pt_timestamp
Timestamp of when the protection action was taken

pt_expiry
Timestamp of when the protection expires

pt_create_perm
Protection level

Schema summary
DESCRIBE protected_titles; ++-+--+-+-+---+ ++-+--+-+-+---+ ++-+--+-+-+---+
 * Field         | Type                | Null | Key | Default | Extra |
 * pt_namespace  | int(11)             | NO   | PRI | NULL    |       |
 * pt_title      | varchar(255) binary | NO   | PRI | NULL    |       |
 * pt_user       | int(10) unsigned    | NO   |     | NULL    |       |
 * pt_reason     | varbinary(767)      | YES  |     | NULL    |       |
 * pt_timestamp  | binary(14)          | NO   | MUL | NULL    |       |
 * pt_expiry     | varbinary(14)       | NO   |     | NULL    |       |
 * pt_create_perm | varbinary(60)      | NO   |     | NULL    |       |

DESCRIBE protected_titles; ++-+--+-+-+---+ ++-+--+-+-+---+ ++-+--+-+-+---+
 * Field         | Type                | Null | Key | Default | Extra |
 * pt_namespace  | int(11)             | NO   | PRI | NULL    |       |
 * pt_title      | varchar(255) binary | NO   | PRI | NULL    |       |
 * pt_user       | int(10) unsigned    | NO   |     | NULL    |       |
 * pt_reason     | tinyblob            | YES  |     | NULL    |       |
 * pt_timestamp  | binary(14)          | NO   | MUL | NULL    |       |
 * pt_expiry     | varbinary(14)       | NO   |     | NULL    |       |
 * pt_create_perm | varbinary(60)      | NO   |     | NULL    |       |

DESCRIBE protected_titles; ++--+--+-+-+---+ ++--+--+-+-+---+ ++--+--+-+-+---+
 * Field         | Type             | Null | Key | Default | Extra |
 * pt_namespace  | int(11)          | NO   | PRI | NULL    |       |
 * pt_title      | varchar(255)     | NO   | PRI | NULL    |       |
 * pt_user       | int(10) unsigned | NO   |     | NULL    |       |
 * pt_reason     | tinyblob         | YES  |     | NULL    |       |
 * pt_timestamp  | binary(14)       | NO   | MUL | NULL    |       |
 * pt_expiry     | varbinary(14)    | NO   |     | NULL    |       |
 * pt_create_perm | varbinary(60)   | NO   |     | NULL    |       |