thanks Brad, I created an account in Tools Lab and a public SSH key. How
long will it take to approve my request before I can submit queries?
On Thu, Dec 11, 2014 at 6:45 AM, Brad Jorsch (Anomie) <bjorsch(a)wikimedia.org
wrote:
> On Thu, Dec 11, 2014 at 5:11 AM, practikal mind <practikalmind(a)gmail.com>
wrote:
>
>> How do I find out the range of pageids that are currently in use in
>> wikipedia?
>>
>
> I don't know of any straightforward way to do this via the API. But if you
> get an account on Tool Labs,[1] it's a simple SQL query: SELECT
> MIN(page_id), MAX(page_id) FROM page.
>
> [1]:
https://tools.wmflabs.org/
>
>
>> Do pageids always remain constant?
>>
>
> If a page is deleted and then undeleted, the page id might change.
>
>
>> Can a certain pageid cease to exist?
>>
>
> If the page is deleted, yes. Special:MergeHistory will probably eliminate
> one of the involved page ids too.
>
>
> --
> Brad Jorsch (Anomie)
> Software Engineer
> Wikimedia Foundation
>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api(a)lists.wikimedia.org
>
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>