- public function getDescription() {
- return array( 'Clears the hasmsg flag for current user.' );
- }
-
- public function getExamples() {
- return array(
- 'api.php?action=clearhasmsg' => 'Clears the hasmsg flag for current user',
- );
+ protected function getExamplesMessages() {
+ return [
+ 'action=clearhasmsg'
+ => 'apihelp-clearhasmsg-example-1',
+ ];