API talk:Meta

Stupid example
Example of userinfo query is stupid, because it doesn't show the output, for example, of information about block status, if you aren't blocked -_-. KPu3uC B Poccuu 14:43, 8 January 2012 (UTC)
 * I don't see the problem here. The example for the example for the  meta query doesn't request the   property so it obviously is never shown. Also note that even if you request , the response will only contain such property if the user in question actually is blocked. Krinkle 22:44, 19 January 2012 (UTC)
 * What I asked is just put here examples of all possible options for users which haven't access to sysop tools to figure it out themselves. KPu3uC B Poccuu (talk) 12:15, 21 February 2012 (UTC)
 * Block status is not private information. It's openly visibly to anyone, not just to users who have access to sysop tools. For example commons:User:Shake Away is blocked. and this information can be seen in many places: Special:Contributions/(username), [ Special:Log/block?page=User:(username)], [//commons.wikimedia.org/w/api.php?action=query&list=users&ususers=Shake%20Away&usprop=blockinfo&format=jsonfm api.php list=users&ususers=(username)]. And, if you're logged in as a blocked user, also on [//www.mediawiki.org/w/api.php?action=query&meta=userinfo&uiprop=blockinfo api.php?action=query&meta=userinfo&uiprop=blockinfo]. Krinkle (talk) 12:35, 21 February 2012 (UTC)

Function hooks and magic words
I don't understand the results of  at all. Why is  e.g. both a functionhook and a magicword? And why is stuff with different syntax lumped together in both categories? How am I supposed to know from the list that it's - with a hashmark and a colon - but  - without either? Etc. etc. These lists seem so arbitrary and pointless! Or are there some unmentioned rules behind all of this randomness?

I'm writing a syntaxhighlighter for wikitext in JavaScript and I was hoping I could use these two lists to identify functionhooks and magicwords as such... maybe even highlight syntax errors... -- Pecoes (talk) 09:29, 25 January 2013 (UTC)
 * I agree. These lists are next to useless ( as well). — Keφr 10:27, 24 December 2014 (UTC)

babel

 * returns languages as N although
 * has different numbers. --Xoristzatziki (talk) 06:56, 15 July 2017 (UTC)

You're confusing MediaWiki and Wikimedia. Babel is an extension, which has nothing to do with this page which documents the MediaWiki Meta API. See https://phabricator.wikimedia.org/T160580 and https://phabricator.wikimedia.org/T160580 for WMF related deployment for the Babel API .13:49, 15 July 2017 (UTC)