if it's true by default then there is still a missing step...as this is not working for me.
I just tried adding a 'wgUseDatabaseMessages = true;' to my LocalSettings as well and still see no change.
I can change other messages listed at Special:AllMessages no problem. However 'Pagetitle-view-mainpage' is not listed as a property to change on that page.
Perhaps 'Pagetitle-view-mainpage' needs to be added to a messages array somewhere first before it can be changed ? it doesn't seem to be there out of the box.
-P-
On Dec 10, 2008, at 2:54 PM, Aryeh Gregor wrote:
On Wed, Dec 10, 2008 at 4:30 PM, Peter Adams peter@oncefuture.com wrote:
Really? Happy to write patch if thats the case as I'd rather not take the performance hit to have a db hit per message. Does wikipedia do this that way?
$wgUseDatabaseMessages is true by default, so if you didn't explicitly disable it, it should already be in effect. If performance is a concern, you're strongly advised to use memcached or some other cache (APC, XCache, etc. if you only have one app server). For this and other reasons. That will, of course, avoid the DB requests.
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l