Wikidata:Requests for permissions/Bot/BorkedBot 5
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.
- Approved--Ymblanter (talk) 18:09, 1 July 2021 (UTC)[reply]
BorkedBot 5[edit]
BorkedBot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: BrokenSegue (talk • contribs • logs)
Task/s: Find dates to uprank based on their being more precise than the other dates.
Code: See the "prefer_dates" folder in the github repo (linked from the bot's user page)
Function details:
The bot
- Finds items with multiple dates for a single property (currently just date of birth (P569) but I want to expand to all popular date properties)
- Find the most precise date that has references (excluding references back to a Wikipedia)
- Ensure all other dates are compatible with that date (use the same calendar, equal in the relevant date pieces)
- Up rank the best date and add reason for preferred rank (P7452) most precise value (Q71536040)
For now we are excluding dates that have qualifiers as those can complicate the situation.
I made a bunch of test edits but they might be hard to find in the bot's history. Here are some: [1] [2] [3] [4] [5]
This is in response to the request at Wikidata:Bot_requests#request_to_automate_marking_preferred_rank_for_full_dates._(2021-05-28) which gives a rationale for the task.
--BrokenSegue (talk) 07:01, 31 May 2021 (UTC)[reply]
- Sounds good. Personally, I wouldn't add the qualifier. If you do add it, maybe the value should mentioned exactly what the bot did to select (most precise value + reference + no incompatible years). --- Jura 07:14, 31 May 2021 (UTC)[reply]
- Support everything sounds good; if you add the qualifier reason for preferred rank (P7452)most precise value (Q71536040), maybe you can try adding it also to cases where the best date has already been upranked (for uniformity). --Epìdosis 09:43, 31 May 2021 (UTC)[reply]
- What will the bot do when there are already ranks set? See Alexei Yurchak (Q30595015), for example. Setting the most precise date to preferred would be incorrect, according to the description at Wikidata:Administrators'_noticeboard/Archive/2020/07#Request_to_deprecate_statement_with_unreliable_source. --Azertus (talk) 12:05, 27 June 2021 (UTC)[reply]
- @Azertus: if anything is already set preferred it does nothing and it ignores deprecated statements. BrokenSegue (talk) 17:08, 27 June 2021 (UTC)[reply]