Wikipedia talk:GUS2Wiki/Script

(Redirected from Wikipedia talk:Special:GUS2Wiki)
Latest comment: 1 year ago by Geom in topic Opting out?

Opting out? edit

@Omondi, Peter Bowman, and Persino: do you want me to exclude plwikibooks, eswiktionary, plwiktionary and frwikivoyage entirely or put the information in my userspace there instead? If I put it in my userspace you'll have to rely on me alone for updates whereas the page you deleted could have been updated by others as well.
If I exclude you entirely you will not have access to historical records of Special:GadgetUsage in the future if you ever need it. Alexis Jazz (talk or ping me) 16:27, 19 July 2022 (UTC)Reply

Hello, Alexis. I think it's fine to keep that info in your userspace; it can still be edited by others, and we could even arrange a bot if necessary. Or perhaps triggering a web archiver would be easier? Peter Bowman (talk) 23:59, 19 July 2022 (UTC)Reply
Peter Bowman, access to historical GadgetUsage data was requested many years ago in phab:T121049 and nobody ever created a bot. Triggering the web archiver is harder: saving pages is very slow, likely limited in rate (can only save X pages/hour) and retrieving a complete history (to create a graph for example) would be very time consuming.
While others can edit my userspace, there are limited options to coordinate other people running the script to update the same page. This is why I used the page title "Project:GUS2Wiki". (Project: directs to Wikipedia:/Wiktionary:/Wikibooks:/etc) Alexis Jazz (talk or ping me) 08:43, 20 July 2022 (UTC)Reply
I see your point, but I think the title User:Alexis Jazz/GUS2Wiki would also work on every wiki and should be editable by everyone. Peter Bowman (talk) 12:02, 20 July 2022 (UTC)Reply
By the way, I own a toolforge account and also have a bot account. I would very gladly volunteer, but I see the querycachetwo table queried at phab:T120895#1864312 is not publicly available, besides that most user preferences are redacted. Peter Bowman (talk) 12:20, 20 July 2022 (UTC)Reply
Peter Bowman, User:Alexis Jazz/GUS2Wiki would work on every wiki but I wouldn't be comfortable setting up my script to edit a page in my userspace by default. I could create an alternative account for that. However, some wikis may have restrictions (abuse filter) on editing user pages of another user.
You can't make API requests from ToolForge? If it's possible to launch a JS-enabled browser on ToolForge you should be able to use this script as-is. Create an alternative account, set (in common.js) window.GUS2Wautopost and window.GUS2Walt to true and an array of domains to process in window.GUS2WikiDomains before loading the script. Instead of an alternative account, one could also put that stuff in the common.js of a project they never normally visit. Have the server (or anything) open the homepage and run the JS, kill the browser after a few minutes. No need to interact with the browser. Alexis Jazz (talk or ping me) 13:23, 20 July 2022 (UTC)Reply
Oh, right, I didn't see your code nor I knew such API module existed. Yes, it's perfectly fine to make those requests from ToolForge. I can have a scheduled script (my bot framework is written in Java) check the results and generate a similar table periodically. However, I would not edit the project namespace without consent from the local communities. On a second thought, though, editing hundreds of userspace subpages without prior notice also seems cumbersome. I can store this information in a database instead and create a simple webservice for visualization and browsing purposes. Peter Bowman (talk) 15:53, 20 July 2022 (UTC)Reply
@Geom: as you deleted w:es:Wikipedia:GUS2Wiki: are you sure you want to opt out of this? Does the eswiki community agree they shouldn't have access to historical gadget usage stats? Alexis Jazz (talk or ping me) 21:09, 20 July 2022 (UTC)Reply
Hi to you too, @Alexis Jazz:. You should have contacted in my own discussion and on eswiki. First, eswiki does not allow removing delete templates {{d}} like you did. Just as creating in the Wikipedia space (other than main or personal) has limited creations. Second, I answer your two questions: #1 You have not asked us if we wanted to participate. #2 I have not seen that you have asked the eswiki community about this topic. Are you sure that we don't already have these statistics in different sections of our project? For now, we will put this topic on hold. I'm going to consult with the other admins about it and a thread may be opened about it so that the community can openly comment. When there is news I will tell you something. Greetings. Geom (talk) 18:45, 21 July 2022 (UTC)Reply
Geom, I was never notified of these deletion tags (no mention, no talk page message) which suggests to me they weren't very important.
1. I'm not asking anything from the eswiki community. Feel free to ignore the page, don't link it anywhere, don't watchlist it, don't categorize it. If you can tolerate its existence, that would be nice. In case you can't tolerate it, I'm not logging the data elsewhere. So if in a few years you decide you want it anyway, the records will start then. If it's not recorded onwiki, it's lost.
2. I'm currently providing 100+ wikis with these stats. As they don't have to work on it, I see no harm. The history of Special:GadgetUsage is barely available elsewhere. A few records can be found on archive.org, but for eswiki the oldest entry is from 7 October 2021. So that's not much. See also phab:T121049.
Thank you for consulting with others in the community, I'll try to follow that discussion once it's started. Alexis Jazz (talk or ping me) 19:38, 21 July 2022 (UTC)Reply
I'll let you know as soon as I know something. As for the notifications, now I will see who put the first template. Cheers Geom (talk) 19:44, 21 July 2022 (UTC)Reply