Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js |
— | — | @@ -310,9 +310,6 @@ |
311 | 311 | } |
312 | 312 | }; |
313 | 313 | |
314 | | -// Do not show if we're viewing a redirect |
315 | | -if(mw.util.getParamValue('redirect')=='no') return false; |
316 | | - |
317 | 314 | /* Load at the bottom of the article */ |
318 | 315 | var $aftDiv = $( '<div id="mw-articlefeedback"></div>' ).articleFeedback( config ); |
319 | 316 | |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.startup.js |
— | — | @@ -13,6 +13,8 @@ |
14 | 14 | // Current revision |
15 | 15 | && mw.util.getParamValue( 'diff' ) == null |
16 | 16 | && mw.util.getParamValue( 'oldid' ) == null |
| 17 | + // Not viewing a redirect |
| 18 | + && mw.util.getParamValue( 'redirect' ) != 'no' |
17 | 19 | ) { |
18 | 20 | var trackingBucket = mw.user.bucket( |
19 | 21 | 'ext.articleFeedback-tracking', mw.config.get( 'wgArticleFeedbackTracking' ) |