I wrote a small script for the same task and run it on a few pages on itwiki.
Badges work correctly, but categories added by it:Template:Link V and it:Template:Link VdQ obviously aren't shown.
So we need an easy way to track articles by badges in real time before starting the removal.

Il 02/09/2014 09:09, Amir Ladsgroup ha scritto:
Hey,
My bot finished initial part of removing all of Link GA, and Link FA
in nl, sv, pl Wikis (and some other wikis). I just removed badges that
are already in Wikidata. My bot cleaned up more than 12/13 of articles
in Ducth Wikipedia. The ratio was not good for sv and pl for some
reasons that I fixed for the next run (e.g. in Polish Wikipedia
usually they use "link FA" instead of "Link FA"). I ran a script in nl
wiki to get the list of remained Link FA templates based on target
language (to see what badges are missing)
To see the report these are links:
https://tools.wmflabs.org/dexbot/link_fa_nl.txt
https://tools.wmflabs.org/dexbot/link_ga_nl.txt

In those files "gv": ["Q183"] means in article of Germany in Ducth
Wikipedia this template exists: {{Link FA|gv}} because my bot didn't
remove it.

I managed to sort them based on number of missing badges in target language:
{1: [u'gv', u'am', u'km', u'srn', u'la', u'nah', u'lt', u'frr', u'be',
u'wa', u'fy', u'fa', u'oc', u'sk', u'sw'], 2: [u'th', u'arz', u'yi',
u'ceb', u'bn', u'bat-smg', u'lmo', u'fo', u'ml', u'tt', u'mr'], 3:
[u'af', u'mwl', u'sl', u'ms', u'uz', u'no'], 4: [u'sco', u'az', u'lv',
u'ast', u'kl'], 5: [u'cs', u'nap', u'bg', u'fi', u'zh-classical',
u'ka', u'bar'], 6: [u'sr'], 7: [u'zh', u'simple', u'el', u'hy', u'sq',
u'hr'], 8: [u'tr'], 10: [u'vi', u'eu', u'sh', u'hu', u'sa'], 11:
[u'gl', u'ko'], 13: [u'ca'], 14: [u'zh-yue', u'uk'], 15: [u'nds-nl'],
16: [u'bs', u'als', u'ar'], 19: [u'ro', u'be-x-old'], 22: [u'pt',
u'vls'], 23: [u'ja'], 24: [u'ru', u'ur'], 25: [u'eo'], 29: [u'sv'],
32: [u'en'], 35: [u'de'], 41: [u'mk'], 43: [u'id'], 46: [u'scn'], 52:
[u'it'], 65: [u'he'], 79: [u'es'], 80: [u'pl'], 95: [u'fr']}

For a wiki with more than 1335 featured article 95 missing badge seems
normal (Don't get me wrong A missing badge in this case doesn't mean
we should add the badge to Wikidata, It can be caused for a former
featured article, vandalism, or lots of other things)

But for some Wiki the number isn't normal and I checked these
languages carefully and added badges that are missing from Wikidata:
*ur, vls, be-x-old, nds-nl, zh-yue, zh-classical, nap, bat-smg
Overall about 300 badges are added to Wikidata today.

For cleaning up Wikis from former featured articles and former good
articles I wrote a feature in featured.py about four years ago but
some Wikis use it (like nl, and pl) and some of them don't (like sv).
I need to talk to them about this, If your Wiki have similar situation
just command this:
python pwb.py featured -fromall -former
(or python featured.py ... in compat)

I fixed some other issues and I'm rerunning them in lots of Wikis. I
can get this report for English Wikipedia and Persian Wikipedia by
tomorrow.

If anything else needs to be done, a Wiki is missing or anything,
please share here.
Best