Last modified: 2013-06-18 16:41:26 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T26658, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24658 - Search pages by interwikis
Search pages by interwikis
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-08-04 08:23 UTC by Sadik Khalid
Modified: 2013-06-18 16:41 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Screenshot (72.71 KB, image/gif)
2010-08-05 09:34 UTC, Sadik Khalid
Details

Description Sadik Khalid 2010-08-04 08:23:10 UTC
Hi,

This bug is related to Search, Interwiki Link and General Enhancement.

We can get 'http://en.wikipedia.org/wiki/Apple' page by typing 'Apple' in search box of English Wikipedia.

If a Non-English user set his/her keyboard to other language like French, Arabic, Malayalam, etc. and search something like Pomme, تفاح, ആപ്പിൾ, etc. they will get 'There were no results matching the query.' and red link to the text.

Basically  this user is trying to get 'http://en.wikipedia.org/wiki/Apple'. I think we should have an *Automatic Redirect* from Interwiki text to the main article.

This will solve another issue too.

Here is the URL for Malayalam Wikipedia Article Apple:
http://ml.wikipedia.org/wiki/%E0%B4%86%E0%B4%AA%E0%B5%8D%E0%B4%AA%E0%B4%BF%E0%B5%BE
It is very difficult to use this URL in Email, Blog, Chat, IRC, etc.  Many of us will be happy if we can use 'http://ml.wikipedia.org/wiki/Apple' instead of the long URL.

At percent we are solving this issue by making a Redirect from its English name and manually adding http://ml.wikipedia.org/wiki/Template:Prettyurl template in thousands of Articles.

Thanks
Comment 1 Bawolff (Brian Wolff) 2010-08-05 04:52:23 UTC
>It is very difficult to use this URL in Email, Blog, Chat, IRC, etc.  Many of
>us will be happy if we can use 'http://ml.wikipedia.org/wiki/Apple' instead of
>the long URL.

Just as a note, many programs (not all) will accept http://ml.wikipedia.org/wiki/ആപ്പിൾ just fine. Modern (using an extremely loose definition of modern) browsers will convert that into the percent encoded form when entered into the address bar.

As for the actual bug, I don't think this is feasible with the current interwiki system, but ignoring that, I don't think its a good idea. Redirects should be explicitly created. I would be very annoyed if page X started to redirect to page Y because someone vandalized page z. (not to mention the confusion that would cause). Also there are (I assume) some words which have totally different meanings in different languages.

Thus i don't think automatic redirection would be a good idea even if it was easy to do. However, it might be interesting to have the Did you mean thing in the search page take interwikis into account. (I have no idea how feasible that would be).


Cheers.
Comment 2 Sadik Khalid 2010-08-05 09:34:57 UTC
Created attachment 7611 [details]
Screenshot
Comment 3 Sadik Khalid 2010-08-05 09:35:19 UTC
> Just as a note, many programs (not all) will accept
> http://ml.wikipedia.org/wiki/ആപ്പിൾ just fine. Modern (using an extremely loose
> definition of modern) browsers will convert that into the percent encoded form
> when entered into the address bar.

You are right we can type http://ml.wikipedia.org/wiki/ആപ്പിൾ in the address bar, browser will convert it. What about pasting this URL in email, blogs, etc.

I am attaching Screenshot from Firefox, Gmail, Blogspot, Gtalk and Chatzilla. I hope this will explain the problem what we are facing in the case of article 'ആപ്പിൾ'. If the Article Title is little long like 'കേരളത്തിലെ ഗ്രാമപഞ്ചായത്തുകളുടെ പട്ടിക' it will spread to five lines! Look at the above link, it is linked to 'ആപ്പി' instead of 'ആപ്പിൾ'.

> Also there are (I assume) some words which have totally different meanings in different languages.

There is a chance for this, If different language using the same script. In this case we can show search suggestion instead of Automatic redirect. 

> Thus i don't think automatic redirection would be a good idea even if it was
> easy to do.

Please note 'http://en.wikipedia.org/Apple' is automatically redirected to 'http://en.wikipedia.org/wiki/Apple' after 5 seconds.
Comment 4 Nemo 2012-08-23 17:51:14 UTC
(In reply to comment #0)
> Here is the URL for Malayalam Wikipedia Article Apple:
> http://ml.wikipedia.org/wiki/%E0%B4%86%E0%B4%AA%E0%B5%8D%E0%B4%AA%E0%B4%BF%E0%B5%BE
> It is very difficult to use this URL in Email, Blog, Chat, IRC, etc.  Many of
> us will be happy if we can use 'http://ml.wikipedia.org/wiki/Apple' instead of
> the long URL.

The use case is invalid, you can ask shorturl extension now for this.
Closing per this + what bawolff said.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links