https://bugzilla.wikimedia.org/show_bug.cgi?id=55371

       Web browser: ---
            Bug ID: 55371
           Summary: API action=query&prop=revisions doesn't return diff in
                    xml
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: benap...@gmail.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
    Classification: Unclassified
   Mobile Platform: ---

When I execute this api:

:action=query&prop=revisions&format=json&rvprop=content&rvlimit=1&rvtoken=rollback&rvdiffto=prev&titles=User%3APetrb

it return content and diff

but if I execute xml:

:action=query&prop=revisions&format=xml&rvprop=content&rvlimit=1&rvtoken=rollback&rvdiffto=prev&titles=User%3APetrb

I only get a content of page.

This makes it necessary to execute 2 different queries in order to get same
thing in xml which you can have from any other format

-- 
You are receiving this mail because:
You are the assignee for the bug.
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