Total number of revisions

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Total number of revisions

Brianna Laugher
Hello,

Is there a way to just ask for the total number of revisions to a
given page, rather than actually retrieve the said revisions?

Maybe it could be part of the "prop=info" - "Get basic page information"?

thanks,
Brianna

_______________________________________________
Mediawiki-api mailing list
[hidden email]
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Reply | Threaded
Open this post in threaded view
|

Re: Total number of revisions

Yuri Astrakhan
Not sure how to implement this due to performance concerns: count(*)
queries are fairly expensive for heavily edited articles and require
aggregation for multiple pages. The performance of such queries will
have to be evaluated.

--Yuri



On 7/25/07, Brianna Laugher <[hidden email]> wrote:

> Hello,
>
> Is there a way to just ask for the total number of revisions to a
> given page, rather than actually retrieve the said revisions?
>
> Maybe it could be part of the "prop=info" - "Get basic page information"?
>
> thanks,
> Brianna
>
> _______________________________________________
> Mediawiki-api mailing list
> [hidden email]
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>

_______________________________________________
Mediawiki-api mailing list
[hidden email]
http://lists.wikimedia.org/mailman/listinfo/mediawiki-api