"Reedy" posted a comment on MediaWiki.r112374.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/112374#c31649

Commit summary for MediaWiki.r112374:

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.

Reedy's comment:

<pre>
mysql> select * from logging where log_id = 4096837\G
*************************** 1. row ***************************
       log_id: 4096837
     log_type: patrol
   log_action: patrol
log_timestamp: 20120229170153
     log_user: 6122
log_namespace: 0
    log_title: marquises
  log_comment:
   log_params: 
a:3:{s:8:"4::curid";i:10091973;s:9:"5::previd";i:10091972;s:7:"6::auto";i:1;}
  log_deleted: 0
log_user_text: TAKASUGI Shinji
     log_page: 348496
1 row in set (0.00 sec)

mysql> select * from logging where log_id = 4077622\G
*************************** 1. row ***************************
       log_id: 4077622
     log_type: patrol
   log_action: patrol
log_timestamp: 20120224015248
     log_user: 6122
log_namespace: 0
    log_title: roa-tara
  log_comment:
   log_params: 10074107
0
0
  log_deleted: 0
log_user_text: TAKASUGI Shinji
     log_page: 2378648
1 row in set (0.00 sec)
</pre>

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to