Why does this thing assume this variable is set? This makes my tests crash in my testing environment where I have error_reporting set to report everything.
I've seen errors caused by code like this when trying to run tests for code that does not depend on MW without having MW loaded. Is happening in most JS components I think.
Why does this thing assume this variable is set? This makes my tests crash in my testing environment where I have error_reporting set to report everything.