Manual talk:$wgMessageCache

Anyone able to help with getting an exstention working with the error Fatal error: Call to a member function addMessages ?