[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-29 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

--- Comment #6 from Michael M. listenle...@gmail.com ---
(In reply to Brad Jorsch from comment #5)
 If you're referring to the documentation on
 mediawiki.org, feel free to update that.

I added [[mw:API:Query#Generators and continuation]]. Can you check that I
didn't write anything wrong there?

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


[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

Brad Jorsch bjor...@wikimedia.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |WONTFIX

--- Comment #5 from Brad Jorsch bjor...@wikimedia.org ---
(In reply to Michael M. from comment #3)
 continue is documented only for action=query, too.

I see continue documented for action=purge, action=setnotificationtimestamp,
and action=watch.
https://en.wikipedia.org/w/api.php?modules=purge|setnotificationtimestamp|watch

Since the requested documentation is already present in the auto-generated help
output and we're not going to add rawcontinue to these other modules, I'm going
to WONTFIX this. If you're referring to the documentation on mediawiki.org,
feel free to update that.

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


[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

--- Comment #4 from Brad Jorsch bjor...@wikimedia.org ---
(In reply to Michael M. from comment #3)
 Only when the continue becomes default, it will be consistent again.

That's being worked on.

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


[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

--- Comment #3 from Michael M. listenle...@gmail.com ---
(In reply to Brad Jorsch from comment #1)
 It's not clear what documentation you're asking for here. rawcontinue is
 documented for action=query because it exists there, while it's not
 documented elsewhere because it doesn't exist elsewhere.

continue is documented only for action=query, too.
[[mw:API:Query#Continuing_queries]] says: For backwards compatibility, clients
must specify continue= in their initial queries to select this method., which
is true for action=querygenerator=, but not for action=purge.

I don't think it's unreasonable to expect

http://en.wikipedia.beta.wmflabs.org/w/api.php?action=queryprop=infogenerator=allpagesgapfrom=Agaplimit=2

and

http://en.wikipedia.beta.wmflabs.org/w/api.php?action=purgegenerator=allpagesgapfrom=Agaplimit=2

to behave the same regarding continuation, and thus expecting a
query-continue instead of continue for the action=purge request, too.

The current behavior is inconsistent, making it easily possible to miss the
continuation for non-query modules. Only when the continue becomes default,
it will be consistent again.

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


[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

--- Comment #1 from Brad Jorsch bjor...@wikimedia.org ---
For all existing non-query modules that use ApiPageSet, there's no functional
difference between the raw continuation and the simplified continuation so an
option for raw continuation was never added.

It's not clear what documentation you're asking for here. rawcontinue is
documented for action=query because it exists there, while it's not documented
elsewhere because it doesn't exist elsewhere.

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


[Bug 72471] Using a generator together with a non-query module always uses new continue format

2014-10-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=72471

Umherirrender umherirrender_de...@web.de changed:

   What|Removed |Added

 CC||umherirrender_de...@web.de

--- Comment #2 from Umherirrender umherirrender_de...@web.de ---
In generator mode there are never two continues(*), so there is no need for the
old continue style.

(*)In my opinion there cannot be two or more continues, because there is no way
to define a prop= which limit is exceeded and needs therefor its own continue
(to complete the batch of titles from the generator module).

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