Henry Brausen | 14 Jun 2012 22:33
Picon
Picon
Favicon

Time at which a user was added to a group

Hi there,


I know how to get a list of the user groups to which a given user belongs.
(I'm using action=query&list=users)

Is there a way to also fetch the time at which the user was added to those groups?
I'm working specifically with Wikipedia.

If this data is unavailable through the API, does anyone know if it is available at all?

Thanks!

-- Henry
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Brad Jorsch | 14 Jun 2012 23:10

Re: Time at which a user was added to a group

On Thu, Jun 14, 2012 at 02:33:18PM -0600, Henry Brausen wrote:
> 
> Is there a way to also fetch the time at which the user was added to those
> groups?
> I'm working specifically with Wikipedia.

Only by checking the relevant permissions logs. If it was done locally,
list=logevents with the right parameters should do it. If it was done by
the stewards on Meta, you'll probably have to query against
meta.wikimedia.org/w/api.php looking for "username <at> enwiki".
Platonides | 14 Jun 2012 23:56
Picon

Re: Time at which a user was added to a group

On 14/06/12 23:10, Brad Jorsch wrote:
> On Thu, Jun 14, 2012 at 02:33:18PM -0600, Henry Brausen wrote:
>>
>> Is there a way to also fetch the time at which the user was added to those
>> groups?
>> I'm working specifically with Wikipedia.
> 
> Only by checking the relevant permissions logs. If it was done locally,
> list=logevents with the right parameters should do it. If it was done by
> the stewards on Meta, you'll probably have to query against
> meta.wikimedia.org/w/api.php looking for "username <at> enwiki".

If you are trying to detect when someone was made a sysop note that old
entries were in a differet log (done with MakeSysop extension).
Henry Brausen | 15 Jun 2012 01:30
Picon
Picon
Favicon

Re: Time at which a user was added to a group

Thanks for the advice, this is just what I needed.


-- Henry

On Thu, Jun 14, 2012 at 3:56 PM, Platonides <platonides <at> gmail.com> wrote:
On 14/06/12 23:10, Brad Jorsch wrote:
> On Thu, Jun 14, 2012 at 02:33:18PM -0600, Henry Brausen wrote:
>>
>> Is there a way to also fetch the time at which the user was added to those
>> groups?
>> I'm working specifically with Wikipedia.
>
> Only by checking the relevant permissions logs. If it was done locally,
> list=logevents with the right parameters should do it. If it was done by
> the stewards on Meta, you'll probably have to query against
> meta.wikimedia.org/w/api.php looking for "username <at> enwiki".

If you are trying to detect when someone was made a sysop note that old
entries were in a differet log (done with MakeSysop extension).


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
Henry Brausen | 15 Jun 2012 01:31
Picon
Picon
Favicon

Re: Time at which a user was added to a group

Thanks for the advice, this is just what I needed.


-- Henry

On Thu, Jun 14, 2012 at 3:56 PM, Platonides <platonides <at> gmail.com> wrote:
On 14/06/12 23:10, Brad Jorsch wrote:
> On Thu, Jun 14, 2012 at 02:33:18PM -0600, Henry Brausen wrote:
>>
>> Is there a way to also fetch the time at which the user was added to those
>> groups?
>> I'm working specifically with Wikipedia.
>
> Only by checking the relevant permissions logs. If it was done locally,
> list=logevents with the right parameters should do it. If it was done by
> the stewards on Meta, you'll probably have to query against
> meta.wikimedia.org/w/api.php looking for "username <at> enwiki".

If you are trying to detect when someone was made a sysop note that old
entries were in a differet log (done with MakeSysop extension).


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api


_______________________________________________
Mediawiki-api mailing list
Mediawiki-api <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Gmane