Manual talk:$wgMessageCache

Jump to navigation Jump to search

Anyone able to help with getting an extension working with the error Fatal error: Call to a member function addMessages ? — Preceding unsigned comment added by (talkcontribs)

Usually, if you comment out the lines with addMesasge(), the extension will still run on MW1.18+ but you'll need to create the messages on MediaWiki: (message name...) manually. That's the quick fix, the proper fix would be to look at the internationalisation code in current extensions and follow the methods used there (as i18n merely creates messages based on the user's or wiki's selected language). Carlb (talk) 15:29, 11 September 2012 (UTC)
So basically, these extensions now need an i18n file. Leucosticte (talk) 09:38, 15 March 2014 (UTC)

Note to anyone else upgrading a dusty wiki ... the new AddMessages extension is completely unrelated to the removed functionality. --Julie C. (talk) 16:18, 22 July 2019 (UTC)