"Reedy" posted a comment on MediaWiki.r112700.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/112700#c31653
Commit summary for MediaWiki.r112700:
Followup r112374/bug 34653
We still get legacy log entries, so grab the data from parameters as applicable
Should probably be encapsulated into DatabaseLogEntry itself, with a
getParamValue esk wrapper
This fixes issues noticed on live site for the moment
TODO: Check if rights/block are still ok (probably not?)
TODO: If (especially if above needs doing) encapsulate grabbing of old/new
parameters to logging code
Reedy's comment:
Block:
<pre>
<item logid="358884" pageid="0" ns="2" title="User:Tavoniko" type="block"
action="block" user="Reedy" timestamp="2010-08-05T06:59:12Z" comment="Spamming">
<block flags="nocreate" duration="infinite" />
</item>
</pre>
<pre>
<item logid="605625" pageid="42049" ns="2" title="User:Reedy"
type="block" action="block" user="Reedy" timestamp="2012-02-29T18:51:15Z"
comment="Test">
<block flags="noautoblock" duration="5 seconds"
expiry="2012-02-29T18:51:20Z" />
</item>
<item logid="605623" pageid="0" ns="2" title="User:Reedy Bot"
type="block" action="block" user="Reedy" timestamp="2012-02-29T18:51:02Z"
comment="Test">
<block flags="noautoblock" duration="5 seconds"
expiry="2012-02-29T18:51:07Z" />
</item>
</pre>
_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview