On Dec 4, 2019, at 9:51 PM, Dennis Tobar <dennis.tobar@gmail.com> wrote:

Roy:

Sorry if I was bit rude in my previous email. 

Oh, not at all.  I didn't think you were rude.  You got me pointed in the right direction, which I appreciate, and I think I've got enough here (and from Morten Wang's additional help) to get where I need to go.  Thanks.





The unparsed string has an array with the follow keys:

* duration (time calculated(?) in plain English)
* flags (permissions restricted)
* sitewide: 1 if it's a fully block; 0 partial block

See more in https://www.mediawiki.org/wiki/Manual:Log_actions

Kindly,

On Wed, Dec 4, 2019 at 10:09 PM Roy Smith <roy@panix.com> wrote:
On Dec 4, 2019, at 8:07 PM, Roy Smith <roy@panix.com> wrote:

I also need to figure out how to parse this in Python.

Oh, looks like https://pypi.org/project/phpserialize/ can handle that part.
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud


--
Dennis Tobar Calderón
Ingeniero en Informática UTEM
_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud