Thread:Manual talk:Skin autodiscovery/Error Message/reply (2)

Does this work and will it remove the errors so the wiki is usable again ? I'm lost in a state where nothing works right now but I was a bit uncertain about what code lines to change or remove not to make things even worse. Still if this is a working way forward I would try it as nothing else works right now anyway.