Updated to support mediawiki 1.23, remove warnings