Hi,
I have placed this in my LocalSettings.php:
$wgSiteNotice = "{{msg:A1}}";
In the wiki there is a [[Template:A1]] page which contains:
Go to "[http://externalsite/%7B%7BNAMESPACE%7D%7D:%7B%7BPAGENAMEE%7D%7D {{PAGENAME}}]".
The result of the above is that NAMESPACE gets replaced by Special and PAGENAMEE gets replaced by Error, just like PAGENAME, regardless of the page I am looking in my wiki. So the result is that I always get Special:Error. If I remove {{NAMESPACE}} I just get Error.
I use mediawiki1.4beta4, unmodified.
On Jan 14, 2005, at 11:50 PM, NSK wrote:
I have placed this in my LocalSettings.php:
$wgSiteNotice = "{{msg:A1}}";
In the wiki there is a [[Template:A1]] page which contains:
Go to "[http://externalsite/%7B%7BNAMESPACE%7D%7D:%7B%7BPAGENAMEE%7D%7D {{PAGENAME}}]".
The result of the above is that NAMESPACE gets replaced by Special and PAGENAMEE gets replaced by Error, just like PAGENAME, regardless of the page I am looking in my wiki. So the result is that I always get Special:Error. If I remove {{NAMESPACE}} I just get Error.
The site notice text is parsed to WikiText before the local page title is established.
-- brion vibber (brion @ pobox.com)
On Saturday 15 January 2005 10:10, Brion Vibber wrote:
The site notice text is parsed to WikiText before the local page title is established.
Shouldn't this be fixed in 1.4?
wikitech-l@lists.wikimedia.org