Nothing Special   »   [go: up one dir, main page]

Welcome at JarektBot's talk page. If you want talk to Jarekt than leave message at his talk page.
Bot flag and watchlist flooding
Some of the tasks performed by the bot on Commons use QuickStatements tool in asynchronous "batch" mode, which does not set the "bot" flag properly and show up in peoples watchlists.
See phabricator:T247433. You should be able to hide edits by JarektBot by adding the JavaScript below to your common.js
$(document).ready($('.mw-special-Watchlist .mw-changeslist-line .mw-userlink[href="/wiki/User:JarektBot"]').parent().parent().css("display", "none"));

Double OTRS statement

edit

Hi! The bot added the same OTRS ticket number here. Is this a bug in QuickStatements, or in the way you prepare the QS task? Both edits have the same batch ID. (By the way, there’s no info about the SDC task(s) on the user page, please add it. Thanks in advance!) —Tacsipacsi (talk) 12:55, 30 July 2020 (UTC)Reply

That is very odd. Usually adding the same number the second time does not have any effect. I will try to search for more cases like this. --Jarekt (talk) 01:09, 31 July 2020 (UTC)Reply
Tacsipacsi the query below found 1500 duplicates and I fixed them all. Thanks for reporting the issue. --Jarekt (talk) 14:03, 31 July 2020 (UTC)Reply
SELECT DISTINCT ?file ?value {
  ?file p:P6305 ?statement1.
  ?file p:P6305 ?statement2.
  ?statement1 ps:P6305 ?value .
  ?statement2 ps:P6305 ?value .
  FILTER(?statement1 != ?statement2)
}

Try it!

@Jarekt: Again. Can’t you do something so that your bot doesn’t attempt to add duplicate statements in the first place? (Probably there’s a race condition here, by the way—both edit series happened within a few seconds.) —Tacsipacsi (talk) 17:20, 27 August 2020 (UTC)Reply

Tacsipacsi, I was not adding any OTRS statements lately, but I did run the above query again and did find that in 260 (out of 1.2M) cases QuickStatements added the same statement twice and yesterday I run a job to correct them all. I will gige it a week or two and check again if I got them all. --Jarekt (talk) 00:50, 28 August 2020 (UTC)Reply
@Jarekt, I see you removed a statement a couple of days ago. However, it was a triplicate rather than a duplicate, so there are still two statements left. Please check that you leave only one statement with the same OTRS number. (By the way, the additions I reported were less than 48 hours old at that time. So you did add OTRS statements lately; maybe this was because you started a batch previously that ran for quite a long time. If this is the case, you should be aware of that.) —Tacsipacsi (talk) 09:59, 5 September 2020 (UTC)Reply
At the moment the only way for me to know about doubles is through the above query and at the moment the query mostly reports false positives. I will purge those pages but otherwise there is not much for me to do other than wait for the query service to catch up. --Jarekt (talk) 02:14, 7 September 2020 (UTC)Reply

Bug: Structured data OTRS claim added multiple times

edit

Just a small bug report - on the file File:JVC Victor GR-C1 camcorder front side view.jpg, User:JarektBot added the same claim three times. – BMacZero (🗩) 01:43, 27 August 2020 (UTC)Reply

BMacZero, I am using QuickStatements and it does seem like the process is adding double statements in some tiny fraction of edits. I just reversed 270 of them. Will check if I go t them all. See post above. --Jarekt (talk) 00:52, 28 August 2020 (UTC)Reply
Oops, I should have checked previous threads first, sorry. – BMacZero (🗩) 19:58, 28 August 2020 (UTC)Reply

Breakage of {{Object location}} in 2017

edit

Prompted by a question on the help desk I've noticed that in 2017 you removed co-ordinates from a bunch of {{Object location}} templates that had attributes defined, meaning that the attributes got interpreted as co-ordinates leading to Lua errors. See Special:Diff/261723493 at Category:Vihterpalu manor as a random example. This is easy to correct by adding attributes= in the right place (as I did in Special:Diff/598447870), but it looks like there may be thousand of categories affected (search link), which would take a long time to fix by hand. Are you in a position to mechanically fix these? --bjh21 (talk) 21:54, 14 October 2021 (UTC)Reply

Yes I can fix those. However I am quite puzzled: your link works, but I do not actually see any lua errors at those categories, which should also show up in Category:Pages with script errors. Do you know why those errors are not visible? --Jarekt (talk) 04:11, 29 October 2021 (UTC)Reply

Wrong VRT Ticketnummer with leading X

edit

Hi Jarekt, could you please check this edit and probably more? The leading X is wrong. Raymond 08:30, 9 January 2022 (UTC)Reply

