On 07/12/11 06:38, Daniel Barrett wrote: > Now that $wgMessageCache is obsolete in 1.18.0, what is the > approved way for an extension to add a system message dynamically > at runtime? > > That is, what is the new way to do $wgMessageCache->addMessage(a, > b)?
There's no precise equivalent. You can add or modify messages when the cache is built by hooking LocalisationCacheRecache, and you can add a cache dependency to trigger a rebuild by adding elements to $allData['deps']. What extension is this for? -- Tim Starling _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
