X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeedUtils.php;h=a01d64208c528d75bf41d65b546885aa88873c21;hb=fd62703d505e3e233fb7842d7349a4e9302bb5f4;hp=7936b3748d0c1d1ca7e45ee43c31312c84ba886b;hpb=152cd9e470b104284394ecf35eb085425ef57654;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index 7936b3748d..a01d64208c 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -127,7 +127,6 @@ class FeedUtils { } if ( $oldid ) { - wfProfileIn( __METHOD__ . "-dodiff" ); #$diffText = $de->getDiff( wfMessage( 'revisionasof', # $wgLang->timeanddate( $timestamp ), @@ -165,10 +164,9 @@ class FeedUtils { $diffText = "

Can't load revision $newid

"; } else { // Diff output fine, clean up any illegal UTF-8 - $diffText = UtfNormal::cleanUp( $diffText ); + $diffText = UtfNormal\Validator::cleanUp( $diffText ); $diffText = self::applyDiffStyle( $diffText ); } - wfProfileOut( __METHOD__ . "-dodiff" ); } else { $rev = Revision::newFromId( $newid ); if ( $wgFeedDiffCutoff <= 0 || is_null( $rev ) ) {