* Get an array mapping token names to their handler functions.
* The prototype for a token function is func($user)
* it should return a token or false (permission denied)
+ * @deprecated since 1.24
* @return array Array of tokenname => function
*/
protected function getTokenFunctions() {
}
/**
+ * @deprecated since 1.24
* @param User $user
* @return string
*/
ApiBase::PARAM_ISMULTI => true
),
'token' => array(
+ ApiBase::PARAM_DEPRECATED => true,
ApiBase::PARAM_TYPE => array_keys( $this->getTokenFunctions() ),
ApiBase::PARAM_ISMULTI => true
),