Interface: ApiProtectedTitle
Defined in: core/query/protectedtitles.ts:17
One protected title. ptprop controls which fields appear.
Properties
comment?
optionalcomment?:string
Defined in: core/query/protectedtitles.ts:40
Raw protection reason. ptprop=comment.
expiry?
optionalexpiry?:string
Defined in: core/query/protectedtitles.ts:46
When the protection lapses, or infinity. ptprop=expiry.
level?
optionallevel?:ProtectedTitleLevel
Defined in: core/query/protectedtitles.ts:25
Restriction level applied, e.g. sysop. ptprop=level.
ns
ns:
number
Defined in: core/query/protectedtitles.ts:19
Namespace index.
parsedcomment?
optionalparsedcomment?:string
Defined in: core/query/protectedtitles.ts:43
HTML-rendered protection reason. ptprop=parsedcomment.
timestamp?
optionaltimestamp?:string
Defined in: core/query/protectedtitles.ts:28
When the protection was applied. ptprop=timestamp.
title
title:
string
Defined in: core/query/protectedtitles.ts:22
The protected (non-existent) title.
user?
optionaluser?:string
Defined in: core/query/protectedtitles.ts:31
Name of the protecting user. ptprop=user.
userid?
optionaluserid?:number
Defined in: core/query/protectedtitles.ts:37
Id of the protecting user. ptprop=userid; also emitted with
ptprop=user (B/C).