User talk:Chocolateboy/smart quotes.user.js

Page contents not supported in other languages.
Source: Wikipedia, the free encyclopedia.

So how does this script handle weird cases like:

  • The article Apostrophe
  • The article Quotation mark
  • Hebrew's geresh
  • Hawaiian's
    'okina
  • Use to represent glottal stops in various languages.
  • As above but in languages which allow double glottal stops.
  • Transliterations for languages such as Arabic which represent
    'ayn
    with apostropes sometimes but should be specific other Unicode characters?

These are the kinds of cases that will be made worse by such a script. My Amuzgo dictionary was obviously created by somebody who didn't know how to turn off smart quote support in MS Words and it is full of wrong characters. I don't see how this script is any smarter than MS Word. — Hippietrail 16:33, 16 December 2005 (UTC)[reply]

It handles Quotation mark by not handling it: see the list of excludes. If this were implemented in MediaWiki, a more robust solution would be to use a template (e.g. {{unbalanced-double-quote}}), a directive (e.g. __NO_SMART_QUOTES__), <pre>...</pre>, or <nowiki>...</nowiki>.
Your other examples aren't relevant as the script doesn't purport to handle single quotes, which are clearly intractable.
chocolateboy 17:12, 16 December 2005 (UTC)[reply]

The script might not purport to handle such cases. But you do purport on Wikipedia talk:Manual of Style (Quotation marks and apostrophes) that the script is the right solution to getting nice-looking apostrophes and quote marks on Wikipedia.

I do like your script very much I have to say but I just don't find it a viable solution for making Wikipedia print-quality in regards to these characters. Cheers for the reply. — Hippietrail 17:25, 16 December 2005 (UTC)[reply]

Thanks for your comments and +ve feedback. I didn't mention apostrophes on that page. I don't think there's a case to be made for "smart" apostrophes in wikitext or in rendered text. Like "smart quotes", they're not used by respectable web sites. Either way, I guess we'll have to respectfully agree to disagree.
chocolateboy 18:06, 16 December 2005 (UTC)[reply]