Feature summary:
site.getmagicwords('thumb') should return the local name for the "thumb" image parameter as the first list element.
Currently it only returns the standard ["thumb"] string list...
site=pywikibot.Site('fr') site.getmagicwords('thumb')
It returns ['thumb']
It should instead return ['vignette', 'thumb']
For wp.de it should return ['mini', 'thumb']
For any language it should return the local language thumb equivalent.
Use case(s):
I want to update Wikipedias with the local language "thumb" parameter.
Benefits:
Bots and Pywikibot script could insert images to Wikipedia the same way as the Visual Editor does.