Interface: ApiVisualEditorPageFrame
Defined in: extensions/visualeditor.ts:104
The page frame both visualeditor and visualeditoredit return.
Properties
cachekey?
optionalcachekey?:string
Defined in: extensions/visualeditor.ts:154
Key into the serialisation cache, from visualeditoredit paction=serializeforcache.
categorieshtml?
optionalcategorieshtml?:string
Defined in: extensions/visualeditor.ts:121
Category bar HTML.
content?
optionalcontent?:string
Defined in: extensions/visualeditor.ts:109
Rendered page body (HTML for parse, wikitext for wikitext).
contentSub?
optionalcontentSub?:string
Defined in: extensions/visualeditor.ts:115
Page subtitle ("Revision as of …") HTML.
diff?
optionaldiff?:string
Defined in: extensions/visualeditor.ts:151
HTML diff, from visualeditoredit paction=diff.
displayTitleHtml?
optionaldisplayTitleHtml?:string
Defined in: extensions/visualeditor.ts:118
Display title HTML.
edit?
optionaledit?:ApiEditResult
Defined in: extensions/visualeditor.ts:160
The underlying action=edit result, on the save failure branch (result: "error").
isRedirect?
optionalisRedirect?:string
Defined in: extensions/visualeditor.ts:136
Empty string for a normal page — this is the legacy empty-string flag pattern rather than a boolean.
jsconfigvars?
optionaljsconfigvars?:Record<string,unknown>
Defined in: extensions/visualeditor.ts:130
ResourceLoader config variables (e.g. wgEchoSeenTime).
lastModified?
optionallastModified?:ApiLastModified
Defined in: extensions/visualeditor.ts:139
When the page last changed, in display parts.
modules?
optionalmodules?:string[]
Defined in: extensions/visualeditor.ts:127
ResourceLoader modules the response needs.
newrevid?
optionalnewrevid?:number
Defined in: extensions/visualeditor.ts:142
New revision id, from visualeditoredit paction=save.
nocontent?
optionalnocontent?:true
Defined in: extensions/visualeditor.ts:157
true when the save asked to skip the re-render (nocontent parameter), so no content follows.
preloaded?
optionalpreloaded?:boolean
Defined in: extensions/visualeditor.ts:112
Whether content came from a preload rather than the page.
result?
optionalresult?:"error"|"success"
Defined in: extensions/visualeditor.ts:106
Outcome of the request; error on the save-failure branch.
sections?
optionalsections?:unknown[]
Defined in: extensions/visualeditor.ts:124
Section index of the edited/loaded page.
tempusercreated?
optionaltempusercreated?:true
Defined in: extensions/visualeditor.ts:163
true when a temporary account was created by this edit.
tempusercreatedredirect?
optionaltempusercreatedredirect?:string
Defined in: extensions/visualeditor.ts:166
Redirect URL for a just-created temporary account, when one applies.
watched?
optionalwatched?:boolean
Defined in: extensions/visualeditor.ts:145
Whether the editor watches the page now.
watchlistexpiry?
optionalwatchlistexpiry?:WatchlistExpiry
Defined in: extensions/visualeditor.ts:148
When that watch expires; null when permanent.