I had an occasion to move (with redirect suppressed) a Mediawiki: page into Template: The intent was that the Mediawiki system message should then fall back to its default behavior, while the page's contents could still be used as a template under circumstances where it was desirable to do so.
However, after several hours the system message is still giving the same result and doesn't recognize that its contents were removed.
Obviously this is some sort of caching issue, perhaps because the software doesn't know how to react properly to having a Mediawiki page subject to a move. Is this kind of lag likely to clear itself up in short order? How long does the message cache persist?
-Robert Rohde
Robert Rohde wrote:
I had an occasion to move (with redirect suppressed) a Mediawiki: page into Template: The intent was that the Mediawiki system message should then fall back to its default behavior, while the page's contents could still be used as a template under circumstances where it was desirable to do so.
However, after several hours the system message is still giving the same result and doesn't recognize that its contents were removed.
Obviously this is some sort of caching issue, perhaps because the software doesn't know how to react properly to having a Mediawiki page subject to a move. Is this kind of lag likely to clear itself up in short order? How long does the message cache persist?
-Robert Rohde
Have you tried purging the MediaWiki: page?
2009/3/14 Robert Rohde rarohde@gmail.com:
Obviously this is some sort of caching issue, perhaps because the software doesn't know how to react properly to having a Mediawiki page subject to a move. Is this kind of lag likely to clear itself up in short order? How long does the message cache persist?
In my experience? Several hours, if it's a *really* popular piece of interface, e.g. the en:wp copyright notice. The en:wp sidebar doesn't seem to take quite as long, oddly enough.
- d.
Robert Rohde wrote:
I had an occasion to move (with redirect suppressed) a Mediawiki: page into Template: The intent was that the Mediawiki system message should then fall back to its default behavior, while the page's contents could still be used as a template under circumstances where it was desirable to do so.
However, after several hours the system message is still giving the same result and doesn't recognize that its contents were removed.
Obviously this is some sort of caching issue, perhaps because the software doesn't know how to react properly to having a Mediawiki page subject to a move. Is this kind of lag likely to clear itself up in short order? How long does the message cache persist?
This is a bug. There is code in Title::moveTo() to update the message cache but it appears to be totally wrong and broken.
The message cache expiry time is 24 hours.
-- Tim Starling
On Sat, Mar 14, 2009 at 8:14 PM, Tim Starling tstarling@wikimedia.org wrote:
Robert Rohde wrote:
I had an occasion to move (with redirect suppressed) a Mediawiki: page into Template: The intent was that the Mediawiki system message should then fall back to its default behavior, while the page's contents could still be used as a template under circumstances where it was desirable to do so.
However, after several hours the system message is still giving the same result and doesn't recognize that its contents were removed.
Obviously this is some sort of caching issue, perhaps because the software doesn't know how to react properly to having a Mediawiki page subject to a move. Is this kind of lag likely to clear itself up in short order? How long does the message cache persist?
This is a bug. There is code in Title::moveTo() to update the message cache but it appears to be totally wrong and broken.
The message cache expiry time is 24 hours.
Wanna bet? :-)
A few hours shy of 72 hours it still hadn't cleared. Running action=purge did clear it though, so it is now properly updated. However, if you believe the message cache ought to have fixed itself within 24 hours then you probably ought to go look at that code for bugs too.
-Robert Rohde
wikitech-l@lists.wikimedia.org