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.

Unintuitive cross or X sign

1
Pakwesi (talkcontribs)

"Is administrator?:" shows a X-like symbol. I am puzzled what it means. For US people it might say "no" but for europeans it could mean "yes" like crossing a selection box. Would you please replace it by something equally understandable by everyone like simply "yes" or "no"?

Reply to "Unintuitive cross or X sign"

Authorship in other languages

3
Fgnievinski (talkcontribs)

Hi. Thank you for the great Authorship XTool. But it's currently available only in the de, en, es, eu, tr Wikipedias. How could it support other languages, please? Especially pt. Thank you.

MusikAnimal (talkcontribs)

Long-term we want to support all major Wikipedias, including Portuguese. However we first are being forced to bring the backend in-house to WMF infrastructure (it currently relies on an external service). The task for this is at phab:T288840 and you can follow it for updates. Only after that is resolved (hopefully sometime in the next few months), will we be able to consider adding more languages.

195.83.48.86 (talkcontribs)

Hi ! This Authorship tool is a great complement to the XTools Page History when analyzing the relative impact of users on articles. However, the language list is an important limit to its use. Do you have a bit more visibility on when / how other languages will be added ? Is there any way we can help ? Thank you for your attention

Reply to "Authorship in other languages"

Interpretation of values in the Page Links API

2
PAC2 (talkcontribs)

I've looked at the page links API. I'm not sure how to interpret the values. For instance, when I look at the article w:Sandrine Rousseau, the API returns 30 external links (https://xtools.wmflabs.org/api/page/links/en.wikipedia.org/Sandrine%20 Rousseau). If I look at the article, I only find 8 external links. Is this value reliable and what is the good interpretation? More documentation on the interpretation of the results would be very useful.

MusikAnimal (talkcontribs)

It refers to external links anywhere content area of the article (not other places on the page such as the sidebar, etc.), as reported by the externallinks table in the database. This would include any external link, be it in maintenance templates, navboxes, etc. I believe it also counts any non-fully qualified link as external, i.e. interwiki links are probably counted as external, and even internal links if they are full URLs, such as the "expanding it" link in the stub template at the bottom of the page.

Reply to "Interpretation of values in the Page Links API"

Gender statistics for pages created by a user

3
PAC2 (talkcontribs)
2003:CB:F703:9600:7596:FFD6:C37E:FB62 (talkcontribs)

What could that be useful for, and how would you calculate it?

PAC2 (talkcontribs)
Reply to "Gender statistics for pages created by a user"

ArticleInfo gadget with Minerva skin

4
Sarbz (talkcontribs)

Is it possible to use the ArticleInfo gadget with the Minerva mobile web skin? Enabling it in Gadgets under Preferences (on English Wikipedia) only enables it for desktop skins, and manually installing it by adding the script to my global.js page doesn't enable it for Minerva either.

PAC2 (talkcontribs)

Using the Minerva skins, informations are displayed at the bottom of the article instead of the top of the article. Does it work for you?

Sarbz (talkcontribs)

But I don't see it at the bottom either. I'm looking for the line that is shown in this image that includes the article's assessment, number of revisions, number of editors, etc.

Yahya (talkcontribs)

Try this scriptmw.loader.load('https://test2.wikipedia.org/w/index.php?title=User:Yahya/XTMobile.js&action=raw&ctype=text/javascript');

Reply to "ArticleInfo gadget with Minerva skin"

Articles for deletion (fawiki) on Admin stats

5
Summary by MusikAnimal

Top Edits can be used, and the author of AfD Stats may be able to expand it to work for fawiki

Jeeputer (talkcontribs)

Hi. The Admin stats tool does not count user's edits to Articles for Deletion, Administrator's Noticeboard (There's just a single noticeboard on Persian Wikipedia) and Requests for Page Protection pages. I think we should provide local names of base pages to the tool.

Local pages which should be provided to the tool are:

  • "Articles for Deletion": "ویکی‌پدیا:نظرخواهی_برای_حذف" (link).
  • "Administrator Intervention against Vandalism": "ویکی‌پدیا:تابلوی_اعلانات_مدیران" (link)
  • "Requests for Page Protection": "ویکی‌پدیا:درخواست_محافظت_صفحه" (link)

Thank you.

MusikAnimal (talkcontribs)

It would be neat, but these are all wiki-specific processes so they don't naturally fit into XTools. As you suggest, we could make it configurable, and that's doable to an extent. The bigger issue I think is how slow it would be. It might work fine for fawiki, but for enwiki and other larger wikis the queries would probably always timeout. It is probably pointless to try to count edits to Administrator Intervention against Vandalism (AIV) and Requests for Page Protection (RFPP) on the English Wikipedia, for example. I see queries fail when they are requesting just a single user to a single page (using Top Edits). AfD could be a big hassle as well as it relies on querying multiple pages, and some wikis might not even follow the same process and hence XTools wouldn't work for them.

Overall I argue these stats belong as a separate tool. Admin Stats is supposed to only show "administrative actions", anyway, and merely making edits to admin-ish pages (that may or may not involve actual "administrative edits") would go against the point, I think. Sorry!

Jeeputer (talkcontribs)

Actually, I thought that the tool is currently showing those stats for English Wikipedia, but looks like it doesn't. so the whole "edit to a page" stats thing is not working for all wikis. Am I right?

MusikAnimal (talkcontribs)

There's Top Edits that you can use to count and see which edits a user has made to a specific page (or which pages they've edited the most), if that's what you mean. For enwiki, there's also AfD Stats for AfD. The author may be willing to expand that tool to do other wikis, especially if they have a similar structure to enwiki's. For enwiki's AIV, there was toolforge:aivanalysis, but it has been broken for a while. But no, XTools never counted these things as part of Admin Stats.

Jeeputer (talkcontribs)

Thank you. Top Edits is exactly what I meant. I will communicate with AfD Stats about the expansion. Regards.

New tool to look at your page of created articles with the Prose API

3
PAC2 (talkcontribs)
MusikAnimal (talkcontribs)

Nice! There is no such venue for external sites that I'm aware of. Typically tools are hosted on Toolforge – Wikimedia's own web hosting platform. From there they are automatically indexed on Toolhub, which is the 'official' place to advertise tools. I'm assuming migrating to Toolforge is probably a lot of work for you, but if you're able to use the observablehq framework or whatever it is, it would probably be worth your while. Beyond that, you can advertise your tools on-wiki just like you would any tool (WMF hosted or not). I'm not really sure the best place to do that, unfortunately. At any rate, I'm pleased to see the XTools API getting some usage :)

