Community Wishlist Survey 2020/Wiktionary/Allow searching using ^ and $ anchors at least for intitle: searches

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
Random proposal ►

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


  • Problem: For some reasons, CirrusSearch doesn't support ^ and $ anchors (It is not possible to search for strings beginning/ending with some sequence.) While I understand it's probably not needed for whole document searches, it would find practical uses in the context of intitle: searches.
  • Who would benefit: On Wiktionary it would be possible to search for words (entries) that start with a specific prefix / end with a specific suffix. But clearly there would be many other uses outside Wiktionary.
  • Proposed solution:
  • More comments:
  • Phabricator tickets:
  • Proposer: Zabavuju flašku chlastu maskovanou jako zubní pastu (talk) 15:29, 25 October 2019 (UTC)

Discussion[edit]

  • There is an intitle:^ search at Special:PrefixIndex. If you are searching inside the document aswell, then my suggestion is not so helpful.--Snaevar (talk) 02:06, 4 November 2019 (UTC)
  • What is your definition of start ? Line, page, table cell, a wrapping template ? —TheDJ (talkcontribs) 09:29, 6 November 2019 (UTC)
  • I've often wondered why intitle: doesn't support ^ and $. It's obvious why insource: doesn't, so did someone decide that both should use the exact same flavor of regex? Erutuon (talk) 00:19, 11 November 2019 (UTC)
  • Just a note about the use case of searching prefixes and suffixes in words, this is available when searching on Wikidata, e.g. ^pota.*.Uziel302 (talk) 00:47, 30 November 2019 (UTC)

Voting[edit]