r94330 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94329‎ | r94330 | r94331 >
Date:08:30, 12 August 2011
Author:krinkle
Status:ok
Tags:
Comment:
Fix type from r93813
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
@@ -12,7 +12,7 @@
1313 && mw.config.get( 'wgArticleId' ) > 0
1414 // View pages
1515 && ( mw.config.get( 'wgAction' ) == 'view' || mw.config.get( 'wgAction' ) == 'purge' )
16 - // If user is logged in, showiong on action=purge is OK,
 16+ // If user is logged in, showing on action=purge is OK,
1717 // but if user is logged out, action=purge shows a form instead of the article,
1818 // so return false in that case.
1919 && !( mw.config.get( 'wgAction' ) == 'purge' && mw.user.anonymous() )

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93813Don't show AFT if user is both logged out and on action=purge,...krinkle09:28, 3 August 2011

Status & tagging log