Yeah, phpserialize will handle these parameters. Keep in mind that this
field is stored as a byte string in the database, so you might have to
convert it to a string (using encode()) for phpserialize to parse it.
You can find information about some of the parameters in the Help:Blocking
users <https://www.mediawiki.org/wiki/Help:Blocking_users> manual pages. If
the "sitewide" flag is false (0), it's a partial block
and will have additional parameters for the pages and/or namespaces that
are blocked. IIRC partial blocks aren't enabled on English Wikipedia yet,
so it would only apply if you're working with wikis where it is.
On Wed, 4 Dec 2019 at 17:09, Roy Smith <roy(a)panix.com> wrote:
On Dec 4, 2019, at 8:07 PM, Roy Smith
I also need to figure out how to parse this in Python.
Oh, looks like https://pypi.org/project/phpserialize/
can handle that
Wikimedia Cloud Services mailing list
Cloud(a)lists.wikimedia.org (formerly labs-l(a)lists.wikimedia.org)