X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FFeedUtils.php;h=57ba4b3e083bc989d04e57f0b0bc592927b5ddf3;hb=4a883e2ec8dec91254b3232af298014121642d19;hp=a01d64208c528d75bf41d65b546885aa88873c21;hpb=96366c1cf1966ca07e8f0b4361bbca28bfaf43a0;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/FeedUtils.php b/includes/FeedUtils.php index a01d64208c..57ba4b3e08 100644 --- a/includes/FeedUtils.php +++ b/includes/FeedUtils.php @@ -128,11 +128,11 @@ class FeedUtils { if ( $oldid ) { - #$diffText = $de->getDiff( wfMessage( 'revisionasof', - # $wgLang->timeanddate( $timestamp ), - # $wgLang->date( $timestamp ), - # $wgLang->time( $timestamp ) )->text(), - # wfMessage( 'currentrev' )->text() ); + # $diffText = $de->getDiff( wfMessage( 'revisionasof', + # $wgLang->timeanddate( $timestamp ), + # $wgLang->date( $timestamp ), + # $wgLang->time( $timestamp ) )->text(), + # wfMessage( 'currentrev' )->text() ); $diffText = ''; // Don't bother generating the diff if we won't be able to show it @@ -185,10 +185,10 @@ class FeedUtils { $html = nl2br( htmlspecialchars( $text ) ); } } else { - //XXX: we could get an HTML representation of the content via getParserOutput, but that may + // XXX: we could get an HTML representation of the content via getParserOutput, but that may // contain JS magic and generally may not be suitable for inclusion in a feed. // Perhaps Content should have a getDescriptiveHtml method and/or a getSourceText method. - //Compare also ApiFeedContributions::feedItemDesc + // Compare also ApiFeedContributions::feedItemDesc $html = null; }