Wikidata:Requests for permissions/Bot/Botcrux 11
- The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
- Withdrawn. --Wüstenspringmaus talk 09:13, 30 August 2024 (UTC)[reply]
Botcrux (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: Horcrux (talk • contribs • logs)
Task/s: Replace stated in (P248) to publisher (P123) where the value is Q1158.
Problem description: In 2020 User:Reinheitsgebot made a massive addition of references in which stated in (P248)World Athletics (Q1158) have been added as claim in the reference (edit example). The operation was ok, except that World Athletics (Q1158) is an organization, not a document or a database, therefore thousands of warnings are currently raised up (example). A more suitable property is publisher (P123).
Function details: For technical reasons, I'm not able to fix the source with a single edit, so the bot will:
- copy all the claims in the reference to be removed (except for stated in (P248)World Athletics (Q1158));
- remove the problematic reference;
- add a new reference with all the claims copied plus publisher (P123)World Athletics (Q1158).
The script is ready, here a couple of edits: [1][2]. --Horcrux (talk) 09:04, 28 November 2022 (UTC)[reply]
- Sounds fine though why not just remove the "Stated In" "World Atheletics" claim from the reference altogether? Surely that's implied by the athlete ID.
- BrokenSegue (talk) 16:41, 28 November 2022 (UTC)[reply]
- @BrokenSegue: Just because I'm used to be as much complete as I can when I add a reference. But yes, it would also be ok just to execute point #2. --Horcrux (talk) 19:41, 28 November 2022 (UTC)[reply]
- Personally I'd prefer just doing point 2 but I don't care enough to argue either way. I might even argue that this bot doesn't need approval since the scope is so limited and there's warnings. BrokenSegue (talk) 21:39, 28 November 2022 (UTC)[reply]
- Hey Horcrux, are you still interested in doing those edits? Support from me! I also see stated in (P248) + a specific external ID property as a great combo, by the way. I'd say that's how they are usually used as well? The UseAsRef userscript also creates references like that. --Azertus (talk) 17:37, 12 April 2024 (UTC)[reply]
- @Horcrux: If you are still interested, could you make some test edits, please? --Wüstenspringmaus talk 15:38, 28 August 2024 (UTC)[reply]
- Hey Horcrux, are you still interested in doing those edits? Support from me! I also see stated in (P248) + a specific external ID property as a great combo, by the way. I'd say that's how they are usually used as well? The UseAsRef userscript also creates references like that. --Azertus (talk) 17:37, 12 April 2024 (UTC)[reply]
- Personally I'd prefer just doing point 2 but I don't care enough to argue either way. I might even argue that this bot doesn't need approval since the scope is so limited and there's warnings. BrokenSegue (talk) 21:39, 28 November 2022 (UTC)[reply]
- @BrokenSegue: Just because I'm used to be as much complete as I can when I add a reference. But yes, it would also be ok just to execute point #2. --Horcrux (talk) 19:41, 28 November 2022 (UTC)[reply]
- It looks like the problem was solved (honestly I don't remember whether by myself after BrokenSegue's reply), hence I withdraw the request. For the records, I've just noticed this statement, which indicates that the correct claim in the reference should be stated in (P248)World Athletics database (Q54960205). --Horcrux (talk) 07:54, 30 August 2024 (UTC)[reply]
- Strangely, from this query I still see 20k+ entries, but I'm not able to trace back the statements they occur in (see the query in the previous comment). --Horcrux (talk) 07:57, 30 August 2024 (UTC)[reply]