You may be thinking about Restrict wikimedia_commons URLs as image=* tag values?
Such bot edit is really easy to do. And in case of full local support in some area* I could perform such edit, this part is easy, feel free to request it or ask how such Python script can be made. But I have not done this due to time needed to confirm that such support actually exists. And I was not sure is it clearly supported anywhere so I did different things.
*By “full” I mean that noone is opposing, not even single person, of people who commented in discussion clearly labelled as proposing a bot edit and that such discussions took place also on mailing list if existing and used.
Or in English/Polish speaking area - that overwhelming consensus is in favour.
Otherwise I would worry about misinterpreting situation (due to a language barrier), though clear consensus is enough in general.