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: roan.katt...@gmail.com
        ReportedBy: nic...@users.sourceforge.net
                CC: bryan.tongm...@gmail.com, s...@reedyboy.net,
                    vasi...@gmail.com, soxre...@gmail.com


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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to