-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Carlton B Sent: Friday, June 03, 2005 5:00 PM To: MediaWiki announcements and site admin list Subject: RE: [Mediawiki-l] Changing login prompt message [was:Disablingaccount creation]
-----Original Message----- From: mediawiki-l-bounces@Wikimedia.org [mailto:mediawiki-l-bounces@Wikimedia.org]On Behalf Of Brion Vibber Sent: Friday, June 03, 2005 2:09 PM To: MediaWiki announcements and site admin list Subject: Re: [Mediawiki-l] Changing login prompt message [was: Disablingaccount creation]
Carlton B wrote:
I'm attempting to change the login message. I edited MediaWiki:Login prompt as I was advised by Brion, but the edits do not appear on Special:Userlogin... not by normally logging in, nor by directly navigating to Special:Userlogin
What have I done wrong? How can I make this change appear?
- Make sure you're editing [[MediaWiki:Loginprompt]], with no space.
I copied and pasted the link as you've posted it. I see the changes only when I navigate directly to the page.
- If you set $wgUseDatabaseMessages = false; in your LocalSettings.php
at some point, set it back to true.
It was not set in my config file. Per the above, I've explicitly set it to true.
Do you have this problem with all messages or just that one? Have you tried other messages?
This is the only message that I've tried to alter, so I have no answer for that.
After more testing, it seems that this is a time-related problem, where somehow 60 seconds is a magic number.
Here's how I reproduced the the behavior. Tested pages were Special:Userlogin and Special:Allmessages
1) Access a page that should have substitution. Substitution fails. 2) Wait amount of time t1>60 seconds. Load again. Substitution succeeds. 3) Wait amount of time t2<60 seconds. Load again. Substitution fails. 4) Wait an additional amount of time t3>(60-t2) seconds. Load again. Substitution succeeds. 5) Repeat steps 3-4
Or, in a less systematic way, if I keep hitting reload every second, substitution will succeed once every 60 seconds, and the counter is reset on a successful substitution.
It's as if there is a message substitution variable stored in a cache with a 60 second expiration, but the variable is only being utilized whenever there's a cache reload.
Why is 60 seconds special to message substitution?
Help?