Index: trunk/extensions/ArticleFeedback/SpecialArticleFeedback.php |
— | — | @@ -43,8 +43,10 @@ |
44 | 44 | return array( |
45 | 45 | array( |
46 | 46 | 'title' => 'Main Page', |
47 | | - 'ratings' => array( 4, 3, 2, 1 ), |
48 | | - 'all' => 2.5 |
| 47 | + // List of ratings as the currently stand |
| 48 | + 'values' => array( 4, 3, 2, 1 ), |
| 49 | + // Current average (considering historic averages of each rating) |
| 50 | + 'average' => 1.925 |
49 | 51 | ) |
50 | 52 | ); |
51 | 53 | } |
— | — | @@ -62,8 +64,8 @@ |
63 | 65 | return array( |
64 | 66 | array( |
65 | 67 | 'title' => 'Main Page', |
66 | | - 'ratings' => array( 4, 3, 2, 1 ), |
67 | | - 'average' => 2.5 |
| 68 | + // List of differences for each rating in the past 7 days |
| 69 | + 'differnces' => array( 1, -2, 0, 0 ), |
68 | 70 | ) |
69 | 71 | ); |
70 | 72 | } |
— | — | @@ -81,8 +83,8 @@ |
82 | 84 | return array( |
83 | 85 | array( |
84 | 86 | 'title' => 'Main Page', |
85 | | - 'ratings' => array( 4, 3, 2, 1 ), |
86 | | - 'average' => 2.5 |
| 87 | + // List of rating IDs that qualify as recent lows |
| 88 | + 'lows' => array( 0, 3 ), |
87 | 89 | ) |
88 | 90 | ); |
89 | 91 | } |