Author: wikipedia01
Description:
{{PAGENAME}} and other similar magic words doesn't work on Mediawiki:Sitenotice.
Sometimes works well, but ofen gives other page.
Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
Author: wikipedia01
Description:
{{PAGENAME}} and other similar magic words doesn't work on Mediawiki:Sitenotice.
Sometimes works well, but ofen gives other page.
Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
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.
Aphaia wrote:
Thank you for your comment, Brion.
So, questions:
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.
robchur wrote:
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.
wikipedia01 wrote:
Thak you for your answers.
We'd like to put a "refresh this page" link to the sidebar or sitenotice.
robchur wrote:
(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.
wikipedia01 wrote:
(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]