[Bug 19417] line number missing by action=parseprop=sections

2009-07-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19417





--- Comment #5 from Roan Kattouw roan.katt...@gmail.com  2009-07-08 22:16:57 
UTC ---
(In reply to comment #4)
 So will there be a byte-/charoffset for action=queryrvexpandtemplates in the
 future? And/or for action=parse? (feature request ;)
 
It's in action=parse already, I said that in comment #1. rvexpandtemplates and
action=expandtemplates don't have them, but they shouldn't have them because
they're not outputting a section tree (or even able to pull one).


-- 
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


[Bug 19417] line number missing by action=parseprop=sections

2009-07-06 Thread bugzilla-daemon
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=queryprop=revisionsrvprop=contentrvexpandtemplates)? 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


[Bug 19417] line number missing by action=parseprop=sections

2009-07-04 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19417





--- Comment #2 from Ursin Solèr dr.tri...@surfeu.ch  2009-07-04 16:46:22 UTC 
---
(In reply to comment #1)
 In the trunk version of action=parse, the byte offset is output, which is just
 as good. This version is not live on Wikipedia yet, however.
 

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? And another thing is; what happens if the page contains 
templates whose contain headings by themselves (retrieved by 'query':
action=queryprop=revisionsrvprop=contentrvexpandtemplates)? Are those
headings
took into account too, or how are they handled?

Greetings


-- 
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


[Bug 19417] line number missing by action=parseprop=sections

2009-06-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=19417


Roan Kattouw roan.katt...@gmail.com changed:

   What|Removed |Added

 CC||roan.katt...@gmail.com
 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Comment #1 from Roan Kattouw roan.katt...@gmail.com  2009-06-30 10:23:05 
UTC ---
In the trunk version of action=parse, the byte offset is output, which is just
as good. This version is not live on Wikipedia yet, however.


-- 
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