r89094 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89093‎ | r89094 | r89095 >
Date:12:25, 29 May 2011
Author:hartman
Status:ok
Tags:
Comment:
Fix mw.log. Broken by variable renaming in r89082
Modified paths:
  • /trunk/phase3/resources/mediawiki/mediawiki.log.js (modified) (history)

Diff [purge]

Index: trunk/phase3/resources/mediawiki/mediawiki.log.js
@@ -15,7 +15,7 @@
1616 * @author Trevor Parscal <tparscal@wikimedia.org>
1717 * @param logmsg string Message to output to console.
1818 */
19 - mw.log = function( msg ) {
 19+ mw.log = function( logmsg ) {
2020 // Allow log messages to use a configured prefix to identify the source window (ie. frame)
2121 if ( mw.config.exists( 'mw.log.prefix' ) ) {
2222 logmsg = mw.config.get( 'mw.log.prefix' ) + '> ' + logmsg;
@@ -64,4 +64,4 @@
6565 }
6666 };
6767
68 -})(jQuery);
\ No newline at end of file
 68+})(jQuery);

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r89082Adding or adjusting front-end function and variable documentation per our con...krinkle02:54, 29 May 2011

Status & tagging log