HI folks,
I’m working on a another MediaWiki extension and I wanted to know if there is another way to check that the web API is enabled other than just performing:
if ( $wgEnableAPI === true )
I was hoping there was some function that just returned the value of $wgEnableAPI.
If there is another way to see if the user has turned off the web API, that would be cool, too. I just need to check that it’s enabled.
Thanks in advance,
Shawn M. Jones Graduate Research Assistant Department of Computer Science Old Dominion University
Email: sjone@cs.odu.edu Research group: http://ws-dl.blogspot.com Twitter: @shawnmjones
wikitech-l@lists.wikimedia.org