Open main menu

Community Wishlist Survey 2019/Search/Search by suffix

< Community Wishlist Survey 2019‎ | Search

 ◄ Back to Search  The survey has concluded. Here are the results!


  • 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)

DiscussionEdit

@燃灯: 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)

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)
@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)
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)
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)
  • 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)

VotingEdit

  •   Support Cohaf (talk) 19:40, 16 November 2018 (UTC)
  •   Support ديفيد عادل وهبة خليل 2 (talk) 09:03, 17 November 2018 (UTC)
  •   Support Libcub (talk) 11:25, 17 November 2018 (UTC)
  •   Support JogiAsad (talk) 18:06, 17 November 2018 (UTC)
  •   Support Liuxinyu970226 (talk) 12:32, 18 November 2018 (UTC)
  •   Support Wikimedia Incubator is a possible use case for this proposal as we work with prefixes and searching by suffix allows for comparison across test wikis. Hydriz (talk) 12:39, 18 November 2018 (UTC)
  •   Support JackPotte (talk) 22:20, 18 November 2018 (UTC)
  •   Support Simple way to search also supports educational application of WP. Omotecho (talk) 02:24, 20 November 2018 (UTC)
  •   Support Lostinlodos (talk) 03:43, 20 November 2018 (UTC)
  •   Support Lord van Tasm (talk) 13:13, 20 November 2018 (UTC)
  •   Support Vulphere 13:14, 20 November 2018 (UTC)
  •   Support Novak Watchmen (talk) 13:53, 21 November 2018 (UTC)
  •   Support Gce (talk) 18:34, 21 November 2018 (UTC)
  •   Support DannyS712 (talk) 20:11, 22 November 2018 (UTC)
  •   Support Hmxhmx 11:14, 24 November 2018 (UTC)
  •   Support By erdo can • TLK 09:10, 25 November 2018 (UTC)
  •   Support Hienafant (talk) 16:17, 27 November 2018 (UTC)
  •   Support Ciao • Bestoernesto 01:11, 28 November 2018 (UTC)
  •   Support Daniel Case (talk) 03:17, 29 November 2018 (UTC)
  •   Support Ldorfman (talk) 20:49, 29 November 2018 (UTC)