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

            Bug ID: 63865
           Summary: list=usercontribs has strange uccontinue behavior
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: aaron.halfa...@gmail.com
                CC: bjor...@wikimedia.org, bryan.tongm...@gmail.com,
                    roan.katt...@gmail.com, s...@reedyboy.net
       Web browser: ---
   Mobile Platform: ---

The uccontinue pattern for list=usercontribs does not match that of other types
of calls to the API (e.g. prop=revisions).

Expected behavior: 

A query of the type
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=<username>&format=jsonfm&uclimit=1
should return a result with one revision and a
query-continue.usercontribs.uccontinue field.  This uccontinue field can them
be supplied to another query in order to get the next revision. (e.g.
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=YurikBot&format=jsonfm&uclimit=1&uccontinue=2006-09-12T17:54:43Z

Actual behavior:

A query of the type
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=<username>&format=jsonfm&uclimit=1
returns a result with one revision, but has a
query-continue.usercontribs.ucstart field. (note the "ucstart" instead of the
"uccontinue").  If the value of this "ucstart" is passed as a "uccontinue"
value, it will not work as expected.

E.g.
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=YurikBot&format=jsonfm&uclimit=1&uccontinue=2006-08-29T15:38:01Z
returns the same revision as
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=YurikBot&format=jsonfm&uclimit=1

While there is an obvious work-around of passing the
query-continue.usercontribs.ucstart field back as a ucstart parameter, this
behavior is unexpected.

-- 
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