Last modified: 2011-04-14 15:10:23 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 T24700, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22700 - Automatic typographic quotation marks
Automatic typographic quotation marks
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Extensions requests (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-02 19:00 UTC by Cristoph Päper
Modified: 2011-04-14 15:10 UTC (History)
4 users (show)

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


Attachments

Description Cristoph Päper 2010-03-02 19:00:41 UTC
It would be nice if Mediawiki could get a “Smart Quotes (and Apostrophes)” ability. I don’t care much if it would change the characters in the source or if it only changed " and ' for display. MW should of course ignore straight marks that are code themselves (Wiki markup or HTML, and inside <source/>). 

Several [http://www.poppyware.com/dunham/smartQuotes.html algorithms] have been published, so no need to reinvent the wheel, but if you assume certain style guides be followed, they may even be simplified and leave no ambiguous situations. (The Manual of Style for the English Wikipedia, for instance, requires double quotation marks used in the logic style.) 

I would prefer if only " and ' would be converted, not character SGML/HTML/XML references, but that would only work on the code and not the display level of course.
Comment 1 Bawolff (Brian Wolff) 2010-03-03 19:30:54 UTC
/me notes when I type a " I expect it to be a ", not some smart quote thing. Some wiki's (wikinews in particular) have policies against using smart quotes in articles.
Comment 2 Conrad Irwin 2010-03-03 19:39:37 UTC
I would not enjoy this feature either, but it could easily be added by an extension, either at save time, or parse time. I've changed the product to MediaWiki extensions accordingly.
Comment 3 Cristoph Päper 2010-03-04 09:42:40 UTC
Wikinews and English Wikipedia advice against typographic quotation marks simply because users can’t be expected to enter them correctly and consistently. A smart quotes feature would eliminate that concern.

There are, however, also people who actually like straight quotes better, but that also depends on the font – they might be okaish with some sans serif typefaces (as in the standard skin Monobook), but they are always ugly with serif faces.

A " or ' surrounded by whitespace (or punctuation) on both sides should probably not be converted.

The extension should be language-aware.

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


Navigation
Links