Index: trunk/extensions/ArticleFeedback/ArticleFeedback.php |
— | — | @@ -15,6 +15,9 @@ |
16 | 16 | |
17 | 17 | /* Configuration */ |
18 | 18 | |
| 19 | +// Enable/disable dashboard page |
| 20 | +$wgArticleFeedbackDashboard = false; |
| 21 | + |
19 | 22 | // Number of revisions to keep a rating alive for |
20 | 23 | $wgArticleFeedbackRatingLifetime = 30; |
21 | 24 | |
— | — | @@ -135,6 +138,9 @@ |
136 | 139 | // API Registration |
137 | 140 | $wgAPIListModules['articlefeedback'] = 'ApiQueryArticleFeedback'; |
138 | 141 | $wgAPIModules['articlefeedback'] = 'ApiArticleFeedback'; |
139 | | -// Special Page |
140 | | -$wgSpecialPages['ArticleFeedback'] = 'SpecialArticleFeedback'; |
141 | | -$wgSpecialPageGroups['ArticleFeedback'] = 'other'; |
| 142 | + |
| 143 | +if ( $wgArticleFeedbackDashboard ) { |
| 144 | + // Special Page |
| 145 | + $wgSpecialPages['ArticleFeedback'] = 'SpecialArticleFeedback'; |
| 146 | + $wgSpecialPageGroups['ArticleFeedback'] = 'other'; |
| 147 | +} |
\ No newline at end of file |