Index: branches/REL1_17/phase3/resources/mediawiki/mediawiki.js |
— | — | @@ -606,12 +606,8 @@ |
607 | 607 | } |
608 | 608 | } |
609 | 609 | } catch ( e ) { |
610 | | - // This needs to NOT use mw.log because these errors are common in production mode |
611 | | - // and not in debug mode, such as when a symbol that should be global isn't exported |
612 | | - if ( window.console && typeof window.console.log === 'function' ) { |
613 | | - console.log( _fn + 'Exception thrown by ' + module + ': ' + e.message ); |
614 | | - console.log( e ); |
615 | | - } |
| 610 | + mediaWiki.log( 'Exception thrown by ' + module + ': ' + e.message ); |
| 611 | + mediaWiki.log( e ); |
616 | 612 | registry[module].state = 'error'; |
617 | 613 | // Run error callbacks of jobs affected by this condition |
618 | 614 | for ( var j = 0; j < jobs.length; j++ ) { |
Property changes on: branches/REL1_17/phase3/resources/mediawiki/mediawiki.js |
___________________________________________________________________ |
Modified: svn:mergeinfo |
619 | 615 | Reverse-merged /trunk/phase3/resources/mediawiki/mediawiki.js:r84431,84464,84543,84553,84573-84574,84577,84579,84729,84765,84820,84846,84905,84985,85032,85140,85143,85152,85178,85194,85199 |