33 MediaWikiServices::getInstance()
34 ->getTalkPageNotificationManager()
35 ->removeUserHasNewMessages( $user );
51 =>
'apihelp-clearhasmsg-example-1',
56 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 Stable to override.
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.
getUser()
Stable to override.