I can't find a way to get the text and comment of log entries through API:Watchlist.
There are fields 'logtype', 'logaction' and 'logparams' but how can I make human friendly text message using them?
Would be great to have also fields 'logtext' and 'logcomment' in response. (it looks like 'logcomment' can be different of 'comment', but I'm not sure)
It seems this is easily done by adding a few lines of code, as:
$vals['logtext'] = LogFormatter::newFromRow( $row )->getActionText(); $vals['logcomment'] = LogFormatter::newFromRow( $row )->getComment();
after line 409