Jump to content

API talk:Logevents

Add topic
From mediawiki.org
Latest comment: 6 years ago by Adamw in topic Note for cleanup

Extracting logevents which comment include some key words

[edit]

I would like to get a list of articles deleted which have a comment including the string "R2" (it means "Cross-namespace redirects"). Is it possible ? I already have this query : /w/api.php?action=query&format=json&list=logevents&leprop=title%7Ctimestamp%7Ccomment&letype=delete&leaction=delete%2Fdelete&lenames/code0 But it gives me too many results... Thanks

Note for cleanup

[edit]

I see a lot of fields documented by reference to other docs, like "user: Content of the log_user_text field." Noting that we could improve this page by explaining these "boring" fields. Adamw (talk) 22:04, 6 August 2018 (UTC)Reply