r89192 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89191‎ | r89192 | r89193 >
Date:22:47, 30 May 2011
Author:erik
Status:reverted
Tags:
Comment:
don't load AFT on printable version
Modified paths:
  • /trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.startup.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.startup.js
@@ -15,6 +15,8 @@
1616 && mw.util.getParamValue( 'oldid' ) == null
1717 // Not viewing a redirect
1818 && mw.util.getParamValue( 'redirect' ) != 'no'
 19+ // Not printable version
 20+ && mw.util.getParamValue( 'printable' ) != 'yes'
1921 ) {
2022 // Assign a tracking bucket using options from wgArticleFeedbackTracking
2123 mw.user.bucket(

Follow-up revisions

RevisionCommit summaryAuthorDate
r89193meh, should be done via CSSerik23:02, 30 May 2011
r89198Suppress AFT from all print outputs. I am adding a @media rule, but also...erik02:12, 31 May 2011

Status & tagging log