Thanks, that makes sense. This looks like it actually pulls down what I'm
looking for:

https://www.mediawiki.org/w/api.php?action=sitematrix&format=json

I'm now curious how that list is generated. I'm specifically wondering if
it is a definitive source of truth on what it is producing, or if that is
somehow coming from somewhere else.




On Thu, May 21, 2020 at 10:06 AM Michael Holloway <mhollo...@wikimedia.org>
wrote:

> Hi Ed,
>
> The information I think you're looking for is available via the API's
> sitematrix <https://www.mediawiki.org/wiki/Extension:SiteMatrix#API>
> action:
>
> https://en.wikipedia.org/wiki/Special:ApiSandbox#action=sitematrix
>
> The Wikimedia projects are typically referred to as "projects" (in the
> context of their content and contributors' day-to-day work) or "sites"
> (usually in the context of their technical infrastructure and operations).
> A namespace is a concept used in MediaWiki to group pages by type at a high
> level.  Examples of namespaces include "Talk" for discussion pages about
> articles, or "File" for pages about uploaded media files.  See this page
> for a fuller discussion:
>
> https://www.mediawiki.org/wiki/Help:Namespaces
>
> -mdh
>
>
>
> On Wed, May 20, 2020 at 6:53 PM Ed Hertzog <edhert...@gmail.com> wrote:
>
>> I am looking to query the API to get back a list of all Wikimedia
>> projects and, hopefully, some relevant metadata.
>>
>> My first question is, is 'namespace' the term used to describe a
>> Wikimedia project? Also, is there a query I can use to do that? I'm having
>> some issues finding that information in the documentation.
>>
>> Thanks in advance,
>>
>> Ed
>> _______________________________________________
>> Mediawiki-api mailing list
>> Mediawiki-api@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to