From: daniel Date: Thu, 14 Jun 2012 15:15:08 +0000 (+0200) Subject: use 'contentformat' instead of 'textformat' in result X-Git-Tag: 1.31.0-rc.0~22097^2^2~96 X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28?a=commitdiff_plain;h=4c812f84629ee2472173c39d603c1391768a1daf;p=lhc%2Fweb%2Fwiklou.git use 'contentformat' instead of 'textformat' in result Change-Id: If2d392329bb1618dbacf489f96b53115281b8e97 --- diff --git a/includes/api/ApiQueryRevisions.php b/includes/api/ApiQueryRevisions.php index f53f6e8104..e3f13be5ba 100644 --- a/includes/api/ApiQueryRevisions.php +++ b/includes/api/ApiQueryRevisions.php @@ -554,7 +554,7 @@ class ApiQueryRevisions extends ApiQueryBase { } $text = $content->serialize( $format ); - $vals['textformat'] = ContentHandler::getContentFormatMimeType( $format ); + $vals['contentformat'] = ContentHandler::getContentFormatMimeType( $format ); } if ( $text !== false ) {