Last modified: 2013-05-02 01:34:45 UTC
If agreed upon, perhaps also set it to true by default or even delete the variable in mediawiki/core in general. ResourceLoader emits certain errors (wfDebugLog('resourceloader', ..)) which cannot be found any other way. Quite major and critical errors. But they are being excluded from the debug.log etc. because they occur from a load.php request and since wfIsDebugRawPage() returns true for load.php and wgDebugRawPage being false, we never see them. wgDebugRawPage was originally introduced to "to avoid overlapping debug entries" because action=raw pages were very simplistic. Any error happening there is either extremely rare or something also happening on the index.php request that referenced action=raw. However this is not true for load.php. That should never have been suppressed[1] in my opinion. A common error is a mistake in the module definition (e.g. referencing a javascript file that doesn't exist, minification failing, dependency problems etc.) that should be logged. At least on wmf. [1] https://github.com/wikimedia/mediawiki-core/commit/c00d63dda3df84fd728dc21ffe8bab8060d76ebc
Combination of bug 44018 and bug 47960 is good enough for me.