Last modified: 2011-03-13 18:05:30 UTC
{{PAGENAME}} and other similar magic words doesn't work on Mediawiki:Sitenotice. Sometimes works well, but ofen gives other page.
It occurs on JA:WN.
Sitenotice is cached pretty aggressively, and will be more so in the future. It's probably not safe to assume you can get per-page information into the site notice text.
Thank you for your comment, Brion. So, questions: * How about putting them [[MediaWiki:Sidebar]]? * Can we ask you developers to localize "toolbox" on the left column to including such per-page information? It is not necessary to put it on the sitenotice, and even it is safe, it seems ideal to put per-page function like "cache the page" into the toolbox to sort information logically.
Huh?
The sidebar is also subject to aggressive caching, in fact, one could argue it's even *more* aggressive than the sitenotice. The toolbox is generated in the skin code with contextual links relevant to the page being viewed - special pages, article views, old revisions, etc. all have different links in the toolbox. It's not clear exactly what you want us to do.
Thak you for your answers. We'd like to put a "refresh this page" link to the sidebar or sitenotice.
(In reply to comment #6) > We'd like to put a "refresh this page" link to the sidebar or sitenotice. I don't understand what you mean by "refresh this page" in this context; it has multiple uses when applied to a MediaWiki wiki. Both the sidebar and sitenotice(s) are cached. This is to save processing time and help speed up page views. As a result of this caching, magic words such as {{PAGENAME}} and so forth will not work as usual.
(In reply to comment #7) > I don't understand what you mean by "refresh this page" in this context; it has > multiple uses when applied to a MediaWiki wiki. I meant, [{{fullurl:{{FULLPAGENAME}}|action=purge}} refresh this page]
*** Bug 25487 has been marked as a duplicate of this bug. ***