Last modified: 2011-09-23 02:27:06 UTC
When the search found an article to show, the redirect to the classic Wikipedia will go to the search phrase instead of the lemma. This is annoying, because the classic Wikipedia will tell you the article you've just looked at wouldn't exist. The exmample url should redirect to http://de.wikipedia.org/wiki/Verbotene_Liebe instead of http://de.wikipedia.org/w/mobileRedirect.php?to=http%3A%2F%2Fde.wikipedia.org%2Fwiki%2Fverbotene%20liebe.
The reason for the mobileRedirect.php file is all about setting cookies (so that it doesn't redirect you back again!) It seems like its a capitalization issue. Let me look into it!
Note, if you just made it redirect to special:search/<page name>, this would automatically sort out all the capitalization issues.
Can you give me a more exact example? Does this work on every wiki language? Sorry, not a mediawiki developer. I was just translating the exact URLs over.
Basically if you go to http://de.wikipedia.org/wiki/special:search/verbotene_liebe Mediawiki will first check to see if there is a page named verbotene_liebe or something with similar capitalization (Such as the actual aforementioned Verbotene_Liebe page with the capital L). If there is such a page, it will give a 302 redirect to the corresponding page with the correct capitalization, otherwise it will show the search results of searching for that. (Basically it works like the go button in the search bar on mediawiki). This will work for all language Wikipedia's. (But it will only look for pages within that language. http://sco.wikipedia.org/wiki/special:search/verbotene_liebe is not going to go to the page on DE). As a minor note, on non-english languages it will first redirect you to the canonical special page name. For example on DE the redirection chain is: #Initial request: http://de.wikipedia.org/wiki/special:search/verbotene_liebe #301 Moved Permenantly to: http://de.wikipedia.org/wiki/Spezial:Suche/verbotene_liebe #302 Moved Temporarily to: http://de.wikipedia.org/wiki/Verbotene_Liebe
This should now be fixed. Pleas re-open if this is still an issue.