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: [email protected] Research group: http://ws-dl.blogspot.com Twitter: @shawnmjones _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
