Hi. At dewp we hat a discussion of the use of a Misspelling template. There were basically two equally bad alternatives:
- Inform the user through [[de:Template:Falschschreibung]] (this is what's done atm; translated it says something like "An article named {{FULLPAGENAME}} does not exist. Perhaps you were looking for {{{corrected lemma}}}?"), which has the disadvantage that the user has to do one more click to get to the requested article
- Redirect a misspelled lemma to the article the user most likely wants to read (disadvantage: the user does not realize that his spelling was wrong, he thinks it is just an alternative spelling, not a wrong one)
So I thought about a way to solve this problem: transclude content of a redirect.
Example:
Template:Misspelling shows the user that he accidentally spelled a lemma wrong.
[[Misstake]] contains the following:
#Redirect [[Mistake]]
#Transclude {{Misspelling|Misstake}}
If the user enters "Misstake" he gets the correct article but is warned that his spelling was wrong. If the user enters "Mistake", the normal article is displayed (no spelling warning).
(of course, the syntax is just a proposal, that isn't really important to me)
This feature would solve the misspelling conflict and presumably enhance also some other templates. For example [[en:Template:Redirect]] in "Portable Document Format" should only be displayed if the user is redirected from PDF to Portable Document Format, not if he goes directly to Portable Document Format.
Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=42880