Template talk:alternate pages

Note, this is called from:


 * 1) Project-Noarticletext with parameter 1 = "did-you-mean"
 * 2) Project-Newarticletext with parameter 1 = "go-to-search-page"

The did-you-mean span name will trigger a javascript redirect from Monobook.js. Doing it from "No" is ok, but from "New" would cause a possible looping situation, so it will have to go to the Special:Search/pagename page instead.

--Connel MacKenzie T C 05:01, 13 May 2006 (UTC)


 * Erm, actually, "Newarticletext" doesn't redirect because we need to be able to enter uppercase entries (sometimes) when a lowercase entry exists already. --Connel MacKenzie T C 07:30, 13 May 2006 (UTC)

Sorry, I never got around to refactoring it. If someone wishes to "Be Bold" please do so. --Connel MacKenzie T C 07:31, 13 May 2006 (UTC)

MediaWiki bug
When including ... ... the tag did-you-mean makes it to the rendered HTML, but when including ...... only is output in the HTML.

Apparently, '=' and '"' are partially-prohibited characters within template operations. In the second case, the  is _assigned_ to the template variable 'id'.

As this syntax is "wrong" in someone's view either way, it is likely to change at some point in the future, when the parser is "corrected" one way or the other. I'll assume a method of "escaping" special characters will exist by the time such a correction is implemented.

For now, I'll look into less-risky ways of passing this parameter.

--Connel MacKenzie T C 22:40, 14 May 2006 (UTC)


 * Note: by passing in the parameter  span=  all seems to work correctly now. --Connel MacKenzie T C 02:19, 15 May 2006 (UTC)

Duplicate "did you mean..." prompt
Before I created today, I saw the double prompt "Did you mean 3r? Did you mean 3r?" Equinox ◑ 14:10, 10 April 2023 (UTC)