Add 'index', 'fromtitle', and 'byteoffset' fields to ParserOutput::getSections()...
authorRoan Kattouw <catrope@users.mediawiki.org>
Sat, 20 Jun 2009 18:25:30 +0000 (18:25 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Sat, 20 Jun 2009 18:25:30 +0000 (18:25 +0000)
commit5097164dce83b0074eb3e82bd78bd3f0a9691ef1
treec90bbf057f4df87e09c225c02badaf8ff4c60a57
parentd785dd8a8aa80ef4e7026449a69147943f1a46e1
Add 'index', 'fromtitle', and 'byteoffset' fields to ParserOutput::getSections(). This makes these fields available through the API with action=parse&prop=sections . Also, the byte offset will be needed by the new NavigableTOC extension.
RELEASE-NOTES
includes/parser/Parser.php