From f6d65e533c62f6deb21342d4901ece24497b433e Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 4 Jun 2015 07:31:04 +0200 Subject: Update to MediaWiki 1.25.1 --- includes/api/ApiClearHasMsg.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'includes/api/ApiClearHasMsg.php') diff --git a/includes/api/ApiClearHasMsg.php b/includes/api/ApiClearHasMsg.php index 32e20e80..eb471ae6 100644 --- a/includes/api/ApiClearHasMsg.php +++ b/includes/api/ApiClearHasMsg.php @@ -42,13 +42,10 @@ class ApiClearHasMsg extends ApiBase { return false; } - public function getDescription() { - return array( 'Clears the hasmsg flag for current user.' ); - } - - public function getExamples() { + protected function getExamplesMessages() { return array( - 'api.php?action=clearhasmsg' => 'Clears the hasmsg flag for current user', + 'action=clearhasmsg' + => 'apihelp-clearhasmsg-example-1', ); } -- cgit v1.2.3-54-g00ecf