ext/Cite~Cite()

Native Parsoid implementation of the Cite extension that ties together <ref> and <references>.

Show:

Constructor

new Cite()

...

Methods

_html2wtPreProcessor()

html -> wt DOM PreProcessor

This is to reconstitute page-level information from local annotations left behind by editing clients.

html -> wt DOM PreProcessor

This is to reconstitute page-level information from local annotations left behind by editing clients.

Editing clients add inserted: true or deleted: true properties to a 's data-mw object. These are no-ops for non-named s. For named s,

  • for inserted refs, we might want to de-duplicate refs.
  • for deleted refs, if the primary ref was deleted, we have to transfer the primary ref designation to another instance of the named ref.
Source: