Page MenuHomePhabricator

Admin Stats does not recognise import?
Closed, ResolvedPublic

Description

https://xtools.wmflabs.org/adminstats/en.wikibooks.org currently displays 0 import actions for every user. However, https://en.wikibooks.org/wiki/Special:Log?type=import&user=Leaderboard lists quite a couple actions for the last month.

Event Timeline

MusikAnimal moved this task from Other to Pending deployment on the XTools board.
MusikAnimal added a subscriber: MusikAnimal.

Nice catch! Fixed with fb0eaa3d and pending deployment. XTools was looking for the non-existent log action import, when it should be interwiki.

Is this now deployed? The Admin Stats currently show one import for Leaderboard (instead of 0), and I assume the uncounted actions are due to caching?

Is this now deployed? The Admin Stats currently show one import for Leaderboard (instead of 0), and I assume the uncounted actions are due to caching?

Not deployed. The 1 action for Leaderboard was showing when I checked earlier today. It must be a different kind of import (not interwiki).

Ah, given that for me, everyone had zero imports (see screenshot in the original post), I assume this is the recent action

13:14, 4 June 2021 Leaderboard discuss contribs imported Transwiki:Super Mario Sunshine by file upload (49 revisions) (per WB:RFI) (thank)

since there didn't seem to be any other imports "by file upload" within the last month by this user. That means the import log action isn't quite "non-existent". Is there any way we can count both actions as one?

13:14, 4 June 2021 Leaderboard discuss contribs imported Transwiki:Super Mario Sunshine by file upload (49 revisions) (per WB:RFI) (thank)

since there didn't seem to be any other imports "by file upload" within the last month by this user. That means the import log action isn't quite "non-existent". Is there any way we can count both actions as one?

There are only two types: interwiki and upload. The one you mention was an upload. Both are counted according to AdminStats config: https://github.com/x-tools/xtools/blob/2048dac01a5ff5b541ed4184a8f5a81a2c7cd3e2/config/admin_stats.yml#L62-L64

MusikAnimal moved this task from Pending deployment to Complete on the XTools board.