Vandalism and blocks in Israel

Yes - I can explain how to do it on an object by object basis, using the revert scripts (which you can practice with on the dev server first).

Please do!

OK - first of all set up the scripts as per https://wiki.openstreetmap.org/wiki/Revert_scripts**

As an example, I’ll restore https://www.openstreetmap.org/way/200564221/history which lost its tags in the “to and fro” reverts. I’ll change the “force” flag in the “Undo,pm” module from “0” to “1”, so that subsequent edits (ov which there are many) are overwritten.

Then create a changeset:

$ perl changeset.pl create
changeset created: 143276631

Next, undo the “bad” users from the way:

$ perl undo.pl way 200564221   dawekiv148,vecago7283,febevi3666,kasiva6740,tewer84412,nodofi9184,tajoced719,gifokab209,hefiko2692,cinid15546,bojicat389,nomadod999,focipi8484,woyeh15025,bapil95563,joyboy8,cinid15546 143276631

and then close the changeset:

$ perl changeset.pl close 143276631 "Reverting some vandalism changes to a way in Israel.  See https://community.openstreetmap.org/t/vandalism-and-blocks-in-israel/105176/44"

changeset closed.

The tricky bit is that identifying the list of “bad” users is a challenge - in the example above, I actually forgot “palestine forever”, but it didn’t matter because their action was just an immediately reverted delete. After fixing a node like this always refresh ways that use it in the browse page of the OSM website to make sure that their geometry is still OK.

** I’m aware that this may prompt further questions, depending on what OS you’re using and what you’re familiar with.

1 Like

Thanks for the explanation.

How would you handle erroneous/incomplete revert attempts?
How would you extract all the elements that were vandalized by an account, say bojicat389?

Is there something that can be done to increase the throughput of the tool? It seems to take about a day to revert the damage created by a vandal in an hour.

The “force” says “go back beyond the edits by the specified users, and override subsquent edits”.

Yes - currently in testing…

1 Like

It looks like user_5359 was reverting some vandalism by bojicat389, in parallel with SomeoneElse_Revert.

changeset 143323363, changeset 143323713

I’ve suggested that they might want to check here first before doing that. Also, someone who was innocently mapping some mediterranean islands got caught up in it too.

It seems like the latest revert by SomeoneElse_Revert has not reverted the elements modified by bojicat389, would it be possible to launch a new revert that will do that?

Edit: It also seems like the current revert is stalled, probably because there are no more elements that were last modified by bojicat389. See this query

See this query for a rough estimate of the elements in Israel partially reverted by user_5359 that need a complete revert.

Nodes 10977489685, 10977489689, 10977489686, and probably more were deleted by dawekiv148 on 19-Oct and were reverted with an incorrect location.

Edit:

So far I have found only 4 of them: 10977489685, 10977489689, 10977489686, and 10977489695

@SomeoneElse, Should I revert them manually?

That node is part of this way, which has an obvious dogleg in it, and it’s not been affected by the latest two examples of vandalism, so yes, please do revert that.

It’s still ongoing…

1 Like

Apparently, I have “contributed” to them not being reverted properly: They were all initially deleted by dawekiv148 in changeset #142836180, and were incorrectly reverted by me in changeset 142961673.

I’ve reverted all of them to their original location in changeset 143363737

As have I - my tidy-up after yours used a different mechanism that was subsequently revised.

1 Like

OK, that revert is now complete.

Any other issues, please let us know…

Edit: No it wasn’t; I’d missed some. Currently being reverted in https://www.openstreetmap.org/changeset/143375645 .

Maybe it’s an opportunity to invalidate the tiles.
Do we know who could do that

@Firefishy

This area is still garbled.

Some examples:

OpenStreetMap seems suspicious with missing roads

I wanted to verify but overpass turbo fails with runtime error: Way 404135463 cannot be expanded at timestamp 2023-10-25T18:12:34Z.


Way: ‪ההגנה‬ (‪457498807‬) | OpenStreetMap is definitely broken

You can fix the node drags in the way that I outlined above. I’ve done a few in this changeset.

One of the two middle modes of that needs “undragging”. Just “undo” it as described above

That area looks better now. As I mentioned above, I accidentally missed some.