Last modified: 2011-03-13 18:05:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 8420 - PAGENAME doesn't work on Mediawiki:Sitenotice.
PAGENAME doesn't work on Mediawiki:Sitenotice.
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
PC Windows XP
: Lowest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 25487 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-28 23:46 UTC by
Modified: 2011-03-13 18:05 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description 2006-12-28 23:46:07 UTC
{{PAGENAME}} and other similar magic words doesn't work on Mediawiki:Sitenotice.
Sometimes works well, but ofen gives other page.
Comment 1 2006-12-28 23:46:41 UTC
It occurs on JA:WN.
Comment 2 Brion Vibber 2006-12-29 00:47:24 UTC
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.
Comment 3 Aphaia 2006-12-29 06:01:15 UTC
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.  
Comment 4 Brion Vibber 2006-12-29 06:14:10 UTC
Huh?
Comment 5 Rob Church 2006-12-29 09:31:35 UTC
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.
Comment 6 2006-12-29 21:20:38 UTC
Thak you for your answers.
We'd like to put a "refresh this page" link to the sidebar or sitenotice.
Comment 7 Rob Church 2007-01-08 19:16:15 UTC
(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.

Comment 8 2007-01-08 22:54:55 UTC
(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]
Comment 9 db [inactive,noenotif] 2010-12-03 19:57:42 UTC
*** Bug 25487 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links