Importing new changes from MediaWiki_Api

Note: createPage should be used now.