Last modified: 2014-01-05 18:34:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38313, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36313 - autocompletion in search box: apostrophe equivalent
autocompletion in search box: apostrophe equivalent
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-27 22:42 UTC by Drongou
Modified: 2014-01-05 18:34 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Drongou 2012-04-27 22:42:51 UTC
This comes from a discussion on WP:fr focus on switch from the Vertical typewriter apostrophe ( ' ) to the typographic apostrophe ( ’ ) in titles or texts

see : http://fr.wikipedia.org/wiki/Wikipédia:Sondage/Apostrophe_typographique

We need, if the discussion succeeds to switch to title with typographic apostrophe, that the autocompletion treats as equivalent all apostrophes like : http://en.wikipedia.org/wiki/%27#Computing or http://fr.wikipedia.org/wiki/Apostrophe_(typographie)#En_informatique

Example in WP:de http://de.wikipedia.org/wiki/L’École_des_filles

completion works with: l’ecole (typographic apostrophe) but doesn't work with: L'École (vertical apostrophe)

This also is needed for the autocompletion process in the help box when you add a internal link when you are contributor.
Comment 1 Nik Everett 2014-01-05 18:34:10 UTC
Cirrus actually maps both those apostrophes to spaces for prefix search and "go" search as of the last release.  This was done with Bug 58702 which is basically a duplicate of this bug that I made because I didn't search hard enough for this bug.

OTOH, because we don't let Cirrus highlight the search results, this leads to the funky behaviour that you see documented in Bug 52656: while cirrus spits out a nice list of potential matches for prefix search the highlighting only highlights _exact_ matches ignoring ascii folding and other sorts of character transformations.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links