Thread:Project:Support desk/Hooks and Parsers duplicate pages

MediaWiki 	1.21.2 PHP 	5.3.2-1ubuntu4.21 (apache2handler) MySQL 	5.1.70-0ubuntu0.10.04.1

I recently upgraded from Mediawiki 1.17. I was using the ArticleAfterFetchContent hook to format code onto various other wikipages which worked fine in the old wiki, but do not in the new version. The only way to get the code to look correct is to use the hook 'ParserBeforeInternalParse'. However, this duplicates the information on each page, and when I go to edit the wiki page, the Save Page, Show Preview, and Show changes buttons are hidden amongs the rendered code.