Last modified: 2008-12-03 19:04:02 UTC
Included sections get the prefix "T-" so the parser knows it has only to consider the actually included part of a page (sections within <noinclude>...</noinclude>) are ignored). However, if you pass a section number like T-2 to the api with prop=revisions&rvprop=content&rvsection=T-2 , you'll always get the first section, probably because section numbers are validated as integers by the api.
(In reply to comment #0) > Included sections get the prefix "T-" so the parser knows it has only to > consider the actually included part of a page (sections within > <noinclude>...</noinclude>) are ignored). However, if you pass a section number > like T-2 to the api with prop=revisions&rvprop=content&rvsection=T-2 , you'll > always get the first section, Fixed in r44181. > probably because section numbers are validated as > integers by the api. Exactly. Changing rvsection to a string parameter solved the bug.