Delete empty gallery tags ?
Issue #11
new
Hi,
Would it be possible for CommonsDelinker to also delete gallery tags when it deletes the last image of the gallery ? It would avoid leaving empty gallery tags in articles.
Examples: https://fr.wikipedia.org/w/index.php?title=Danny_Lloyd&type=revision&diff=116421571&oldid=116421568 https://fr.wikipedia.org/w/index.php?title=Danny_Lloyd&diff=prev&oldid=116421568