wfRunHooks( 'ApiTokensGetTokenTypes', array( &$types ) );
ksort( $types );
wfProfileOut( __METHOD__ );
+
return $types;
}
);
}
- public function getResultProperties() {
- $props = array(
- '' => array(),
- );
-
- self::addTokenProperties( $props, $this->getTokenTypes() );
-
- return $props;
- }
-
public function getParamDescription() {
return array(
'type' => 'Type of token(s) to request'
}
public function getDescription() {
- return 'Gets tokens for data-modifying actions';
+ return 'Gets tokens for data-modifying actions.';
}
protected function getExamples() {