https://bugzilla.wikimedia.org/show_bug.cgi?id=19417
--- Comment #3 from Roan Kattouw <roan.katt...@gmail.com> 2009-07-06 20:57:17 UTC --- (In reply to comment #2) > Thanks for your answer! > > I heard from this new value, but I was wondering what happens with the unicode > char encodings (which can also have more than 1 byte per char)? Does it count > each char as 1 byte? Yes. Charoffset would have been a better name. > And another thing is; what happens if the page contains > templates whose contain headings by themselves (retrieved by 'query': > action=query&prop=revisions&rvprop=content&rvexpandtemplates)? Are those > headings > took into account too, or how are they handled? > They aren't counted, the offset you get is the offset in the *original* wikitext, which of course doesn't contain these sections, just the template call. Transcluded sections themselves don't have offsets. -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l