Difference between revisions of "MediaWiki talk:Whitelistedittext"

From XFamily - Children of God
({{PAGENAMEE}} instead of {{PAGENAME}})
m (issue with dynamic link for search)
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)
 
: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)
 +
 +
The search link on this page does not work when the article title that brought a user here has more than one word. What happens is spaces are converted to underscores rather than encoded to "%20"'s, so the MediaWiki search engine searches for e.g. "Page_Title" and will typically find no results. I have not yet been able to find information about how to address this. --[[User:Monger|Monger]] 17:44, 3 March 2006 (PST)

Revision as of 01:44, 4 March 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)

The search link on this page does not work when the article title that brought a user here has more than one word. What happens is spaces are converted to underscores rather than encoded to "%20"'s, so the MediaWiki search engine searches for e.g. "Page_Title" and will typically find no results. I have not yet been able to find information about how to address this. --Monger 17:44, 3 March 2006 (PST)