Author: achuggard
Description:
There are pages that I would like to write an extension to create custom display
wrappers for specific pages (i.e. syntax highlighting for source code articles),
however it's close to impossible to pull and wrap the preview text.
by inserting:
wfRunHooks('EditPageBeforePreview',array(&$this,&$toparse));
at line 1384 of EditPage.php, 1.8alpha (r15811), it would be possible to wrap
preview text with the same or similar wrappers as one would do on view or edit.
This solves most of the problems for such an extension (see url). The only
remaining problem is how to implement the wrapper for when the cache occurs on
save without saving the wrapper in the database.
Version: unspecified
Severity: enhancement
URL: http://cirl.missouri.edu/downloads/CIRLCustom/HighlightCode.php