classes/phing/tasks/ext/WikiPublishTask.php
private function getApiEditData()
    {
        $result = [
            'minor' => '',
        ];
        if (null !== $this->title) {
            $result['title'] = $this->title;
        }
        if (null !== $this->id) {
            $result['pageid'] = $this->id;
        }
        $result[$this->modeMap[$this->mode]] = $this->content;

        return $result;
    }
private function getApiEditData()
    {
        $result = [
            'minor' => '',
        ];
        if (null !== $this->title) {
            $result['title'] = $this->title;
        }
        if (null !== $this->id) {
            $result['pageid'] = $this->id;
        }
        $result[$this->modeMap[$this->mode]] = $this->content;

        return $result;
    }
private function getApiEditData ( ) { $ result = [ 'minor' => '' , ] ; if ( null !== $ this -> title ) { $ result [ 'title' ] = $ this -> title ; } if ( null !== $ this -> id ) { $ result [ 'pageid' ] = $ this -> id ; } $ result [ $ this -> modeMap [ $ this -> mode ] ] = $ this -> content ; return $ result ; }
Return prepared data for Wiki webapi edit action

@return array
Return prepared data for Wiki webapi edit action