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