<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta content="text/html; charset=utf-8" http-equiv="Content-Type"></head><br><br><div style='font-size:10.0pt;font-family:"Tahoma","sans-serif";padding:3.0pt 0in 0in 0in'>
<hr style='border:none;border-top:solid #E1E1E1 1.0pt'>
<b>Från:</b> pangoSE <pangose@riseup.net><br>
<b>Skickat:</b> 25 juni 2020 19:49:58 CEST<br>
<b>Till:</b> tagging@lists.openstreetmap.org<br>
<b>Ämne:</b> Automated edit of image tags suggestion<br>
</div>
<br>
Below is a copy of the text at: <a href="https://wiki.openstreetmap.org/wiki/Automated_edits/pangoSE#Key:image">https://wiki.openstreetmap.org/wiki/Automated_edits/pangoSE#Key:image</a><br><br><br>Key:imageEdit<br><br>There are serious problems with the use of this key in the database. <br><br>I recently started discussing the problems related to urls and File:filename.* that links to wikimedia_commons using the tag. See Talk:Key:image#Discourage_linking_to_commons_files_and_migrate_all_File:filename..2A_values_and_direct_urls_to_wikimedia_commons and tagging. <br><br>Algorithm 1Edit image=File:* -> wikimedia_commons=File:* image=Category:* -> wikimedia_commons=Category:* image=https://commons.wikimedia.org/wiki/File:* -> wikimedia_commons=File:* image=https://commons.wikimedia.org/wiki/Category:* -> wikimedia_commons=Category:*<br><br>There are some image= tags that link to multiple images separated by ";". These will be manually migrated to contain only one image that is not linking to commons and the rest in a note, note1, noteX if multiple urls. <br><br>There are some elements like <a href="https://www.openstreetmap.org/node/674919702">https://www.openstreetmap.org/node/674919702</a> that both link to a commons category with wikimedia_commons= and an additional image= that links to one of those images. I will not touch this as it would probably be best to introduce new tags commons_image and commons_category for this usecase like Yurik did in the tagging discussion. <br><br>There are some urls that link to a category and the media viewer. This is not always working (see [1]) but will not be touched by this edit as there have not been a discussion of this practice yet to my knowledge. <br><br>Algorithm 2Edit <br><br>Based on suggestions by Yurik of separating the file and category references. <br><br>image=File:* -> commons_file=File:* image=Category:* -> commons_category=Category:* image=https://commons.wikimedia.org/wiki/File:* -> commons_file=File:* image=https://commons.wikimedia.org/wiki/Category:* -> commons_category=Category:*<br><br>Note commons_file could also link to a video. <br><br>There are some image= tags that link to multiple images separated by ";". These will be manually migrated to contain only one image that is not linking to commons and the rest in a note, note1, noteX if multiple urls. <br><br>There are some elements like <a href="https://www.openstreetmap.org/node/674919702">https://www.openstreetmap.org/node/674919702</a> that both link to a commons category with wikimedia_commons= and an additional image= that links to one of those images. These will be changed to commons_file and commons_category. <br><br>There are some urls that link to a category and the media viewer. This is not always working (see [2]) but will not be touched by this edit as there have not been a discussion of this practice yet to my knowledge. <br><br>Affected featuresEdit <br><br>This edit will affect about 80,000 elements in the database. There are >80,000 image= tags with links to wikimedia commons where 50,000 of them is in Germany alone. <br><br>ExecutionEdit <br><br>Changesets will be kept small ie. country size bbox maximum. For Germany there are ~50150 so there I will keep the bbox region sized. <br><br>I will use JOSM to make the changes using find/replace. <br><br>DiscussionEdit <br><br>                       <br><br>                    Discussion                      <br><br>                             <br><br>   <br><br>            <br><br>                    <br><br>Last edited 5 months ago by PangoSE                 <br><br>    <br><br>    OpenStreetMap Wiki      <br><br>Content is available under Creative Commons Attribution-ShareAlike 2.0 license unless otherwise noted.<br><br><br></html>