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.

Changelog
Version 0.1.2: Self closing tags like &lt;references /&gt; are now supported.

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.


 * To have self closing tags corrected enter them into $wgSelfClosingTagnames.

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

 * Add more tags
 * Check if other tags should be supported