User:Kephir/gadgets/preview

Enchanted Preview makes minor tweaks to the article editor.

As of now, the tweaks are:
 * Dynamic preview shows up in a separate box, laid over the editing area, which is dimmed; the box also contains the categories box, templates and hidden categories lists, the latter of which are made collapsible. Feature removed. Collapsible preview moved to User:Kephir/gadgets/unclutter.
 * The empty summary check and warning (if enabled in preferences) is done with JavaScript, saving you a page reload.
 * MathJax is triggered in dynamic preview, if both are enabled. (obsolete since 1.25wmf12)
 * Scribunto error messages are clickable in the dynamic preview. (cannot be done after 1.25wmf12; T75618)
 * Syntax highlighting works in dynamic preview. (obsolete since 1.25wmf12)

Warning: features may be added and removed at the author's discretion.