Hi Sethakill,
Thank you very much. That is what I needed. :)
Regards,
Kenrick
On 4 May 2016 at 00:01, Krzysztof Dąbrowski <sethakill(a)outlook.com> wrote:
Hi Kenrick,
you can use 'action=query&meta=siteinfo&siprop=namespaces' to get list
of
namespaces with localized string.
-- Sethakill
------------------------------
Date: Tue, 3 May 2016 23:39:29 +0800
From: kenrick95(a)gmail.com
To: mediawiki-api(a)lists.wikimedia.org
Subject: [Mediawiki-api] MediaWiki API get localization string from
namespace number
Hi there,
I'm wondering if it is possible to use the MediaWiki action API to ge the
localization of namespace string given the namespace number? For example
given the namespace number "1" ('Talk') how do I get the localized
namespace string in Indonesian ('Pembicaraan').
I'm aware of the existence of "action=query&meta=allmessages" but I
couldn't find the localized message name of namespace. I also could not
find the mapping from namespace number to the message name. So I'm
wondering if there is another way to get what I wanted.
Thank you very much.
Regards,
Kenrick
_______________________________________________ Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api