Merge "Update article count when pages are moved"
[lhc/web/wiklou.git] / includes / api / ApiClearHasMsg.php
index 32e20e8..eb471ae 100644 (file)
@@ -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',
                );
        }