I should also mention the docs (which I see you're linking to) are no longer at readthedocs.org, but at XTools/API. I.e. https://xtools.readthedocs.io/en/3.6.6/api/page.html should be https://www.mediawiki.org/wiki/XTools/API/Page.

PAC2 (talkcontribs)

Thanks a lot for your answer.

Reply to "New tool to look at your page of created articles with the Prose API"
Liz (talkcontribs)

I'm just wondering how much time the time card on the Edit Counter (https://xtools.wmflabs.org/ec) covers. Does it cover editing times over the past week? The past month? The past year? The past 500 edits? Or all of one's editing career?


I'm sorry if this is not the appropriate place to try to answer this query but at the bottom of the page, there is a link stating "Feedback" and this is the page it takes you to. Thanks.


Liz

MusikAnimal (talkcontribs)

You've come to the right place! The time card encompasses the editors entire editing career. You can hover over the bubbles to see how many total edits were made in that hour/day of week.

The exception is if the user has made over 600,000 edits, in which case the tool shows an error since the queries are unlikely to finish without being auto-killed.

Liz (talkcontribs)

Oh, perfect, thank you MusikAnimal. And thanks for the prompt reply. I'm impressed and surprised that this chart sums up an editor's editng times over their entire 5, 10, 15, or 20 years of their editing career!

I have an interest in all kinds of stats breakdowns that I come across for the project. I know that some of the stats collection has changed or ended over the years...I should bookmark the main stats page about changes in number of editors on each project and changes in number of articles created. I remember questions being asked 2 years ago about whether or not the shutdowns caused by COVID-19 would affect the amount of time that people spent editing or whether or not it would reverse the downward trend of new folks signing up to be editors.

Luckily, I'm around 300,000 edits or so, so I still can see my edit count breakdown. And the page is also useful for admin stats as well. I find the time card is helpful to see when editors typically edit during the 24 hour day/night so you can estimate when they might reply to a comment on their talk page since one often doesn't know what time zone they live in. Thanks again!

Template:COVID-19_testing_by_country

1
Falcomatteo (talkcontribs)

Template:COVID-19_testing_by_country is not working

Autorship data missing from userspace articles?

1
Summary by MusikAnimal

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

Piotrus (talkcontribs)