r110322 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110321‎ | r110322 | r110323 >
Date:19:54, 30 January 2012
Author:rsterbin
Status:ok
Tags:aft 
Comment:
Added curiously undocumented config setting for restricting the dashboard's availability to a particular category
Modified paths:
  • /trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php
@@ -32,6 +32,9 @@
3333 // Which categories the pages must not belong to have the rating widget added (with _ in text)
3434 $wgArticleFeedbackv5BlacklistCategories = array( 'Article_Feedback_Blacklist' );
3535
 36+// Which category's pages can be shown on the feedback dashboard
 37+$wgArticleFeedbackv5DashboardCategory = 'Article_Feedback_5';
 38+
3639 // Only load the module / enable the tool in these namespaces
3740 // Default to $wgContentNamespaces (defaults to array( NS_MAIN ) ).
3841 $wgArticleFeedbackv5Namespaces = $wgContentNamespaces;

Status & tagging log