Index: trunk/extensions/ArticleFeedback/sql/ArticleFeedback.sql |
— | — | @@ -8,8 +8,8 @@ |
9 | 9 | |
10 | 10 | -- Default article feedback ratings for the pilot |
11 | 11 | INSERT INTO /*$wgDBprefix*/article_feedback_ratings (aar_rating) VALUES |
12 | | -('articlefeedback-rating-wellsourced'), ('articlefeedback-rating-neutrality'), |
13 | | -('articlefeedback-rating-completeness'), ('articlefeedback-rating-readability'); |
| 12 | +('articlefeedback-rating-trustworthy'), ('articlefeedback-rating-unbiased'), |
| 13 | +('articlefeedback-rating-complete'), ('articlefeedback-rating-wellwritten'); |
14 | 14 | |
15 | 15 | -- Store article feedbacks (user rating per revision) |
16 | 16 | CREATE TABLE IF NOT EXISTS /*$wgDBprefix*/article_feedback ( |
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php |
— | — | @@ -13,14 +13,14 @@ |
14 | 14 | 'scripts' => 'ext.articleFeedback/ext.articleFeedback.js', |
15 | 15 | 'styles' => 'ext.articleFeedback/ext.articleFeedback.css', |
16 | 16 | 'messages' => array( |
17 | | - 'articlefeedback-field-wellsourced-label', |
18 | | - 'articlefeedback-field-wellsourced-tip', |
| 17 | + 'articlefeedback-field-trustworthy-label', |
| 18 | + 'articlefeedback-field-trustworthy-tip', |
19 | 19 | 'articlefeedback-field-complete-label', |
20 | 20 | 'articlefeedback-field-complete-tip', |
21 | | - 'articlefeedback-field-neutral-label', |
22 | | - 'articlefeedback-field-neutral-tip', |
23 | | - 'articlefeedback-field-readable-label', |
24 | | - 'articlefeedback-field-readable-tip', |
| 21 | + 'articlefeedback-field-unbiased-label', |
| 22 | + 'articlefeedback-field-unbiased-tip', |
| 23 | + 'articlefeedback-field-wellwritten-label', |
| 24 | + 'articlefeedback-field-wellwritten-tip', |
25 | 25 | ), |
26 | 26 | 'dependencies' => array( |
27 | 27 | 'jquery.articleFeedback', |
Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -25,9 +25,6 @@ |
26 | 26 | <div style="clear:both;"></div>\ |
27 | 27 | </div>\ |
28 | 28 | </div>\ |
29 | | -<div class="articleFeedback-dialog" rel="survey"><div class="articleFeedback-buffer"><div class="articleFeedback-title">Take a survey?</div></div></div>\ |
30 | | -<div class="articleFeedback-dialog" rel="register"><div class="articleFeedback-buffer"><div class="articleFeedback-title">Create an account?</div></div></div>\ |
31 | | -<div class="articleFeedback-dialog" rel="edit"><div class="articleFeedback-buffer"><div class="articleFeedback-title">Edit a page?</div></div></div>\ |
32 | 29 | ', |
33 | 30 | 'rating': '\ |
34 | 31 | <div class="articleFeedback-rating">\ |
— | — | @@ -39,6 +36,13 @@ |
40 | 37 | <div class="articleFeedback-rating-count articleFeedback-visibleWith-report"></div>\ |
41 | 38 | <div style="clear:both;"></div>\ |
42 | 39 | </div>\ |
| 40 | + ', |
| 41 | + 'dialog': '\ |
| 42 | +<div class="articleFeedback-dialog">\ |
| 43 | + <div class="articleFeedback-buffer">\ |
| 44 | + <div class="articleFeedback-title"></div>\ |
| 45 | + </div>\ |
| 46 | +</div>\ |
43 | 47 | ' |
44 | 48 | }, |
45 | 49 | 'fn': { |
Index: trunk/extensions/ArticleFeedback/modules/ext.articleFeedback/ext.articleFeedback.js |
— | — | @@ -6,25 +6,25 @@ |
7 | 7 | |
8 | 8 | var config = { |
9 | 9 | 'ratings': { |
10 | | - 'wellsourced': { |
| 10 | + 'trustworthy': { |
11 | 11 | 'id': '1', |
12 | | - 'label': 'articlefeedback-field-wellsourced-label', |
13 | | - 'tip': 'articlefeedback-field-wellsourced-tip' |
| 12 | + 'label': 'articlefeedback-field-trustworthy-label', |
| 13 | + 'tip': 'articlefeedback-field-trustworthy-tip' |
14 | 14 | }, |
15 | | - 'neutral': { |
| 15 | + 'unbiased': { |
16 | 16 | 'id': '2', |
17 | | - 'label': 'articlefeedback-field-neutral-label', |
18 | | - 'tip': 'articlefeedback-field-neutral-tip' |
| 17 | + 'label': 'articlefeedback-field-unbiased-label', |
| 18 | + 'tip': 'articlefeedback-field-unbiased-tip' |
19 | 19 | }, |
20 | 20 | 'complete': { |
21 | 21 | 'id': '3', |
22 | 22 | 'label': 'articlefeedback-field-complete-label', |
23 | 23 | 'tip': 'articlefeedback-field-complete-tip' |
24 | 24 | }, |
25 | | - 'readable': { |
| 25 | + 'wellwritten': { |
26 | 26 | 'id': '4', |
27 | | - 'label': 'articlefeedback-field-readable-label', |
28 | | - 'tip': 'articlefeedback-field-readable-tip' |
| 27 | + 'label': 'articlefeedback-field-wellwritten-label', |
| 28 | + 'tip': 'articlefeedback-field-wellwritten-tip' |
29 | 29 | } |
30 | 30 | } |
31 | 31 | }; |
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.i18n.php |
— | — | @@ -36,14 +36,14 @@ |
37 | 37 | 'articlefeedback-report-panel-description' => 'Current average ratings.', |
38 | 38 | 'articlefeedback-report-empty' => 'No ratings', |
39 | 39 | 'articlefeedback-report-ratings' => '$1 ratings', |
40 | | - 'articlefeedback-field-wellsourced-label' => 'Well-sourced', |
41 | | - 'articlefeedback-field-wellsourced-tip' => 'Do you feel this page has sufficient citations and that those citations come from trustworthy sources?', |
| 40 | + 'articlefeedback-field-trustworthy-label' => 'Trustworthy', |
| 41 | + 'articlefeedback-field-trustworthy-tip' => 'Do you feel this page has sufficient citations and that those citations come from trustworthy sources?', |
42 | 42 | 'articlefeedback-field-complete-label' => 'Complete', |
43 | 43 | 'articlefeedback-field-complete-tip' => 'Do you feel that this page covers the essential topic areas that it should?', |
44 | | - 'articlefeedback-field-neutral-label' => 'Neutral', |
45 | | - 'articlefeedback-field-neutral-tip' => 'Do you feel that this page shows a fair representation of all perspectives on the issue?', |
46 | | - 'articlefeedback-field-readable-label' => 'Readable', |
47 | | - 'articlefeedback-field-readable-tip' => 'Do you feel that this page is well-organized and well written?', |
| 44 | + 'articlefeedback-field-unbiased-label' => 'Unbiased', |
| 45 | + 'articlefeedback-field-unbiased-tip' => 'Do you feel that this page shows a fair representation of all perspectives on the issue?', |
| 46 | + 'articlefeedback-field-wellwritten-label' => 'Well-written', |
| 47 | + 'articlefeedback-field-wellwritten-tip' => 'Do you feel that this page is well-organized and well-written?', |
48 | 48 | ); |
49 | 49 | |
50 | 50 | /** Message documentation (Message documentation) |