HomePhabricator

CodeReview: MWTidy was only introduced in v1.15, so I've fixed the new…

Authored by HappyDog.

Description

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.

Details

Committed
HappyDogFeb 15 2010, 9:51 AM
Parents
rECRE51bed49c0def: * Bug 22136: "Add link to show only own revisions in top menu" * added…
Branches
Unknown
Tags
Unknown
ChangeId
None