Go to the documentation of this file.
37 $oldName =
$user->getName();
62 return 'Log out and clear session data.';
67 'api.php?action=logout' =>
'Log the current user out',
72 return 'https://www.mediawiki.org/wiki/API:Logout';
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
getAllowedParams()
Returns an array of allowed parameters (parameter name) => (default value) or (parameter name) => (ar...
getDescription()
Returns the description string for this module.
getUser()
Get the User object.
API module to allow users to log out of the wiki.
This abstract class implements many basic API functions, and is the base of all API classes.
execute()
Evaluates the parameters, performs the requested query, and sets up the result.
isReadMode()
Indicates whether this module requires read rights.
wfRunHooks( $event, array $args=array(), $deprecatedVersion=null)
Call hook functions defined in $wgHooks.
getResultProperties()
Returns possible properties in the result, grouped by the value of the prop parameter that shows them...
getParamDescription()
Returns an array of parameter descriptions.
getExamples()
Returns usage examples for this module.
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
please add to it if you re going to add events to the MediaWiki code where normally authentication against an external auth plugin would be creating a account $user