Mechanical Edits/Mateusz Konieczny - bot account/fixing wikipedia tags pointing at redirects in Poland
Page content created as advised on Automated_Edits_code_of_conduct#Document_and_discuss_your_plans.
message via OSM I will respond also to PMs to the bot account. In both cases I will be notified about incoming PMs via email and notifications in OSM editors.
Fixing wikipedia tags pointing at redirects, so tag after edit points directly at an article.
Editing are restricted to Poland.
Wikipedia tags are not supposed to point at redirects. Also, redirects are more likely to become deleted or redirected to other pages than the article. In addition, sometimes page was renamed because old name was wrong or contained some kind of an error.
Fixing redirects is highly tedious and bot making this kind of edit is less likely to make mistakes than a human.
Depends on how many new redirects appear - depends on editing activity in OSM and Wikipedia.
- Editing is limited to objects with both wikipedia=* and wikidata=* tag.
- Editing is limited to wikipedia=* tags that link to a redirect that leads to page matching wikidata=* tag
- Each changeset contains a single object
- After every changeset bot sleeps for one minute
state before a mechanical edit:
- wikipedia=pl:Wielopole (województwo lubuskie)
state after a mechanical edit:
- wikipedia=pl:Wielopole (Sieniawa)
With changeset comment " http://www.openstreetmap.org/node/2432216038 [wikipedia=pl:Wielopole (województwo lubuskie)] to [wikipedia=pl:Wielopole (Sieniawa)], as current tag is a redirect and the new page matches present wikidata ". Changeset is also tagged with tags that mark it as automatic, provide link to discussion approving edit, link repository with source code etc
Approved by Polish OSM community at https://forum.openstreetmap.org/viewtopic.php?id=59649
This is reoccurring edit and may be made as soon as new redirects appear. At this moment triggering new edit requires human intervention and review so exact schedule is not predictable and bot may stop running at any moment.
Please write at https://forum.openstreetmap.org/viewtopic.php?id=59649 .