mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-12-04 03:18:19 +00:00
288feddbc6
* <ref> content ends up in references section. The original <ref> site only has a backlink to that references section. * Given this, when the references tag itself comes from a template, this throws off the linter attribution code. It assigns the references template's DSR to the lints from the <ref> tags. * A clean way of dealing with this would be to treat extension content as its own independent document (which we are already doing currently in our wt2html code path) and asking the extension to process its content while giving it the handler for linting an individual node. * This patch implements special handlers for <ref> and <references> content in the Cite extension and registers them. * Move cite-specific lint handling code to the Cite extension. * New mocha tests spec this behavior. Change-Id: Ib57f0303605a73408333e133f8051be0b8d45d69 |
||
---|---|---|
.. | ||
ext/Cite |