Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.startup.js |
— | — | @@ -7,11 +7,12 @@ |
8 | 8 | // Main namespace articles |
9 | 9 | mw.config.get( 'wgNamespaceNumber' ) === 0 |
10 | 10 | // Existing pages |
11 | | - && mw.config.get( 'wgArticleId', 0 ) > 0 |
| 11 | + && mw.config.get( 'wgArticleId' ) > 0 |
12 | 12 | // View pages |
13 | | - && ( mw.config.get( 'wgAction' ) == 'view' || mw.config.get( 'wgAction' ) == 'view' ) |
| 13 | + && ( mw.config.get( 'wgAction' ) == 'view' || mw.config.get( 'wgAction' ) == 'purge' ) |
14 | 14 | // Current revision |
15 | | - && ( mw.util.getParamValue( 'diff' ) == null && mw.util.getParamValue( 'oldid' ) == null ) |
| 15 | + && mw.util.getParamValue( 'diff' ) == null |
| 16 | + && mw.util.getParamValue( 'oldid' ) == null |
16 | 17 | ) { |
17 | 18 | var trackingBucket = mw.user.bucket( |
18 | 19 | 'ext.articleFeedback-tracking', mw.config.get( 'wgArticleFeedbackTracking' ) |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.dashboard.css |
— | — | @@ -31,10 +31,24 @@ |
32 | 32 | text-align: right; |
33 | 33 | } |
34 | 34 | |
| 35 | +.articleFeedback-table-cell-score-1 { |
| 36 | + background-color: #ffcc00; |
| 37 | +} |
| 38 | + |
| 39 | + |
| 40 | +.articleFeedback-table-cell-score-2, |
35 | 41 | .articleFeedback-table-cell-bad { |
36 | 42 | background-color: #ffcc99; |
37 | 43 | } |
38 | 44 | |
| 45 | +.articleFeedback-table-cell-score-3 { |
| 46 | + background-color: #99cc99; |
| 47 | +} |
| 48 | + |
| 49 | +.articleFeedback-table-cell-score-4, |
39 | 50 | .articleFeedback-table-cell-good { |
40 | 51 | background-color: #99ff99; |
41 | 52 | } |
| 53 | +.articleFeedback-table-cell-score-5 { |
| 54 | + background-color: #00ff00; |
| 55 | +} |