Interface: ApiDiscussionToolsEditResponse
Defined in: extensions/discussiontools.ts:286
Response of action=discussiontoolsedit.
Extends
Properties
batchcomplete?
optionalbatchcomplete?:true
Defined in: envelope/index.ts:178
Present and true when all data for the current batch of pages has been
returned. Continuation may still be ongoing: the generator runs again for
the next batch of pages, and list/meta modules may continue independently.
Serialized as a real boolean under formatversion=2.
Inherited from
curtimestamp?
optionalcurtimestamp?:string
Defined in: envelope/index.ts:187
Current server time (ISO 8601), present when the request set curtimestamp.
Inherited from
discussiontoolsedit
discussiontoolsedit:
object
Defined in: extensions/discussiontools.ts:288
Result of action=discussiontoolsedit.
categorieshtml?
optionalcategorieshtml?:string
Category HTML added by the saved comment.
content?
optionalcontent?:string
Rendered HTML of the saved comment area.
contentSub?
optionalcontentSub?:string
Page subtitle (parsed HTML), copied from the underlying action=parse output.
displayTitleHtml?
optionaldisplayTitleHtml?:string
Display title, HTML form.
isRedirect?
optionalisRedirect?:string
Empty string for a normal page. The module copies action=parse's field,
which is a Flag-like empty string under fv2 rather than a boolean.
jsconfigvars?
optionaljsconfigvars?:Record<string,unknown>
ResourceLoader config variables (includes the thread model).
lastModified?
optionallastModified?:ApiLastModified
When the page last changed, in display parts.
modules?
optionalmodules?:string[]
ResourceLoader module names to load.
newrevid?
optionalnewrevid?:number
New revision id; absent when nothing was saved.
nocontent?
optionalnocontent?:true
true when the content above was withheld (the nocontent request
parameter) but had to be fetched internally anyway.
Since
MediaWiki 1.42
result?
optionalresult?:"error"|"success"
Outcome of the delegated action=visualeditoredit call: success when
the comment was saved, error when the save was rejected.
sections?
optionalsections?:unknown[]
Section list after the edit.
tempusercreated?
optionaltempusercreated?:true
true when a temporary account was created by this edit.
tempusercreatedredirect?
optionaltempusercreatedredirect?:string
Redirect URL for a just-created temporary account, when one applies.
watched?
optionalwatched?:boolean
Whether the user now watches the page.
watchlistexpiry?
optionalwatchlistexpiry?:WatchlistExpiry
When that watch expires; null for a permanent watch.
errorlang?
optionalerrorlang?:string
Defined in: envelope/index.ts:199
Language error messages are rendered in (responselanginfo=1).
Inherited from
requestid?
optionalrequestid?:string
Defined in: envelope/index.ts:190
Opaque value echoed back from the request's requestid parameter.
Inherited from
servedby?
optionalservedby?:string
Defined in: envelope/index.ts:184
Identifier of the server that handled the request. Present by default on error responses; on successful responses only when explicitly requested.
Inherited from
uselang?
optionaluselang?:string
Defined in: envelope/index.ts:196
Language of the interface strings in the response (responselanginfo=1).
Inherited from
warnings?
optionalwarnings?:ApiWarnings
Defined in: envelope/index.ts:193
Non-fatal warnings; shape depends on errorformat (see ApiWarnings).