mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-24 06:54:00 +00:00
85ad4513ba
There are multiple formats for these IDs: cite_ref-1, cite_ref-2, and so on for anonymous <ref>s without a name. cite_ref-name_1-0 for named references, where "name" is the custom name, and "_1" is the sequential number for the reference (same number as above). The final "-0" is counting the usages. If a named <ref> is only used once, there is no cite_ref-name_1-1 anywhere on the page. The later was already checked by the code. But we forgot about unnamed references! As a consequence IDs like the cite_ref-1 above got misdetected as reused references. This patch tries hard to extract code into named functions, so it becomes much more clear what they do, and why. Bug: T215317 Change-Id: Iedb5b0c3dffae19bad7df9a43ed2d4512b3921ec |
||
---|---|---|
.. | ||
ve-cite | ||
ext.cite.a11y.css | ||
ext.cite.a11y.js | ||
ext.cite.highlighting.css | ||
ext.cite.highlighting.js | ||
ext.cite.print.css | ||
ext.cite.style.css | ||
ext.cite.style.fa.css | ||
ext.cite.styles.css | ||
ext.cite.styles.minerva.less |