Last modified: 2014-01-29 13:01:25 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 T26289, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24289 - Pass search parameters to the interwiki links on special pages
Pass search parameters to the interwiki links on special pages
Status: NEW
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
1.17.x
All All
: Low enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-06 17:34 UTC by 01mf02
Modified: 2014-01-29 13:01 UTC (History)
4 users (show)

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


Attachments

Description 01mf02 2010-07-06 17:34:07 UTC
Use case:
When I search for e.g. movies on Wikipedia, I usually type the movie name into the search field. However, sometimes movie articles are available in other languages only. When I realise that, I have to copy the movie name, go to the main page, switch to the other language, paste the movie name into the search field and search there.

Possible solution:
On search results, there could be the usual language selection area which is present on most articles. Clicking on a language there would take you to the search dialog of the specific language version of the wiki, or maybe even directly to the desired article.

User scenario:
- User starts English Wikipedia.
- User searchs for "Le petit baigneur".
- Search results appear, because the article was not found on the English WP.
- User clicks "Francais" in the "Languages" area at the left.
- Article "Le petit baigneur" appears on the French WP.

What do you think?
Comment 1 Robert Stojnic 2010-07-06 17:44:38 UTC
I am not sure if there is currently a mechanism for adding interwiki links to special pages, but it might be a good idea to have one. Or, interwiki links for special pages like special:search could be automatically generated from available languages.
Comment 2 01mf02 2010-09-04 17:17:35 UTC
I just wanted to know if there is any progress on this bug? The latter feature Robert proposed, having automatically generated interwiki links from available languages, seems to me like the way to go ...
Comment 3 Bergi 2011-03-09 19:12:04 UTC
I think this would be the best solution for this recurrent issue.

Interwiki links at special pages are already possible, for example see http://de.wikipedia.org/wiki/Spezial:Letzte_Änderungen (MediaWiki:Recentchangestext includes the interwiki-link-template for the German main page, which has the advantage that the interwikis are well selected).

A cross-project search feature is favored all the time, a quick search gave already Bug 25278, Bug 24658, Bug 22420 and Bug 1837 (not including duplicates).

I think providing this at the already existing interwiki portlet is the most intuitive and simple solution, which also does not need a multi-project content search.

So I'm "capturing" this bug and giving it a more general approach: Pass the url parameters at special pages on to the interwiki links (when there are some). This should be comparatively easy, there's just one ambitious thing:
localised parameter values, for example "go=Artikel", should be internationalized or simplified to e.g. "go=1" or "fulltext=fulltext".

This feature is most needed at Special:Search, and the parameter replacement could be hardcoded for that, but it would be even better if it worked on every special page.
Comment 4 Krinkle 2011-03-09 22:20:55 UTC
In order to do this "The Right Way" we need:

* Ability to add interwiki links to a Special-page without hacking via one of the interface messages on that page

Or:

* Ability to know which interwikis are MediaWiki-installs (ie. not bugzilla or googlecache) and which aren't [1]
* And add a wikiglobal configuration option to enable automatic listing of interlanguage links on SpecialPages, filtering only interwikis that are A) local=1, B) interlanguage (ie. not wiktionary from en.wikipedia), C) are actual mediawiki-installations with a known scriptpath


--
Krinkle


[1] This is fixed in trunk if I recall correctly. The interwiki table was expanded in 1.17 or 1.18.
Comment 5 Bergi 2011-03-14 19:10:50 UTC
(In reply to comment #4) 
> * Ability to add interwiki links to a Special-page without hacking via one of
> the interface messages on that page

OK, even that is not working on every special page, we've tried (http://de.wikipedia.org/w/index.php?title=MediaWiki:Search-nonefound&action=history) and failed.
When this is implemented neat (for all special pages) I guess some new interface messages should be targeted, so that theres no need to hack some of the existing (which may only in special cases be present at the page).

I don't think we need a wikiglobal configuration, just as like as the interwiki links on the several mainpages.

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


Navigation
Links