Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js |
— | — | @@ -326,8 +326,9 @@ |
327 | 327 | var $aftDiv = $( '<div id="mw-articlefeedback"></div>' ).articleFeedback( config ); |
328 | 328 | |
329 | 329 | // Put on bottom of article before #catlinks (if it exists) |
330 | | -// Except in Classic, which has #catlinks above the article but inside content-div. |
331 | | -if ( $( '#catlinks' ).length && !mw.config.get( 'skin' ) in ['standard', 'cologneblue', 'nostalgia'] ) { |
| 330 | +// Except in legacy skins, which have #catlinks above the article but inside content-div. |
| 331 | +var legacyskins = [ 'standard', 'cologneblue', 'nostalgia' ]; |
| 332 | +if ( $( '#catlinks' ).length && $.inArray( mw.config.get( 'skin' ), legacyskins ) < 0 ) { |
332 | 333 | $aftDiv.insertBefore( '#catlinks' ); |
333 | 334 | } else { |
334 | 335 | // CologneBlue, Nostalgia, ... |