Thanks for your response Bartosz!

I don't want to use the API, instead looking for that information in dumps
anywhere.
I looked into enwiki-20161020-pages-logging.xml.gz that contains all
actions log, however it doesn't contain any revision id using which we can
relate that this specific action was taken for which specific revision on
article page.

Could someone throw some light on this. Any further inputs from this group
is appreciated !


Example ( few lines from log file):
 <logitem>
    <id>3</id>
    <timestamp>2004-12-23T03:27:51Z</timestamp>
    <contributor>
      <username>Slowking Man</username>
      <id>56299</id>
    </contributor>
    <comment>content was: 'Daniel Li is an amazing human being.'</comment>
    <type>delete</type>
    <action>delete</action>
    <logtitle>Daniel Li</logtitle>
    <params xml:space="preserve" />
  </logitem>
  <logitem>
    <id>4</id>
    <timestamp>2004-12-23T03:29:26Z</timestamp>
    <contributor>
      <username>Angela</username>
      <id>8551</id>
    </contributor>
    <comment>Should be a link to the Foundation site, should not be
changed, should not be possible to have donations going elsewhere.</comment>
    <type>protect</type>
    <action>protect</action>
    <logtitle>Wikipedia:Site support</logtitle>
    <params xml:space="preserve" />
  </logitem>



Thanks!
Kartik Perisetla

On Fri, Nov 11, 2016 at 9:39 PM, Bartosz Dziewoński <[email protected]>
wrote:

> You'd have to look at the log for 'delete/revision' events.
>
> In the dumps, I imagine this can be found in 
> enwiki-20161020-pages-logging.xml.gz,
> but I never tried this.
>
> Or you could get them from the API: https://en.wikipedia.org/wiki/
> Special:ApiSandbox#action=query&format=json&list=logevents&l
> eaction=delete%2Frevision&letitle=Barack+Obama Unfortunately there
> doesn't seem to be a way to query by deleted revision id, only by page
> title.
>
>
> --
> Bartosz Dziewoński
>
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to