Last modified: 2012-04-16 09:15:55 UTC
When requesting contents of section 0, the result is an error rvnosuchsection when the page is empty. It should rather return an empty section. Example : Section 0 => error: http://fr.wikipedia.org/w/api.php?intoken=edit&rvprop=content|ids|timestamp&prop=revisions|info&action=query&titles=Discussion:Corbeille%20d'or&rvsection=0 Entire content => ok: http://fr.wikipedia.org/w/api.php?intoken=edit&rvprop=content|ids|timestamp&prop=revisions|info&action=query&titles=Discussion:Corbeille%20d'or
action=parse also fails for section=0 if text is empty.
This is not a api bug. index.php gives the same error. Section 0 => error: http://fr.wikipedia.org/w/index.php?title=Discussion:Corbeille_d%27or&action=edit§ion=0 Entire content => ok: http://fr.wikipedia.org/w/index.php?title=Discussion:Corbeille_d%27or&action=edit *** This bug has been marked as a duplicate of bug 14005 ***