Hi! In the past I have bothered you sometimes for bot fixes; 3 days ago I eventually started my first task in PWB and I created a bot account, EpidòseosBot; the program I wrote is User:EpidòseosBot/GND P21.py and, according to the first few test edits I made, it works; however, I have not succeeded in condensing the addition and the removal of the reference in just one edit, but as of now it is made in two edits, which is not optimal. Reading Wikidata:Requests for permissions/Bot/MatSuBot 8 I think that you would be able to improve my code so that the edits are condensed in one; could you help me when you have time? Feel free to suggest other improvements, I have never used python before the last 3 days. Thanks in advance!
Feel free to edit directly User:EpidòseosBot/GND P21.py; I will then copy the edits in my local file ;-)