Archive for March, 2012
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.
Linux Ubuntu – User not in the sudoers file
Friday, March 23, 2012 10:51 No CommentsIf your user is not in the sudoers file you won’t be able to do any root tasks. To fix this: 1. Boot into the recovery mode and load the root console. (Hold left shift on boot to show the Grub loader) 2. To make the file system writable execute: mount -o remount,rw / 3. [...]