Difference between revisions of "Search"
Jump to navigation
Jump to search
Susanna Ånäs (talk | contribs) (→Page navigation) |
(→Other possible search methods) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
* The search searches Wikidata for exact matches and presents the options in a pulldown. | * The search searches Wikidata for exact matches and presents the options in a pulldown. | ||
* A result row contains one line for the title and another line for the description. | * A result row contains one line for the title and another line for the description. | ||
− | * A row can also contain an image for the topic, and display an icon for the item classification. This [[item class ontology]] | + | * A row can also contain an image for the topic, and display an icon for the item classification. This would require an [[item class ontology]]. |
====Additional options==== | ====Additional options==== | ||
Additional options will be included as links in the end of the pulldown | Additional options will be included as links in the end of the pulldown | ||
− | * ''' | + | * '''Create a topic''' launches the [[Modal#Create a new topic|Create topic modal]]. |
* '''Show more''' displays more search results in the pulldown | * '''Show more''' displays more search results in the pulldown | ||
* '''Show all results''' displays all search results in a [[Search results]] module or page. | * '''Show all results''' displays all search results in a [[Search results]] module or page. | ||
− | ===Other topic pulldown | + | ====Challenges==== |
− | + | You need to know what you are looking for. The search does not use fuzzy methods. | |
− | * Red links | + | |
− | * User selected text | + | ===Other uses for the topic pulldown=== |
− | * | + | Similar pulldown can be used in other contexts, such as |
+ | * Red links – to search for existing Wikidata items or to create a missing one. | ||
+ | * User selected text – similar functionality but for arbitrary text. Likely cannot produce the link in the original Wikipedia article. | ||
+ | * Keyword pulldowns in the [[Image viewer]] associate keywords with items in Wikidata. | ||
[[File:Wikipedia Red link en.png]] | [[File:Wikipedia Red link en.png]] | ||
====Additional options==== | ====Additional options==== | ||
− | * A search field | + | * A search field is needed with the pulldown to be able to arrange and modify the search term. |
− | |||
− | |||
− | |||
− | |||
− | |||
==Useful source literature== | ==Useful source literature== |
Latest revision as of 07:50, 7 February 2021
Contents
Topic pulldown
The same search component is used throughout the service with slight alterations.
- The search searches Wikidata for exact matches and presents the options in a pulldown.
- A result row contains one line for the title and another line for the description.
- A row can also contain an image for the topic, and display an icon for the item classification. This would require an item class ontology.
Additional options
Additional options will be included as links in the end of the pulldown
- Create a topic launches the Create topic modal.
- Show more displays more search results in the pulldown
- Show all results displays all search results in a Search results module or page.
Challenges
You need to know what you are looking for. The search does not use fuzzy methods.
Other uses for the topic pulldown
Similar pulldown can be used in other contexts, such as
- Red links – to search for existing Wikidata items or to create a missing one.
- User selected text – similar functionality but for arbitrary text. Likely cannot produce the link in the original Wikipedia article.
- Keyword pulldowns in the Image viewer associate keywords with items in Wikidata.
Additional options
- A search field is needed with the pulldown to be able to arrange and modify the search term.
Useful source literature
Hildebrand, Michiel et al. The Design Space of a Configurable Autocompletion Component. CWI, 2007. Print.
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |