Posts Tagged ‘mediawiki’
MediaWiki – List all namespaces and their ID numbers
Friday, March 23, 2012 13:13 No CommentsTo list all available namespaces and their ID numbers in MediaWiki you have to query MediaWiki’s api. Simpy open the following address in your browser: http://www.mywebsite.tld/mediawiki_installation/api.php?action=query&meta=siteinfo&siprop=namespaces *replacing http://www.mywebsite.tld/mediawiki_installation with the path to your MediaWiki page. This will return a XML representation of Namespaces data.