[email protected] schrieb: > Reading http://meta.wikimedia.org/wiki/Help:System_messages, one > wonders if one can set messages in LocalSettings.php instead of > editing MediaWiki:Copyrightpage. However I just get 'Call to a member > function addMessages() on a non-object'.
That's because the object isn't there yet when LocalSettings.php is read. The config is read *before* initialization, of course. You can register a function in wgExtensionFunctions, that will get called after setup. you can inject messages there. But editing the system message on the wiki seems the much nicer solution, don't you think? -- daniel _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
