Abstract
Super constructor for AttributionNotice subclasses.
The ParsoidTransclusionTemplateNode of this notice.
Protected
_rowsAll the rows of this template.
Readonly
idA unique ID for this template. Derived from the template name and its Parsoid about
.
Readonly
nameA unique name for this template. Derived from the Parsoid about
for its node.
Readonly
nodeThe template transclusion node that serves as a reference to an element on the Parsoid DOM.
The HTMLElement of the node
This template's i
variable, used to identify this template in
the template's parts
(data-mw
).
The ParsoidDocument handling this notice (specifically its node).
Provides low-level access to a template's data-mw
entry. When possible,
use functions from .node
instead, as these are much more stable.
The callback for data-modifying operations.
Adds a row to this template.
The row to add.
Deletes a row to this template.
The row to delete.
Abstract
destroyAbstract
generateGenerates an OOUI PageLayout for this notice. Used by the main dialog to generate pages. Do not cache - the dialog is responsible for caching.
Copies in the rows of another SplitArticleTemplate, and optionally deletes that template or clears its contents.
The template to copy from.
Options for this merge.
Optional
clear?: booleanWhether the reference template's rows will be cleared after merging.
Optional
delete?: booleanWhether the reference template will be deleted after merging.
Abstract
parseAbstract
save
This is a sub-abstract class of AttributionNotice that represents any attribution notice template that can contain multiple entries (or rows).