classes/phing/tasks/ext/WikiPublishTask.php
private function callApiTokens()
    {
        $result = $this->callApi('action=tokens&type=edit');
        if (false == isset($result['tokens']) || false == isset($result['tokens']['edittoken'])) {
            throw new BuildException('Wiki token not found');
        }

        $this->apiEditToken = $result['tokens']['edittoken'];
    }
private function callApiTokens()
    {
        $result = $this->callApi('action=tokens&type=edit');
        if (false == isset($result['tokens']) || false == isset($result['tokens']['edittoken'])) {
            throw new BuildException('Wiki token not found');
        }

        $this->apiEditToken = $result['tokens']['edittoken'];
    }
private function callApiTokens ( ) { $ result = $ this -> callApi ( 'action=tokens&type=edit' ) ; if ( false == isset ( $ result [ 'tokens' ] ) || false == isset ( $ result [ 'tokens' ] [ 'edittoken' ] ) ) { throw new BuildException ( 'Wiki token not found' ) ; } $ this -> apiEditToken = $ result [ 'tokens' ] [ 'edittoken' ] ; }
Call Wiki webapi tokens action

@throws BuildException
Call Wiki webapi tokens action