Difference between revisions of "MediaWiki talk:Whitelistedittext"
From XFamily - Children of God
m (need help fixing an issue with the returnto variable for login links) |
({{PAGENAMEE}} instead of {{PAGENAME}}) |
||
Line 1: | Line 1: | ||
My editor's login link which uses the returnto URL variable does not work when article titles contain spaces, as the <nowiki>{{PAGENAME}}</nowiki> variable puts the spaces into the content, and external links in the <nowiki>[url linktext]</nowiki> format interpret the first space as the start of the link text. Anyone know how to fix this? Otherwise we can use a login link without the returnto URL variable. --[[User:Monger|Monger]] 02:38, 26 February 2006 (PST) | My editor's login link which uses the returnto URL variable does not work when article titles contain spaces, as the <nowiki>{{PAGENAME}}</nowiki> variable puts the spaces into the content, and external links in the <nowiki>[url linktext]</nowiki> format interpret the first space as the start of the link text. Anyone know how to fix this? Otherwise we can use a login link without the returnto URL variable. --[[User:Monger|Monger]] 02:38, 26 February 2006 (PST) | ||
+ | :I think I fixed this by using <nowiki>{{PAGENAMEE}}</nowiki> instead of <nowiki>{{PAGENAME}}</nowiki>. [http://meta.wikimedia.org/wiki/Help:Page_name#Variables_PAGENAME_and_PAGENAMEE MediaWiki.org - Help:Page name - Variables PAGENAME and PAGENAMEE] has some more details on this. [[User:Peterf|Peter F.]] 22:49, 27 February 2006 (PST) |
Revision as of 06:49, 28 February 2006
My editor's login link which uses the returnto URL variable does not work when article titles contain spaces, as the {{PAGENAME}} variable puts the spaces into the content, and external links in the [url linktext] format interpret the first space as the start of the link text. Anyone know how to fix this? Otherwise we can use a login link without the returnto URL variable. --Monger 02:38, 26 February 2006 (PST)
- I think I fixed this by using {{PAGENAMEE}} instead of {{PAGENAME}}. MediaWiki.org - Help:Page name - Variables PAGENAME and PAGENAMEE has some more details on this. Peter F. 22:49, 27 February 2006 (PST)