Here's the quickest way to answer your question.  You don't need to go
through the trouble of a Tool Labs account to run a query.

http://quarry.wmflabs.org/query/1181

On Thu, Dec 11, 2014 at 10:46 AM, practikal mind <[email protected]>
wrote:

> 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) <
> [email protected]> wrote:
>
>> On Thu, Dec 11, 2014 at 5:11 AM, practikal mind <[email protected]>
>> 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
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
>>
>
> _______________________________________________
> Mediawiki-api mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
>
_______________________________________________
Mediawiki-api mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to