https://bugzilla.wikimedia.org/show_bug.cgi?id=32753

--- Comment #4 from [email protected] 2011-12-02 14:34:24 UTC ---
(In reply to comment #3)
> Since this second one comes from within a template, the current parser can't
> really assign it a byte position within the article text. I'm not too familiar
> with how this output is generated so will have to take a peek to say more.
> Ideally it at least shouldn't mess up the later sections, but I'm not sure how
> a "byteoffset" helps if you don't have a "bytelength"... possibly this is just
> a bad data structure that's not really suitable for how sections are handled.
> :(

Why is it actually called byteoffset when it is a character offset and not a
byte offset? I propose renaming it to charoffset, maybe. I understand that the
parser has no notion of sections in templates, I don't really care. But what I
care about is the byteoffsets. Or actually where a section starts (and then
implicitly where it ends), so that I can take them apart.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to