https://bugzilla.wikimedia.org/show_bug.cgi?id=43236
Web browser: ---
Bug ID: 43236
Summary: Citation references are zero-indexed rather than
one-indexed in target names
Product: Parsoid
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: JS/General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Mobile Platform: ---
In the current Parsoid integration (through the PHP parser) of the Citation
extensions, its references are zero-indexed rather than one-indexed in target
names - this means that the generated HTML from Parsoid looks (roughly) like:
<li id="cite_note-Foo-0" data-parsoid="…"><a href="#cite_ref-Foo-0-0"
data-parsoid="…">↑</a>…</li>
... rather than:
<li id="cite_note-Foo-1"><a href="#cite_ref-Foo-1-0">↑</a>…</li>
--
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l