Talk:XTools

About this board

This page is a feedback forum for XTools. For reporting bugs, it's preferred that you use Phabricator.

If the issue is urgent and you're unable to use Phabricator, feel free to ping one of the active maintainers.

Template:COVID-19_testing_by_country

1
Falcomatteo (talkcontribs)

Template:COVID-19_testing_by_country is not working

Reply to "Template:COVID-19_testing_by_country"

Autorship data missing from userspace articles?

1
Summary by MusikAnimal

Unfortunately will not happen. See phab:T308903#7953861 for more.

Piotrus (talkcontribs)
Lepricavark (talkcontribs)

Now that my edit count is over 500K, I can no longer access my details. I saw a thread below in which @MusikAnimal: had indicated that they were planning to bump the maximum count higher. Is such an update still in the works?

MusikAnimal (talkcontribs)

I have bumped it to 550K for now. I can't promise it will stay that way. Further down the road, we may require users be logged in to query for users with a high edit count, and put it through a job queue so as not to disrupt the performance of other users (similar to how Quarry works). That's a lot of work, though, and I don't see it happening anytime soon. Until then, we have to have some sane limit or else querying for accounts such as your own will disrupt every other user of XTools. Frankly though, you should be proud of this. Very few editors ever become as prolific as you have! :)

Lepricavark (talkcontribs)

Thank you, I really appreciate it! I saw in another thread that someone else was able to get their information via Quarry, but I was not able to figure out how that site works.

Lepricavark (talkcontribs)

My edit count has climbed over 600K, and I have not been able to access my details for a while. Would it be possible to bump up the max count again?

MusikAnimal (talkcontribs)

Right now, probably not… We haven't gotten a large number of query timeouts, but we have seen an increase in the "XTools is currently overloaded" errors, which super bad because that means the service is down for everyone. This issue only increases when we permit longer-running queries. There are a few things we can try to mitigate this which I will look into soon. I'll update you here when I've gotten a chance to look more into it. Apologies for the inconvenience!

Lepricavark (talkcontribs)

That's totally fine. I certainly don't expect you to jeopardize the entire service just for me. I will appreciate anything you are able to do, but there's no hurry whatsoever.

Reply to "Edit Counter Limit"

Have redirects that a user turns into an article be listed under "Articles created"?

3
Anarchyte (talkcontribs)

This seems like a good idea as technically the user has created the article as it was originally a redirect. Note the creation would be credited to the expander, not the redirect creator.

MusikAnimal (talkcontribs)

This is roughly what phab:T12331 is about, which is currently being discussed. If approved, it should be feasible to log page creations from redirects. As it stands right now this is not really possible. The Page Curation extension does log such page creations, but the data is only temporarily stored, and it's only available on English Wikipedia.

Anarchyte (talkcontribs)

Ah, fair enough. Thanks.

Structured Discussion edits

5
Thingofme (talkcontribs)

Why Structured Discussion edits are not shown in XTools statistics? I am thinking of that problem.

MusikAnimal (talkcontribs)

This is phab:T136950 which is blocked by phab:T69397. I have my doubts it will be resolved. This is unfortunately outside our control. Sorry!

Thingofme (talkcontribs)

Also, I think we should have edits to a fully protected page/template protected page to be counted as an admin action (there are none in XTools stats)

MusikAnimal (talkcontribs)

I don't think that's technically feasible, since there's no cheap way to know whether the page was protected at the time the edits were made. It could maybe be made into a separate tool, but it sounds too niche for XTools in my opinion. We can however count edits to the MediaWiki namespace, which is always fully protected. For the Admin Stats tool, that's tracked at phab:T171996.

Thingofme (talkcontribs)

It's like a MediaWiki feature, but it would mean searching into the protection logs, but however can have some problems. Translation of custom MediaWiki messages can make non-admins have edits in the MediaWiki namespace.

Reply to "Structured Discussion edits"

Broken sorting on desktop firefox browser

2
Summary last edited by Clump 11:08, 26 March 2022 3 months ago

Fixed and will go out with next release

195.54.40.220 (talkcontribs)

On pages locating at xtools.wmflabs.org/articleinfo/* (for everything where I checked):

- sorting on panel "Top editors" column "MinorEdits%" is not work

- sorting on panel "Month counts" column "MinorEdits%" sorts as string values.

I'm too lazy to register to send issue.

Firefox browser v.97.0.1 (32-bit)

MusikAnimal (talkcontribs)

Thanks! I have fixed this and it will go out with the next release.

Average edit size is misleading

2
CX Zoom (talkcontribs)

Hi, I recently replaced a bunch of repetitive tables with new templates on enWikipedia, resulting in my avg edit size dropping from 560+bytes to 469bytes, which is kind of misleading because edits made in either positive or negative direction should still count as edit size. For example, a person making two edits, first adding 20 bytes then removing 18 bytes, will see their avg edit size =(20-18)/2=1byte, when in reality it should be =(20+18)/2=19 bytes, as edits in either direction counts as size (the magnitude, not direction). Thanks!

MusikAnimal (talkcontribs)

I think that could arguably be considered a different metric, such as "net average size". The average as it is calculated now gives insight into editing behaviour. For instance, recent changes patrollers will usually have a negative average size since they make lots of reverts. I can look into adding what you suggest as a separate metric, assuming it won't slow things down much (I don't think it will as it's limited to the past 5,000 edits anyway).

Reply to "Average edit size is misleading"
Red Director (talkcontribs)

Hello, since the XTools limit is at 550,000, I was wondering if anyone could help me with making a Quarry function. Would it be possible to see my Top edited pages (like top 100 or 1000) in the mainspace on a Quarry? If so, I just need some advice on what to code it as. If this cannot be done, I understand. This is about all I need from XTools for my personal info.

MusikAnimal (talkcontribs)

See quarry:query/59028. Just fork that and hit "Submit Query" to get the latest results.

That said, since the new replicas went live, timeouts have been rare, so I've gone ahead and bumped the edit count maximum to 600,000K. You're the only one who ever asks about this, which is why I haven't done it any sooner :)

Red Director (talkcontribs)

Perfect! Thanks for your help. I shouldn't need the limited bumped anymore if Quarry works. I know my edit count is in the small range of users that are affected. Thanks for all you do.

Red Director (talkcontribs)

Sorry to be so needy. Is there any way you can add a start date and end date filter to the one you made for me? I tried playing around with the code based on other user's codes and I cannot get it to work. Tried multiple times. It may not even be possible and that is fine.

MusikAnimal (talkcontribs)

I've updated quarry:query/59028 with a date range clause, and some instructional text in the comments. Let me know if that helps.

Red Director (talkcontribs)

Yes! Thanks

Red Director (talkcontribs)

Hello again. Query 59077 is the reference point for this request. I need some assistance adding a sort field. Is it possible for the query to show the last time I modified an article using a timestamp? What I have found allows a sort by the first time I have edited a page by timestamp but I cannot figure how to make it do the last time. I know this is very picky on my end so I understand if it cannot be done. I have experimented and failed using various fields.

Reply to "Help with Quarry"

Look at a user's largest edits

1
Dunutubble (talkcontribs)

I don't mean edits per page, I mean which single edits added the most content.

Reply to "Look at a user's largest edits"

How to use offset parameter in the Pages created user API

3
Summary by PAC2

MusikAnimal has found the right URL

PAC2 (talkcontribs)
MusikAnimal (talkcontribs)
PAC2 (talkcontribs)

Thank you.