https://bugzilla.wikimedia.org/show_bug.cgi?id=20870
Summary: Sitenotice should be parsed in context of
[[MediaWiki:Sitenotice]], not of the page below
Product: MediaWiki
Version: 1.16-svn
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: Normal
Component: Page rendering
AssignedTo: [email protected]
ReportedBy: [email protected]
It seems that when parsing the sitenotice, the page it's shown on top of is
used as parsing context (for {{PAGENAME}} etc.). I know you can't count on
{{PAGENAME}} and friends to be meaningful in the sitenotice due to heavy
caching, but there are more problems with parsing in the context of a random
title:
1. Subpage links like [[/foo]] don't point to [[MediaWiki:Sitenotice/foo]] but
to [[Somerandompage/foo]] (if subpages are even enabled in the namespace in
question)
2. Links to other pages will show up as selflinks if it so happens that the
sitenotice was reparsed while on top of the target page. This happened on
fiwiki today
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l