Jump to content

Manual talk:$wgMessageCache

Add topic
From mediawiki.org
Latest comment: 5 years ago by JulieC

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 178.78.106.138 (talk • contribs)

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)Reply
So basically, these extensions now need an i18n file. Leucosticte (talk) 09:38, 15 March 2014 (UTC)Reply

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)Reply