$wgMessageCache->addMessages() Replacement
From User talk:IAlex
Hi IAlex, I see you removed the addMessages() function here: Special:Code/MediaWiki/76110. Is there another way to add dynamic messages to the wiki? I have an extension that adds a message per namespace in the wiki where the name of the message is based on the name of the namespace. The namespace configuration is stored in the database and changes on occasion so there's no way to create a static message file. Any ideas? --Cneubauer 15:09, 19 January 2012 (UTC)
You can try the MessagesPreLoad hook.
Hello. I'm trying to resolve this in some extensions.... but...
I think that the MessagesPreLoad hook is not called in the sequence of wfMsg function...
I'm in the wright way?????
Another function must be used instead of wfMsg?
Fdo.