Is there a function in Pywiki to list available MW extensions or check for the existence of a specific one?
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 06.03.2012 07:35 Betreff: [Pywikipedia-l] Check for extensions
Is there a function in Pywiki to list available MW extensions or check for the existence of a specific one?
I never heard about. Is there a mw function via api itself?
Regards xqt
2012/3/6 info@gno.de
I never heard about. Is there a mw function via api itself?
Yes, there is: https://www.mediawiki.org/wiki/API:Meta#Siteinfo:_Parameters
I am wondering if it should be implemented in apispec.py or rather in wikipedia.py's class Site(). (But I can do it for trunk only at the moment.)
pywikipedia-l@lists.wikimedia.org