getUser(); $user->setNewtalk( false ); $this->getResult()->addValue( null, $this->getModuleName(), 'success' ); } public function isWriteMode() { return true; } public function mustBePosted() { return false; } protected function getExamplesMessages() { return array( 'action=clearhasmsg' => 'apihelp-clearhasmsg-example-1', ); } public function getHelpUrls() { return 'https://www.mediawiki.org/wiki/API:ClearHasMsg'; } }