Go to the documentation of this file.
31 $user->setNewtalk(
false );
46 =>
'apihelp-clearhasmsg-example-1',
51 return 'https://www.mediawiki.org/wiki/Special:MyLanguage/API:ClearHasMsg';
getResult()
Get the result object.
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
mustBePosted()
Indicates whether this module must be called with a POST request.
API module that clears the hasmsg flag for current user.
This abstract class implements many basic API functions, and is the base of all API classes.
isWriteMode()
Indicates whether this module requires write mode.
getExamplesMessages()
Returns usage examples for this module.
getHelpUrls()
Return links to more detailed help pages about the module.
getModuleName()
Get the name of the module being executed by this instance.