Summary
Wikimedia wikis search results only show results from content within the wiki, but not other sources of discussion and documentation. Integrating Wikimedia Space search results would allow Wikimedia wikis users to search and potentially find more information from the Wikimedia movement related to technical and social news and discussion.
Requirements
When a user searches at Special:Search they are presented with the on-wiki search results and in addition to relevant search results from Wikimedia Space. Users can opt-out of viewing the Space search results via some easily accessible method such as via a preference or user profile CSS rule. Wikis can opt-in to include search results. Users can also search Space results by enabling a filter in advanced search.
Search results are indexed in ElasticSearch and are kept up-to-date the same as the on-wiki index. Search results have the proper relevancy (via scoring). The excerpt for each matching result will have the query highlighted in bold. The inclusion of search results can be made configurable in a per-wiki basis.
Feature
Search results from Wikimedia Space should include the following metadata:
- Title of the topic on Space
- Contextual excerpt that is returned for the keyword searched
- Date of publication
- Category and tags
Examples
Searching for "test" returns:
<Topic title>
<excerpt>
<date of publication> <categories> <tags>
Benefit
Users who are new to the movement may assume that all movement knowledge is kept on-wiki. This is not the case. The inclusion of Wikimedia Space provides more centralized results in what people are looking for. It also provides for more awareness of Wikimedia Space as a venue for news, help, and discussion. Movement organizers can also provide more insight into their discussions, events, and activities if they choose to use Wikimedia Space over alternatives (such as Facebook or Twitter) that can not be indexed.
Acceptance Criteria
MVP of search would show results from Space next to existing results, perhaps with simply the title of the Space topic.
A complete, stable extension can do the above as described with compatibility with all major browsers, functionality with javascript disbled, aria compliant, and with support for RTL languages.
Design
Similar to the "Results from sister projects" sidebar in current Wikimedia search results. Perhaps as a new section below, "Results from Wikimedia Space"
See also