Raymond, you are right, I have a lot to clean up now. --Jarekt (talk) 03:19, 10 January 2022 (UTC)Reply

bot flag not used

edit

I'm currently unable to use my watchlist because your bot appears not to set the bot flag accordingly and floods the list completely. Can you please change this, and stop or throttle your bot until this is done? Thank you! --Krd 08:40, 9 January 2022 (UTC)Reply

Krd Sorry about it. I am using QuickStatements tool, which any user can run bot or not, and I do not have any control over how it sets bot flags. This issue affects all the QuickStatements users on Commons and is tracked by phabricator:T247433, you can turn off notifications from my bot by adding the JavaScript below to your common.js
$(document).ready($('.mw-special-Watchlist .mw-changeslist-line .mw-userlink[href="/wiki/User:JarektBot"]').parent().parent().css("display", "none"));
--Jarekt (talk) 03:27, 10 January 2022 (UTC)Reply
I think this will then lead to an empty watchlist, when all 500 entries are from the bot, doesn‘t it? Krd 05:25, 10 January 2022 (UTC)Reply
Krd, I think, it will just hide my edits. Unfortunately, I messed up in my mass edit and will have to undo and redo to fix it. I apologize ahead of time with swamping your watchlist. --Jarekt (talk) 01:23, 11 January 2022 (UTC)Reply
While I appreciate your work, I tend to say it is no longer acceptable to have these mass edits run without bot flag set. If the tool isn't suitable, IMO a more suitable tool should be used. Please comment. --Krd 06:35, 2 February 2022 (UTC)Reply
Krd, I am not aware of any online tools for mass edits that set bot flags when used by bot account. I use VisualFileChange, QuickStatements, PetScan, Cat-a-lot, SDC tool, AC/DC, ISA tool, OpenRefine for batch editing and none of them require bot account, and as far as I know none of them have an option to add bot flag to the edit, or add them automatically when bot accounts are used. The only tool I am aware of that is aware of bot flags is 17 year old AutoWikiBrowser, which does not do anything for SDC or Wikidata edits. If you are aware of other online mass-edit tools I should try, which have similar capabilities to QuickStatements, I will try them. I would love for phabricator:T247433 to be fixed or for watchlist preferences to have more options like "Hide edits by bot users from the watchlist" or "Hide SDC edits from the watchlist", or "Hide edits by mass-edit toold from the watchlist", but until that happens edits by mass-edit tools can not be easily filtered out from a watch list. However if you want to filter my edits from you watch list, just follow procedure outlined at User:JarektBot. --Jarekt (talk) 19:19, 2 February 2022 (UTC)Reply
That doesn't help at all, because my entire watchlist consists only of your edits. A bot should use the bot flag, this is how it was designed. Tools that are unable to do so shouldn't be used for this amount of automated edits. --Krd 08:25, 3 February 2022 (UTC)Reply
BTW, on the bot's users page there is mentioned it uses pywiki toolset. Is this no longer true? --Krd 08:27, 3 February 2022 (UTC)Reply
Krd, Most of my edits are relatively small one-off tasks, easily done with one of the mass edit tools and not requiring development of a customized python scripts. I have done the custom python codes in the past and it takes a long time to write and test them, while simple tools like QuickStatements can do the same task out of the box. Every once in a while if I notice that we accumulated a lot of files in Category:Files with PermissionTicket template but without P6305 SDC statement I would run SQL query that creates input to QuickStatements, and that is all that is needed. I guess one could write a custom pywikibot code to maintain Wikimedia VRTS ticket number (P6305) but most files get P6305 automatically with the help of MediaWiki talk:Gadget-PermissionOTRS.js. --JarektBot (talk) 05:40, 4 February 2022 (UTC)Reply
Today again my complete watchlist was used up by your bot edits which are not tagged as such and cannot be hidden. I would like to again strongly request to use the bot flag. --Krd 08:02, 4 December 2022 (UTC)Reply

Location

edit

Just wondering: what is up with replacing {{Location dec}} with {{Location}}? As far as I can see, {{Location dec}} is not a redirect, appears to work correctly, and is not marked as deprecated. What is the problem this fixes? - Jmabel ! talk 19:23, 25 January 2024 (UTC)Reply

Jmabel, location dec is a redirected template. I was participating in phabricator:T343131 discussion about size of commons templatelinks SQL table. Template {{Location dec}} was retired over a decade ago (anniversary was 2 days ago) but still takes 5M rows in the database table. --JarektBot (talk) 04:45, 26 January 2024 (UTC)Reply
Oh, weird. No idea why I thought it wasn't redirected. - Jmabel ! talk 04:50, 26 January 2024 (UTC)Reply