Extension:Typography

Automatically replace "quotes" with “smart” quotes. Also replaces - with an em dash (—) and ... with an ellipsis (…).

Add   to disable it.

Limitations:


 * It uses "DOMDocument" to parse the HTML, but only looks inside every tag.


 * So   won't work, as it sees  ,  , and  .

This can (and should) be improved on at some point.

Installation

 * [<tvar|url>https://bitbucket.org/Carpetsmoker/mediawiki-typography/get/tip.tar.gz</> Download] and place the files in a directory called  in your <tvar|extensions> </> directory.

wfLoadExtension('Typography');
 * Add the following code at the bottom of your <tvar|LocalSettings> </>:


 * Done - Navigate to Special:Version on your wiki to verify that the extension is successfully installed.