I'll be getting read/write access to Wikia's extensions on a development server soon as a volunteer tech so I can look into the code there to see how it's done there and compare with the location of the hooks to see if it's doable as a commons type system. Though I was thinking of something a little more integrated. Doing it as an extension makes it a little trickier to hook into the core methods of caching messages to reduce server strain, right?
~Daniel Friesen(Dantman) of The Gaiapedia, Wikia Graphical Entertainment Project, and Wiki-Tools.com
Rob Church wrote:
On 30/07/07, Dantman dan_the_man@telus.net wrote:
But what about a similar Message Commons, the current system goes: -Language Files -Messages Added to the MessageCache -Local Database But why not throw in a commons, something like: -Language Files -Messages Added to the MessageCache -Commons Database -Local Database
This is doable now; the MessageCache will call the "MessagesPreLoad" hook when searching for a message. I believe (although I've no idea if I'm correct in thinking this) that it's what Wikia use to facilitate their "SharedMessages" extension.
Rob Church
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l