From 4c812f84629ee2472173c39d603c1391768a1daf Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 14 Jun 2012 17:15:08 +0200 Subject: [PATCH] use 'contentformat' instead of 'textformat' in result Change-Id: If2d392329bb1618dbacf489f96b53115281b8e97 --- includes/api/ApiQueryRevisions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.20.1