Test plan: Difference between revisions

Jump to navigation Jump to search
15 bytes removed ,  30 August 2024
Line 590: Line 590:
* Description - The {{Mw|article=Extension:CirrusSearch|label=CirrusSearch}} extension implements searching for MediaWiki using [[Elasticsearch]].
* Description - The {{Mw|article=Extension:CirrusSearch|label=CirrusSearch}} extension implements searching for MediaWiki using [[Elasticsearch]].
* Test - As this affects the default search for the wiki, test one or two of the features mentioned on [[Help:Search]]:
* Test - As this affects the default search for the wiki, test one or two of the features mentioned on [[Help:Search]]:
* sorting navigation suggestions by the number of incoming links.
** sorting navigation suggestions by the number of incoming links.
 
** Starting with the tilde character ~ to disable navigation and suggestions in such a way that also preserves page ranking.
** Starting with the tilde character ~ to disable navigation and suggestions in such a way that also preserves page ranking.
** Smart-matching characters by normalizing (or "folding") non-keyboard characters into keyboard characters.
** Smart-matching characters by normalizing (or "folding") non-keyboard characters into keyboard characters.
** Words and phrases that match are highlighted in bold on the search results page.<ref>The highlighter is a yet another analyzer, in addition to the indexing analyzers. Being a large software application the Search highlighter may not always be 100% in sync (in the snippet) with what Search will match on the page. The highlighter can match better or worse. Nevertheless, ''query'' prefix:<nowiki>{{FULLPAGENAME}}</nowiki> is certainly an excellent way to learn. For the most effective tests, search through just enough live pages to give a few hundred samples, by limiting the search domain with ''prefix''.</ref>
** Words and phrases that match are highlighted in bold on the search results page.<ref>The highlighter is a yet another analyzer, in addition to the indexing analyzers. Being a large software application the Search highlighter may not always be 100% in sync (in the snippet) with what Search will match on the page. The highlighter can match better or worse. Nevertheless, ''query'' prefix:<nowiki>{{FULLPAGENAME}}</nowiki> is certainly an excellent way to learn. For the most effective tests, search through just enough live pages to give a few hundred samples, by limiting the search domain with ''prefix''.</ref>
** Ability to search within [[Portable document format|PDFs]] with machine readable text (non-image PDFs)
** Ability to search within [[Portable document format|PDFs]] with machine readable text (non-image PDFs)
** Fuzzy searches and wildcard searches will be improved ([[Help:Search#Words.2C phrases.2C and modifiers|Words, phrases, and modifiers]])
** Fuzzy searches and wildcard searches will be improved ([[Help:Search#Words.2C phrases.2C and modifiers|Words, phrases, and modifiers]])
** Some spelling correction using the "Did you mean?"
** Some spelling correction using the "Did you mean?"
*** Example - When searching for "secratary," it gives the searcher "Showing results for ''secretary''. Search instead for secratary."
*** Example - When searching for "secratary," it gives the searcher "Showing results for ''secretary''. Search instead for secratary."
** Ability to look for pages in specific [[categories]] ([[Help:Search#incategory|incategory]]), have a template ([[Help:Search#Hastemplate|hastemplate]]), or pages that link to a page ([[Help:Search#Linksto|Linksto]])
** Ability to look for pages in specific [[categories]] ([[Help:Search#incategory|incategory]]), have a template ([[Help:Search#Hastemplate|hastemplate]]), or pages that link to a page ([[Help:Search#Linksto|Linksto]])
*** Examples - <code>incategory: AU</code>, <code>hastemplate: Cats</code>, <code>linksto: "Correspondence reference materials (Office of Science)"</code>
*** Examples - <code>incategory: AU</code>, <code>hastemplate: Cats</code>, <code>linksto: "Correspondence reference materials (Office of Science)"</code>
** When you start typing in the search box, the article suggestions are sort by article quality. Those suggestions should take into account the number of incoming [[Internal links|wikilinks]], the size of the page, the number of [[external links]], the number of [[headings]], and the number of [[redirects]].
** When you start typing in the search box, the article suggestions are sort by article quality. Those suggestions should take into account the number of incoming [[Internal links|wikilinks]], the size of the page, the number of [[external links]], the number of [[headings]], and the number of [[redirects]].
** Look for similar pages ([[Help:Search#Morelike|Morelike]]), have text in the page title ([[Help:Search#intitle|intitle]]), or [[Help:Search#subpageof|search subpages]] (recommended mainly for [[Help:Portals|Portals]])
** Look for similar pages ([[Help:Search#Morelike|Morelike]]), have text in the page title ([[Help:Search#intitle|intitle]]), or [[Help:Search#subpageof|search subpages]] (recommended mainly for [[Help:Portals|Portals]])
*** Examples - <code>morelike:Electric vehicle</code>, <code>morelike:Electric vehicle|Office of Energy Efficiency and Renewable Energy</code>, <code>subpageof:"Training (Saintapedia)"</code>, and <code>portal:subpageof:"2016 Transition"</code>
*** Examples - <code>morelike:Electric vehicle</code>, <code>morelike:Electric vehicle|Office of Energy Efficiency and Renewable Energy</code>, <code>subpageof:"Training (Saintapedia)"</code>, and <code>portal:subpageof:"2016 Transition"</code>
** Search the uploaded files by size ([[Help:Search#filesize|filesize]]), type ([[Help:Search#filetype|filetype]]), file format ([[Help:Search#filemime|filemime]]), or other measurements ([[Help:Search#File measures|File measures]] )
** Search the uploaded files by size ([[Help:Search#filesize|filesize]]), type ([[Help:Search#filetype|filetype]]), file format ([[Help:Search#filemime|filemime]]), or other measurements ([[Help:Search#File measures|File measures]] )
*** Examples - <code>filesize:<10240</code>, <code>filetype:video</code>, <code>filemime:svg</code>, and <code>filewidth:1024</code>
*** Examples - <code>filesize:<10240</code>, <code>filetype:video</code>, <code>filemime:svg</code>, and <code>filewidth:1024</code>
** Expanding templates, meaning that all content from a template is now reflected in search results.
** Expanding templates, meaning that all content from a template is now reflected in search results.
** Faster updates to the search index, meaning changes to articles are reflected in search results much faster.
** Faster updates to the search index, meaning changes to articles are reflected in search results much faster.


Navigation menu