mediawiki-extensions-Visual.../modules/ve-mw/ce/nodes
Marc Ordinas i Llopis 7a33613d23 Use Parsoid's new Cite HTML and CSS
Starting with I21fbbd3247bf7801e5ef9bd5312f95777f4dd6ef, Parsoid
will emit a new HTML for its Cite extension, which enables CSS
styling. In I487095df8a7c4241a14f7b4480360f6774130bec the new
module 'ext.cite.style' is added to the Cite extension to style
this new HTML format.

This patch
* Loads the ext.cite.style module if the Cite extension is
  present.
* Uses the new HTML format for the internal structure of
  reference and reference list nodes, so they are correctly
  styled.

Backwards compatibility: Only new HTML is used internally in VE,
so as long as ext.cite.style can be loaded the new styles will be
used. It does not depend on which format Parsoid returns, so this
patch only depends on the Cite extension patch, not on the Parsoid
one.

Note: The only way I've found of adding a ext.cite.style dependency
only if Cite is present is to register the whole
ext.visualEditor.mwreference module in the
onResourceLoaderRegisterModules hook. Maybe someone can point to
a better way?

Bug: T86782
Change-Id: Ibf333a502d64d2ed6e029221458b7c606554e414
2015-07-06 14:23:18 -07:00
..
ve.ce.MWAlienExtensionNode.js Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00
ve.ce.MWBlockImageNode.js Representation of red-linked images in VE 2015-05-16 17:15:51 +01:00
ve.ce.MWEntityNode.js ve.ce.MWEntityNode: Show whitespace characters, like in ve.ce.TextNode 2015-04-21 16:25:08 +02:00
ve.ce.MWExtensionNode.js Omit extension attributes with an undefined value 2015-06-08 16:03:47 +01:00
ve.ce.MWGalleryNode.js Remove useless ve-ce-mw*Node classes from GCN subclasses 2015-03-09 12:05:30 +01:00
ve.ce.MWHeadingNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWImageCaptionNode.js Stop using this.$ 2015-04-14 02:54:01 +01:00
ve.ce.MWImageNode.js Use mw.Api to run requests rather than our own stuff in ve.init.mw.Target 2015-02-25 01:57:22 +00:00
ve.ce.MWInlineImageNode.js Representation for the red-linked inline images in VE 2015-05-25 15:18:15 +01:00
ve.ce.MWNumberedExternalLinkNode.js Remove ancient bad copy-paste documentation 2015-04-21 16:05:44 +02:00
ve.ce.MWPreformattedNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWReferenceNode.js Use Parsoid's new Cite HTML and CSS 2015-07-06 14:23:18 -07:00
ve.ce.MWReferencesListNode.js Use Parsoid's new Cite HTML and CSS 2015-07-06 14:23:18 -07:00
ve.ce.MWTableNode.js build: Bump copyright notices to 2015 2015-01-12 20:34:19 -08:00
ve.ce.MWTransclusionNode.js Stop using deprecated aliases for OO.ui.mixin.* 2015-06-10 20:25:04 +00:00