Community Wishlist Survey 2019/Search/Search by suffix

Search by suffix

  • Problem: Here is an example: Sometimes I would want to look up for all the articles in Wikipedia that end with "by elevation" (an example returned by this search result shall include, say, list of all the countries by elevation). However it is not supported in the current searching function and it seems that no regEx would make this work either.
  • Who would benefit: Advanced editors who would want to patrol pages named with a fixed ending.
  • Proposed solution: Something similar to Special:PrefixIndex
  • More comments: This would be helpful for people who don't know RegEx well enough (like me). I anticipate that this would mostly be used on maintaining article namespace, category namespace and file namespace.
  • Phabricator tickets:
  • Proposer: 燃灯 (talk) 18:34, 4 November 2018 (UTC)[reply]

Discussion

@燃灯: Is https://en.wikipedia.org/w/index.php?search=intitle%3A%22*by+elevation%22&title=Special%3ASearch&go=Go what you want? See mw:Help:CirrusSearch. --AKlapper (WMF) (talk) 00:30, 5 November 2018 (UTC)[reply]

It works for whole words, but what about searching words with some suffix on wiktionary? "*ština"&title=Special%3ASearch&profile=default&fulltext=1&searchengineselect=mediawiki *ština finds only one result, but there should be 100+ more. JAn Dudík (talk) 20:56, 5 November 2018 (UTC)[reply]
@JAn Dudík: Is intitle:/.*ština/ as per mw:Help:CirrusSearch#Regular expression searches close enough? --AKlapper (WMF) (talk) 11:25, 6 November 2018 (UTC)[reply]
Yes, thanks, only problem with copying these urls. But not much user friendly for normal users. JAn Dudík (talk) 12:54, 6 November 2018 (UTC)[reply]
Thanks; I don't think many editors know that. But /.*ština/ does just the same as /ština/ (more slowly): it matches "Opština Vrbas" etc. intitle:/ština/ -intitle:/ština./ seems to work. Certes (talk) 00:22, 7 November 2018 (UTC)[reply]
  • It is very specialized and average readers do not usually need it. Advanced users can search it via query SELECT page_name FROM enwiki_p.page WHERE page_name LIKE "%by_elevation". --Tohaomg (talk) 21:45, 10 November 2018 (UTC)[reply]

Voting