https://bugzilla.wikimedia.org/show_bug.cgi?id=26627
Summary: rvnosuchsection for section 0 of an empty page
Product: MediaWiki
Version: wikimedia-deployment
Platform: All
URL: 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
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
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
--
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
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l