Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -59,7 +59,7 @@ |
60 | 60 | /** |
61 | 61 | * Are we in debug mode? |
62 | 62 | */ |
63 | | - $.articleFeedbackv5.debug = mw.config.get( 'wgArticleFeedbackv5Debug' ) ? true : false; |
| 63 | + $.articleFeedbackv5.debug = mw.config.get( 'wgArticleFeedbackv5Debug' ) ? true : ( mw.util.getParamValue( 'debug' ) ? true : false ); |
64 | 64 | |
65 | 65 | /** |
66 | 66 | * Are we tracking clicks? |
— | — | @@ -2015,8 +2015,6 @@ |
2016 | 2016 | $.articleFeedbackv5.clickTracking = $.articleFeedbackv5.checkClickTracking(); |
2017 | 2017 | // Has the user already submitted ratings for this page at this revision? |
2018 | 2018 | $.articleFeedbackv5.alreadySubmitted = $.cookie( $.articleFeedbackv5.prefix( 'submitted' ) ) === 'true'; |
2019 | | - // Are we in debug mode? |
2020 | | - $.articleFeedbackv5.debug = mw.config.get( 'wgArticleFeedbackv5Debug' ) ? true : false; |
2021 | 2019 | // Go ahead and bucket right away |
2022 | 2020 | $.articleFeedbackv5.selectBucket(); |
2023 | 2021 | // Anything the bucket needs to do? |