Thread:Talk:ResourceLoader/Default modules/mw.log

The main page presently explains: "Calling this either pushes the messages to console if its available and have a logging facility, or adds it to an #mw-log-console if not (the element is created on the first call) [...] Note that different browsers and extensions may enable or disable different consoles and different logging facilities, and that they may or may not be visible even if they are used for logging purposes."

Please add some information to the documentation how visibility is being managed. Presently, some standard code is adding log messages, e.g. jquery.makeCollapsible output "Found custom collapsible:" and the id of the key. This is invisible on Chrome and Firefox (where a real log console exists), but is visible to all users of Internet Explorer (where a div is appended to the end of the wiki page). I assume that not all users of all wikis shall see this, so that the style for this div should be set to display:none - but it seems odd to require this to do manually in all instances of the mediawiki software (outside WMF).