Cross-wiki Search Result Improvements/fr

A New Goal
Le département de Recherche envisage la possibilité de fournir des résultats de recherche d’autres projets Wikimedia ayant la même langue (habituellement désignée par « recherches inter-wikis »).

Par exemple, si vous étiez sur le Wikivoyage en français et aviez recherché « milk », vous auriez vu les articles de la Wikipédia en français correspondant à la recherche ainsi que les résultats d’autres projets Wikimedia en français (par exemple, du Wiktionnaire et de fr.wikiquote).

Cette page est une tentative de résumé de certaines de nos idées et nous invitons tous les contributeurs à discuter ouvertement de ce changement potentiel sur la page de discussions.

'' Cette idée est différente, même si liée, de la nouvelle fonctionnalité élaborée par l’équipe technique de Recherche et activée un peu plus tôt cette année. Cette nouvelle fonctionnalité montrent les résultats d’autres Wikipédias lorsqu’il a été détecté que les termes de la recherche de l’utilisateur sont peut-être dans une autre langue, parce que la recherche locale donne moins de deux résultats. Le sujet de cette page − un nouvel affichage pour les résultats de la recherche sur les autres wikis dans la même langue − viendra en complément de la nouvelle fonctionnalité de détection de la langue et ne la remplacera pas.''

The Rationale
La manière dont la recherche fonctionne actuellement pour tous les projets Wikimedia est la suivant : chaque langue de projet a son propre index de recherche. This means that there is currently no way to search across all wiki projects for relevant results at the same time. However, on the backend, the language is the same for a search (regardless of project) and visitors may be interested in information that could be in a sister project in their language.

Providing search results across projects (within the same language) provides more information to visitors, easier visibility into other projects, and increases the value Wikimedia visitors receive out of searching on-wiki, which includes the potential for less zero result searches.

Displaying additional search results across projects will not only increase visibility to those other sister projects but it could also increase discovery into more articles of interest and possibly even encouraging additional contributions.

Why haven't we done this already?
Why not have one giant index to search across all projects in all languages?
 * Technical complexity is one reason: the size of the resulting index would be in the hundreds of gigabytes. For example, the English Wikipedia database index of all article pages is around 200 gigabytes. Providing timely search results would be negatively impacted having just one massive database index.
 * Another reason for this 'one language' search results approach is that it probably wouldn't be very useful to search for a topic across all languages. Searching for "Paris, France" and seeing generally the same article in French, German, and English wouldn't help very much in discovering new information.

The English language wiki projects are quite large:
 * English Wikipedia index for all English article pages is approximately 200 GB
 * English Wikinews is approximately 15 GB
 * English Wikisource is approximately 6 GB

This might impact various existing wiki workflows by displaying additional search results.
 * This could possibly affect bots, contributors, researchers, readers, etc.

The Plan
In the first quarter (July - September 2016) the engineering team will continue to work on the following four main steps:

First


 * Combine indexes within the same languages.
 * Ask for the help from the community - which includes the discussion on this page.
 * The Search and Design teams at WMF will create mockups of how these new search results might be displayed.

Second

By the end of the next quarter (tentatively October - December 2016) the team will compare search satisfaction. This will be done:


 * after the cross-wiki index is ready for several pre-selected languages
 * after running A/B tests to collect real time data with which to analyze

Third


 * Once the above is completed, we'll probably release this new feature as part of the Beta Feature set for further feedback and testing from the community.

Fourth


 * Release into production on selected wikis.

Current Search Examples
There are already a few community-led solutions to provide additional discovery of other Wikimedia projects and articles in the same language. Here is a small collection of examples:

Current search results pages for a few language wikis:


 * Hatian Creole:
 * https://ht.wikipedia.org/wiki/Espesyal:Chache/Milk
 * Entries at the page-bottom are added via mw:Extension:ArticlePlaceholder
 * French:
 * https://fr.wikipedia.org/w/index.php?title=Spécial:Recherche&profile=default&fulltext=Search&search=milk&searchengineselect=mediawiki
 * Entries at the page-bottom are added via d:User:Yair_rand/WikidataInfo.js
 * Italian:
 * https://it.wikipedia.org/w/index.php?search=milk&title=Speciale:Ricerca&fulltext=1
 * Entries at the page-bottom are added via d:User:Yair_rand/WikidataInfo.js
 * Navbox at the page-side is added via w:it:MediaWiki:Search-interwiki-custom

External Search Gadget:
 * mw:MediaWiki:Gadget-externalsearch.js
 * This gadget will search a custom list of technical sites, giving a multi-tab result list and is further explained at Wikimedia technical search
 * Here is a screenshot of this custom action (unfortunately, searching for "google.com/cse" can trigger a spam filter message for some browsers)

How could these additional search results be displayed?
The appearance of search results is open for discussion and we have some rough drafts for you to look at below with more design possibilities on Design. Here are a few examples of what a new search results page could look like based on existing solutions on other language wikis:

Help us choose the solution
Please provide your feedback now!
 * Two quarters are needed, at a minimum, to architect and design the technical implementation.
 * The team would like to have something to test and to show to the community sometime in late 2016.

The Questions
The team has many questions and this is what we'd like to request feedback on from the community:


 * 1) How do we want these new, additional, relevant search results to be displayed?
 * 2) Should the results from whatever wiki you're on to be shown first and then have an option to show more from other wikis?
 * 3) Should the additional results be inter-mixed with the local wiki results?
 * 4) Should the additional results be displayed off to the side (or maybe the bottom) of the results page?
 * 5) Should we have the option to turn off  these other relevant search results (a user and/or project opt-out)?
 * 6) * This could be a keyword search term or maybe a button for a visitor to click
 * 7) * This could also be similar to the  keyword that will only search for images on the local wiki and not Commons files, for instance.
 * 8) Would the additional results be best displayed as a list or a grid design?
 * 9) Should we include relevant metadata (images and/or a short description) with the search results?
 * 10) Do the results need to have the size of the article (i.e.:  ) and the date it was created/modified?
 * 11) Should we indicate that clicking on a result will take you to another wiki project?
 * 12) How many results from other wikis should we show - 1, 2, 3, or more?
 * 13) Should we limit the existing method of displaying results from the wiki that you searched on?
 * 14) * We currently show up to 10,000 results in a paginated manner, but testing shows that generally only the first 3 results are ever acted upon.
 * 15) Do we want these new search results to work across all Wikimedia projects?
 * 16) For example, if I'm on Wikiquote, do I want to also see relevant search results from Wikivoyage, Wikipedia or Wikinews?
 * 17) Or, if I'm on Wikipedia, just show me results from other projects?
 * 18) Would these other relevant search results be useful and encourage deeper exploration into various topics?
 * 19) Is it annoying to see the other wiki search results?
 * 20) Conversely, does it encourage a user to discover more knowledge?
 * 21) How much weight do we give results from other wiki projects in the results?
 * 22) Will the display of the additional search results from other wikis encourage contributions from editors?
 * 23) i.e.: if you search for   and don't see a Wikivoyage article about it (while I'm searching on Wikiquote), would that encourage you to start an article for it?
 * 24) Should we limit the amount of languages we search in?
 * 25) i.e.: only use the top 50 languages to implement this in?
 * 26) Or, only use the languages that we are detecting queries in an other language than the wiki the user is on?