User blog comment:Wikipenguino45/Logo changing over time/@comment-5007040-20160608130556

Well I think most people do this manually. Mostly because there are only a few times you might want to change it. In addition to that, you also need to make the logos for it. However I'm sure you can change it automatically with some piece of js.

P.S. next time Special:Forum is a better place to ask :)