Index: trunk/extensions/ArticleAssessmentPilot/ArticleAssessmentPilot.i18n.php |
— | — | @@ -28,11 +28,6 @@ |
29 | 29 | # This special page doesn't exist yet, but it will soon. |
30 | 30 | 'articleassessment-featurefeedback' => 'Give us [[Special:Article Assessment Feedback|feedback]] about this feature.', |
31 | 31 | 'articleassessment-noratings' => '$1 ($2 {{PLURAL:$2|rating|ratings}})', |
32 | | - # Some of these messages are unused in the code as it is but may be in the future depending on performance. They should still be translated. |
33 | | - 'articleassessment-stalemessage-revisioncount' => "This article has been ''revised'' '''$1 times''' since you last reviewed it. |
34 | | -You may wish to re-rate it.", |
35 | | - 'articleassessment-stalemessage-greaterthancount' => "This article has been ''revised'' more than $1 times since you last reviewed it. |
36 | | -You may wish to re-rate it.", |
37 | 32 | 'articleassessment-stalemessage-norevisioncount' => "This article has been ''revised'' since you last reviewed it. |
38 | 33 | You may wish to re-rate it.", |
39 | 34 | |
Index: trunk/extensions/ArticleAssessmentPilot/css/ArticleAssessment.css |
— | — | @@ -11,6 +11,9 @@ |
12 | 12 | * $Build: 35 (2010-05-01) |
13 | 13 | * |
14 | 14 | */ |
| 15 | +.article-assessment-wrapper { |
| 16 | + min-width: 1036px; |
| 17 | +} |
15 | 18 | .article-assessment-wrapper .ui-stars-star { |
16 | 19 | float: left; |
17 | 20 | display: block; |
— | — | @@ -52,18 +55,10 @@ |
53 | 56 | /* End ui-stars styles */ |
54 | 57 | |
55 | 58 | /* Tipsy Styles */ |
56 | | -.tipsy { padding: 5px; font-size: 12px; position: absolute; z-index: 100000; } |
| 59 | +.tipsy { padding: 5px 5px 10px; font-size: 12px; position: absolute; z-index: 100000; overflow: visible; } |
57 | 60 | .tipsy-inner { padding: 5px 8px 4px 8px; background-color: #d6f3ff; color: black; border: 1px solid #5dc9f4; max-width: 300px; text-align: left; } |
58 | | -/* .tipsy-inner { border-radius: 3px; -moz-border-radius:3px; -webkit-border-radius:3px; } */ |
59 | 61 | .tipsy-arrow { position: absolute; background: url( '../images/arrow.gif' ) no-repeat top left; width: 13px; height: 13px; } |
60 | | -.tipsy-n .tipsy-arrow { top: 0; left: 50%; margin-left: -4px; } |
61 | | -.tipsy-nw .tipsy-arrow { top: 0; left: 10px; } |
62 | | -.tipsy-ne .tipsy-arrow { top: 0; right: 10px; } |
63 | | -.tipsy-s .tipsy-arrow { bottom: 0; left: 50%; margin-left: -4px; background-position: bottom left; } |
64 | | -.tipsy-sw .tipsy-arrow { bottom: 0; left: 10px; background-position: bottom left; } |
65 | | -.tipsy-se .tipsy-arrow { bottom: -7px; right: 10px; background-position: bottom left; } |
66 | | -.tipsy-e .tipsy-arrow { top: 50%; margin-top: -4px; right: 0; width: 5px; height: 9px; background-position: top right; } |
67 | | -.tipsy-w .tipsy-arrow { top: 50%; margin-top: -4px; left: 0; width: 5px; height: 9px; } |
| 62 | +.tipsy-se .tipsy-arrow { bottom: -2px; right: 10px; background-position: 0% 100%; } |
68 | 63 | |
69 | 64 | /* End Tipsy styles */ |
70 | 65 | .article-assessment-wrapper #article-assessment-rate, |
Index: trunk/extensions/ArticleAssessmentPilot/api/ApiQueryArticleAssessment.php |
— | — | @@ -48,10 +48,6 @@ |
49 | 49 | |
50 | 50 | $this->addFields( array( 'aa_rating_value', 'aa_revision' ) ); |
51 | 51 | |
52 | | - if ( isset( $params['revid'] ) ) { |
53 | | - $this->addWhereFld( 'aa_revision', $params['revid'] ); |
54 | | - } |
55 | | - |
56 | 52 | $this->addOption( 'ORDER BY', 'aa_revision DESC' ); |
57 | 53 | } |
58 | 54 | |
— | — | @@ -133,10 +129,6 @@ |
134 | 130 | ApiBase::PARAM_ISMULTI => false, |
135 | 131 | ApiBase::PARAM_TYPE => 'integer', |
136 | 132 | ), |
137 | | - 'revid' =>array( |
138 | | - ApiBase::PARAM_ISMULTI => false, |
139 | | - ApiBase::PARAM_TYPE => 'integer', |
140 | | - ), |
141 | 133 | 'userrating' => false, |
142 | 134 | 'anontoken' => null, |
143 | 135 | ); |
— | — | @@ -145,7 +137,6 @@ |
146 | 138 | public function getParamDescription() { |
147 | 139 | return array( |
148 | 140 | 'pageid' => 'Page ID to get assessments for', |
149 | | - 'revid' => 'Specific revision to get (used in conjunction with userrating param, otherwise ignored)', |
150 | 141 | 'userrating' => "Whether to get the current user's ratings for the specific rev/article", |
151 | 142 | 'anontoken' => 'Token for anonymous users', |
152 | 143 | ); |
Index: trunk/extensions/ArticleAssessmentPilot/js/ArticleAssessment.js |
— | — | @@ -272,7 +272,7 @@ |
273 | 273 | $( '.ui-stars-star-on' ) |
274 | 274 | .addClass( 'ui-stars-star-stale' ); |
275 | 275 | // add the stale message |
276 | | - var msg = $.ArticleAssessment.fn.getMsg( 'articleassessment-stalemessage-revisioncount' ); |
| 276 | + var msg = $.ArticleAssessment.fn.getMsg( 'articleassessment-stalemessage-norevisioncount' ); |
277 | 277 | $.ArticleAssessment.fn.flashNotice( msg, { 'class': 'article-assessment-stale-msg' } ); |
278 | 278 | } else { |
279 | 279 | // if it's not a stale rating, we want to make the stars blue |