"Johnduhart" posted a comment on MediaWiki.r109948.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/109948#c29988

Commit summary for MediaWiki.r109948:

Smoothed a hack out of the special page js, and fixed a blocker Ubuntu/Firefox
bug in the process:
        - modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.special.js:
                - Moved the init stuff out of the second loader block (weird 
and hacky)
                  and into a new method, $.articleFeedbackv5special.setup
                - Cleaned up the fold markers
        - modules/ext.articleFeedbackv5/ext.articleFeedbackv5.dashboard.js:
                - Made this into a launcher like the startup script for the 
front end,
                  so that we can do similar testing
        - SpecialArticleFeedbackv5.php:
                - Updated to load ext.articleFeedbackv5.dashboard instead of
                  jquery.articleFeedbackv5.special
        - ArticleFeedbackv5.hooks.php:
                - Added dependencies for ext.articleFeedbackv5.dashboard so 
that it
                  gets mw.util and mw.user along with 
jquery.articleFeedbackv5.special

Johnduhart's comment:

<pre>+/**
+ * Global debug function
+ *
+ * @param any Output message
+ */
+aft5_debug = function( any ) {
+       if ( typeof console != 'undefined' ) {
+               console.log( any );
+       }
+}</pre>

mw.log

_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to