And fixing warnings as a result of it being in the index.
Change-Id: I28dfc97d8fc63131fc02c0fa0f82945f3c18029f
"mw.Title",
"mw.notification",
"mw.util",
"mw.Title",
"mw.notification",
"mw.util",
"--": [
"./external.js",
"../../resources/mediawiki/mediawiki.js",
"--": [
"./external.js",
"../../resources/mediawiki/mediawiki.js",
+ "../../resources/mediawiki/mediawiki.log.js",
"../../resources/mediawiki/mediawiki.util.js",
"../../resources/mediawiki/mediawiki.Title.js",
"../../resources/mediawiki/mediawiki.notify.js",
"../../resources/mediawiki/mediawiki.util.js",
"../../resources/mediawiki/mediawiki.Title.js",
"../../resources/mediawiki/mediawiki.notify.js",
* Logger for MediaWiki javascript.
* Implements the stub left by the main 'mediawiki' module.
*
* Logger for MediaWiki javascript.
* Implements the stub left by the main 'mediawiki' module.
*
+ /**
+ * @class mw.plugin.log
+ */
+
/**
* Logs a message to the console.
*
* In the case the browser does not have a console API, a console is created on-the-fly by appending
/**
* Logs a message to the console.
*
* In the case the browser does not have a console API, a console is created on-the-fly by appending
- * a <div id="mw-log-console"> element to the bottom of the body and then appending this and future
+ * a `<div id="mw-log-console">` element to the bottom of the body and then appending this and future
* messages to that, instead of the console.
*
* messages to that, instead of the console.
*
- * @param {String} First in list of variadic messages to output to console.
+ * @param {string...} msg Messages to output to console.
- mw.log = function ( /* logmsg, logmsg, */ ) {
// Turn arguments into an array
var args = Array.prototype.slice.call( arguments ),
// Allow log messages to use a configured prefix to identify the source window (ie. frame)
// Turn arguments into an array
var args = Array.prototype.slice.call( arguments ),
// Allow log messages to use a configured prefix to identify the source window (ie. frame)
+ /**
+ * @class mw
+ * @mixins mw.plugin.log
+ */
+
}( mediaWiki, jQuery ) );
}( mediaWiki, jQuery ) );