Properly using MediaWiki_Api and a new feature to control deletion