Fix mw.log. Broken by variable renaming in r89082
authorDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 29 May 2011 12:25:29 +0000 (12:25 +0000)
committerDerk-Jan Hartman <hartman@users.mediawiki.org>
Sun, 29 May 2011 12:25:29 +0000 (12:25 +0000)
resources/mediawiki/mediawiki.log.js

index 46fd98e..38f3411 100644 (file)
@@ -15,7 +15,7 @@
         * @author Trevor Parscal <tparscal@wikimedia.org>
         * @param logmsg string Message to output to console.
         */
-       mw.log = function( msg ) {
+       mw.log = function( logmsg ) {
                // Allow log messages to use a configured prefix to identify the source window (ie. frame)
                if ( mw.config.exists( 'mw.log.prefix' ) ) {
                        logmsg = mw.config.get( 'mw.log.prefix' ) + '> ' + logmsg;
@@ -64,4 +64,4 @@
                }
        };
 
-})(jQuery);
\ No newline at end of file
+})(jQuery);