[openstreetmap/openstreetmap-website] Incorrectly "renamed" translations on translatewiki (Issue #4006)
Niklas Laxström
notifications at github.com
Sat Apr 22 07:00:02 UTC 2023
I have deleted translations containing raw html links by looping:
```
curl 'https://translatewiki.net/w/api.php?action=query&format=json&list=search&formatversion=2&srsearch=insource%3Ahref&srnamespace=1222&srlimit=max&srwhat=text&srinfo=&srprop=&srsort=last_edit_desc' | jq '.query .search[].title' -r > deletelist
php /srv/mediawiki/workdir/maintenance/run.php deleteBatch --u FuzzyBot --r "https://github.com/openstreetmap/openstreetmap-website/issues/4006" deletelist
```
I believe this addresses your request. The rename was my mistake when processing incoming changes.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4006#issuecomment-1518538668
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4006/1518538668 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20230422/c9fbf947/attachment.htm>
More information about the rails-dev
mailing list