MediaWiki talk:Whitelistedittext
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)
- Thanks, man! --Monger 16:43, 7 March 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)
- Peter, I have reverted {{PAGENAMEE}} variables to {{PAGENAME}} for the "Special:Search" and "Special:Whatlinkshere" links, if for no other reason that to help keep myself straight later on as to when {{PAGENAMEE}} is needed. In both cases mentioned it is not needed, since spaces used inside wiki markup for local links in the [[page title|link text]] format are automatically converted to underscores. In regards to the search link issue mentioned earlier, neither {{PAGENAME}} nor {{PAGENAMEE}} get around the problem. --Monger 16:43, 7 March 2006 (PST)