T121470 has been pending since long and a lot needs to be done before it's a reality.
A step in this direction could be to
* Centralised and migrate module namespace to commons
* Allow invoking from commons to various Wikipedia
* Host all modules in commons rather than on various language Wikipedia's.
Eg. Migrate Module:Infobox from all languages to commons. Use Module:Infobox/en, Module:Infobox/hi to code variations to the base module. So when enwiki invokes Module:Infobox it looks for commonsModule:Infobox/en and in its absense commonsModule:Infobox
Another example Module:WikidataIB, there's only 1 developer substantially (of enwiki) and rest of Wikipedia are copy-pasting it. So if something updates on enwiki, it is lagged behind on other wikis due to variation in time of updation.
See https://sa.m.wikipedia.org/wiki/विशेषः:योगदानानि/Capankajsmilyo of 1 November 2018. Just to update Module:WikidataIB, I had to import 9 modules from enwiki.