https://bugzilla.wikimedia.org/show_bug.cgi?id=26122

--- Comment #25 from Brion Vibber <br...@pobox.com> 2010-12-01 21:36:46 UTC ---
Here's a sample API recentchanges query that pulls log entries:

http://en.wikipedia.org/w/api.php?action=query&list=recentchanges&rctype=log&rcprop=loginfo

A page deletion comes up like this:

      <rc type="log" logid="33091010" logtype="delete" logaction="delete">
        <param />
      </rc>

which indeed isn't super detailed.

(The log_params field is not used for these entries, nor apparently is there
special handling as there is for move entries in the API output format.)


There's also the logevents query, which provides a different format:

http://en.wikipedia.org/w/api.php?action=query&list=logevents&lelimit=200

      <item logid="33091102" pageid="0" ns="10" title="Template:Le Tourment
Vert" type="delete" action="delete" user="WOSlinker"
timestamp="2010-12-01T21:35:01Z" comment="[[WP:CSD#T3|T3]]: Unused, redundant
template" />

This looks like it would directly expose the log_page ID value if it were
stored at delete logging time.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to