Mechanical Edits/Mateusz Konieczny - bot account/elimination of old-style Wikipedia links in Australia

From OpenStreetMap Wiki
Jump to navigation Jump to search

Page content created as advised on Automated_Edits_code_of_conduct#Document_and_discuss_your_plans.


Old style wikipedia link is one where language is stored in key, not in value.


For example "wikipedia:en=Australia" is an old style link, while "wikipedia=en:Australia" is a form that is currently standard.


Many old-style Wikipedia links remain and updating them to new style manually is boring, tedious and some mistakes may appear during this.


Some OSM elements have old-style Wikipedia link without new tag what means that this data is harder to process for editors and data consumers.


Also, remaining old-style Wikipedia tags confuse mappers, especially less experienced.

Who

I, Mateusz Konieczny using my bot account

contact

message via OSM I will respond also to PMs to the bot account, though messaging my main account is preferable as I will get notifications in OSM editors.

English and Polish languages are preferable, for other I need to use an automatic translator.

What

Removing old style wikipedia tags like wikipedia:en=article_name or wikipedia:pl=article_name where linked article is not conflicting wikipedia=* and wikidata=* tags.

Editing is restricted to Australia.

Why

wikipedia=* are used by editing programs, editors and data consumers and considered as preferable to old-style wikipedia keys.

Old-style Wikipedia tags are considered as undesirable if they duplicate already existing tags (and nobody wants https://www.openstreetmap.org/node/30880145 with secondary wikipedia tags for every wikipedia which created article about this place - currently it would mean that 70 tags would be added).

Numbers

Depends on how many new old-style tags exist and will continue to appear and how many disappear before I start running the edit - what depends on editing activity in OSM.

http://overpass-turbo.eu/s/H5x currently reports about 200 entries

How

  • Editing is limited to objects with old-style Wikipedia tags is not conflicting with existing wikipedia=* or wikidata=* tag or other old-style wikipedia tags.
  • Links detected as invalid (leading to disambigs, articles about humans, animals, plants, events etc) are also skipped
  • Each changeset contains a single element or group of close elements to avoid edits spanning across large areas (it is impossible in cases where edited object itself spans very large area)
  • After every changeset bot sleeps for one minute

An example based on https://www.openstreetmap.org/way/165307481 :
state before a mechanical edit:

state after a mechanical edit (note wikipedia tag):


Changeset would be described and tagged with tags that mark it as automatic, provide link to discussion approving edit etc

Discussion

posted on talk-au at https://lists.openstreetmap.org/pipermail/talk-au/2019-March/012445.html

Repetition

This is proposed as reoccurring edit and may be made as soon as new old-style Wikipedia links 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.

For mailing list

Old style wikipedia link is one where language is stored in key, not in value.

For example "wikipedia:en=Australia" is an old style link, while "wikipedia=en:Australia" is a form that is currently standard.

Many old-style Wikipedia links remain and updating them to new style manually is boring, tedious and some mistakes may appear during this.

Some OSM elements have old-style Wikipedia link without new tag what means that this data is harder to process for editors and data consumers.

Also, remaining old-style Wikipedia tags confuse mappers, especially less experienced.

Therefore I propose to run an automatic edit that will replace old-style Wikipedia links with current style of Wikipedia links.

Please comment no matter what you think about this idea! I will not make the edit without a clear support so please comment if you think that it is a good idea and if you think that it should not be done.

Plan is as follows:

I will take full responsibility for all edits and if anything goes wrong I will fix it.

Editing is limited to objects with old-style Wikipedia tags is not conflicting with existing wikipedia=* or wikidata=* tag or other old-style wikipedia tags.

Links detected as invalid (leading to disambigs, articles about humans, animals, plants, events etc) are also skipped

Each changeset contains a single element or group of close elements to avoid edits spanning across large areas (it is impossible in cases where edited object itself spans very large area)

After every changeset bot sleeps for one minute.

This is proposed as reoccurring edit and may be made as soon as new old-style wikipedia links appear.

documentation page on OSM Wiki is at https://wiki.openstreetmap.org/wiki/Mechanical_Edits/Mateusz_Konieczny_-_bot_account/elimination_of_old-style_Wikipedia_links_in_Australia

I have experience with automatic edits. exactly the same task was run in Poland to remove more than 6000 old-style Wikipedia links what was completed without any issues.

I recently processed also old-style Wikipedia tags across USA.

Similar edits

I am already running the same type of edit in Poland and USA.

Opt-out

Please write in discussion thread at mailing list. To verify your account please also send me a PM via OSM messaging system.