[Bug 17993] Have result list count displayed in API output, also option to only get count

2009-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17993





--- Comment #2 from Reedy   2009-03-16 14:28:00 UTC ---
Fair enough..

The idea came about in the cases where in AWB, i want to get a count of
categories on a page, but couldn't care less what they were, so might aswell
just get a count.

The  style, if implemented on most of the query types,
would be useful!

But i suppose you're right, if you're wanting the list of categories, the count
is redundant there

Thanks


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


[Bug 17993] Have result list count displayed in API output, also option to only get count

2009-03-16 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=17993


Roan Kattouw  changed:

   What|Removed |Added

 CC||roan.katt...@home.nl




--- Comment #1 from Roan Kattouw   2009-03-16 13:51:21 
UTC ---
(In reply to comment #0)
> Would it be possible on (possibly all?) queries that are getting links on
> pages, categories on page, pages in category, etc, have an option (or even 
> just
> by default), a number of results returned?
> 
> ie for the link above,
> 
> instead of 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> something like
> 
> 
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 
> 
> 
I don't see the use here, as counting results on the client side is trivial and
inexpensive.

> And an option to be able to go &countonly (or something), and just be returned
> 
> 
> 
I get that this would maybe save bandwidth; I'll look into implementing it.


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