Actions

Template talk

Extension in use

From WikiApiary, monitoring the MediaWiki universe

arraymap?

I think types should be stored as an arraymap, too, e.g. Semantic MediaWiki and many more. --[[kgh]] (talk) 22:03, 21 January 2013 (UTC)

This is the extension type that is returned via the MediaWiki API (example). I don't think the extension is allowed to register more than one type, is it? If I'm reading mw:Manual:$wgExtensionCredits#type correctly it can only have one value. This is also the same as the groupings that are displayed in Special:Version. This to me feels like something different than the tags. Really a strict classification. Thingles (talk) 23:23, 21 January 2013 (UTC)
It is hardly done but I have got news for you :) : $wgExtensionCredits['specialpage'][] = $wgExtensionCredits['parserhook'][] = array( as it may be seen at the CategoryTree extension. Besides so far I have added just the types as defined on mw.o and additionally the authors to the current tag property on WikiApiary. The only true tag I used so far is "wikispecific". E.g. the types semantic, specialpage, parserhook and even other apply to Semantic MediaWiki though it is only registered as semantic. I thought that adding additional types would enhance the somewhat realistic but at the same time narrow approach on Special:Version for this wiki. --[[kgh]] (talk) 15:00, 22 January 2013 (UTC)
Okay.. odd. So I went looking for Extension:CategoryTree and look at what Bumble Bee gets via the API. Take a peek at Wikimania 2007/Extensions and do a find for CategoryTree. There are multiple entries!
{{Extension in use
|Extension name=CategoryTree
|Extension author=Daniel Kinzler
|Extension type=parserhook
|Extension URL=https://www.mediawiki.org/wiki/Extension:CategoryTree
}}
{{Extension in use
|Extension name=CategoryTree
|Extension author=Daniel Kinzler
|Extension type=specialpage
|Extension URL=https://www.mediawiki.org/wiki/Extension:CategoryTree
}}
So it seems like maybe the API is returning an entry for each type? I guess that would sort of make sense as that is probably how it would show up on the Special:Version page, in two places. Interestingly enough, because the way the subobjects are setup, this is already turning into an array! See Special:Browse/Wikimania-202007-23Extension_CategoryTree. Thingles (talk) 18:24, 25 January 2013 (UTC)