This code is released under the Affero GPL. The license may be waived by contacting Kudu.

python pywikipedia/replace.py -transcludes:Geobox_locator_Ontario -regex -summary:"[[User:KuduBot/1|Task 1]]" "(?P<head>\{\{Geobox[^\}]*)map ?= ?Canada Ontario location map\.svg" "\g<head>map = Canada Ontario location map 2.svg"