Automated edits/kytta
Jump to navigation
Jump to search

try it yourself in overpass-turbo
This page describes mechanical edits done by me,
kytta (on OSM · edits · contribs · heatmap · comments).
Ways to contact me:
- message via OSM
- email via OSM Wiki
- message via OSM Community Forum
image/wikimedia_commons on Stolpersteine in Braunschweig
There are
413 Stolpersteine in Braunschweig that are recorded on OSM. A large part of them have both image and wikimedia_commons, where both keys have the same value, namely the Wikimedia Commons file name. This causes two problems:
imagewithouthttps:///http://is wrong; iD marks this as an error, among others.- Data duplication (duh)

[out:json][timeout:25];
{{geocodeArea:Braunschweig}}->.searchArea;
nwr["memorial"="stolperstein"]["image"]["wikimedia_commons"](if: t["image"] == t["wikimedia_commons"])(area.searchArea);
out geom;
Algorithm
- Edits will be made only in Braunschweig; i.e. in the area defined by the bounds of 62531
62531 at the time of the edit. - Only objects with
memorial=stolpersteinwill be considered
Depending on the tags, the following edits will be made:
- neither
imagenorwikimedia_commons— left as-is - only
imagewith a valid[stolperstein-footnotes 1] URL — left as-is - only
wikimedia_commonswith a value starting withfile:— left as-is - both
imageandwikimedia_commons, where both values are different and valid (as per above definitions) — left as-is - both
imageandwikimedia_commons, where both values are different, but one is invalid — manual edit - both
imageandwikimedia_commons, where both have the same value, but it's not a valid Wikimedia Commons file ref — manual edit - both
imageandwikimedia_commons, where both have the same Wikimedia Commons ref as value — automated edit removingimageand keepingwikimedia_commons
- ↑ "valid" merely means "RFC-valid"; URLs will not be verified whether they actually lead to an existing domain/page
The change will be done once, as I expect further mistakes of this kind to be reported by iD and other validators.
Discussion / Opt-out
The edit will be discussed in Braunschweig OSM Matrix chat:
#osm:stratum0.org. Submit your opt-out requests there or directly to me via channels mentioned above.