From 9db190c7e736ec8d063187d4241b59feaf7dc2d1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 22 Jun 2011 11:28:20 +0200 Subject: update to MediaWiki 1.17.0 --- includes/api/ApiFormatDump.php | 64 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 includes/api/ApiFormatDump.php (limited to 'includes/api/ApiFormatDump.php') diff --git a/includes/api/ApiFormatDump.php b/includes/api/ApiFormatDump.php new file mode 100644 index 00000000..6197563d --- /dev/null +++ b/includes/api/ApiFormatDump.php @@ -0,0 +1,64 @@ +getResultData() ); + $result = ob_get_contents(); + ob_end_clean(); + $this->printText( $result ); + } + + public function getDescription() { + return 'Output data in PHP\'s var_dump() format' . parent::getDescription(); + } + + public function getVersion() { + return __CLASS__ . ': $Id$'; + } +} -- cgit v1.2.3-54-g00ecf