Extension:TagCorrection

What can this extension do?
This extension helps to be able to use MediaWiki+FCKeditor with plugins like syntax highlighting etc. using. The extensions corrects for example &amp;lt;source lang="php"&amp;gt; to &lt;source lang="php"&gt;. So with this extension you can paste code into the WYSIWYG editor. Actually reediting isn't possible for some tags. I will try to resolve this issue.

Changes to LocalSettings.php
add the following code to the end:

Code
Download the file TagCorrection.zip and unzip it in your extensions directory:

Parameter
To add more tags to be corrected by this extension, add the tagname to $wgTagnames.

To have special HTML Codes replaced within a tag, add the tagname to $wgTagnamesHtmlReplace.

Any other text you want to have replaced with all tags listed in $wgTagnamesHtmlReplace, have to be added in $wgHtmlCodeReplace in the form "code" => "replacement".

TODO

 * Convince my boss not to use MediaWiki+FCKeditor
 * Convince FCKeditor developers to built the functionality into their editor and make this extension unnecessary
 * Add more tags
 * Check my regulary expression if its ok