fixed error in Monobook; renamed the template
removed usage of deprecated method registerController()