Attempting to address bug 34653; It seems ApiQueryLogEvents has not kept up with...
authorArthur Richards <awjrichards@users.mediawiki.org>
Fri, 24 Feb 2012 23:39:42 +0000 (23:39 +0000)
committerArthur Richards <awjrichards@users.mediawiki.org>
Fri, 24 Feb 2012 23:39:42 +0000 (23:39 +0000)
commit0d6cf02826af47cf18d62ec61bdfe7d92d40f127
tree2818288a9948cc040437bf7738b3204b17e7dbc6
parentfccd98c56f734b1cca395d66c0db4fca4faa59ea
Attempting to address bug 34653; It seems ApiQueryLogEvents has not kept up with changes to the Logging classes. I've changed some aspects of the ApiQueryLogEvents to use a DatabaseLogEntry object when extracting log row information and updated addLogParams to use this new scheme for handling parameters. I have not been able to sufficiently test this and I am still concerned about backwards compatibility with old parameter formats for older log records as well as parameter handling for the 'rights' and 'block' log types.
includes/api/ApiQueryLogEvents.php