During set up of TemplateWizzard as a gadget at nowiki an entry in MediaWiki:Gadgets-definition was defined wit empty dependencies. The actual entry was like this, which created an error report in the console, as it should be like this. That is without dependecies. Still, even after fixing this the error message persist
Error: "Unknown dependency: " sort Dependencies https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:91:815 sort Dependencies https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:92:402 resolve Stubbornly https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:92:720 load https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:103:675 <anonymous> https://no.wikipedia.org/w/index.php?title=Hamarkameratene&action=edit:9:4 start Up https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:85:42 onload https://no.wikipedia.org/w/load.php?debug=false&lang=nb&modules=startup&only=scripts&skin=vector:108:570 load.php:86:202
I have checked if this creates the same error at sewiki, but it does not.
If a page is edited with debug=1 then the error goes away.
My guess is that the error is thrown because of an earlier cached value, and it happens before the load script can refresh the same cache. If the debug flag is set, then the cache is not used, and no error is reported.
The actual error as reported