CodeReview: MWTidy was only introduced in v1.15, so I've fixed the new CodeCommentLinker::truncateHtml() function (introduced in
r62488) to use parser::tidy() instead of MWTidy::tidy(). The former is now just a wrapper function for the latter, and for core code the latter should be used. However extensions should continue to use the former (which is functionally identical) in order to maintain backwards compatibility with pre 1.15 versions of MediaWiki.