Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.js |
— | — | @@ -60,7 +60,7 @@ |
61 | 61 | <div class="articleFeedback-switch articleFeedback-switch-form articleFeedback-visibleWith-report" rel="form"><html:msg key="form-switch-label" /></div>\ |
62 | 62 | <div class="articleFeedback-title articleFeedback-visibleWith-form"><html:msg key="form-panel-title" /></div>\ |
63 | 63 | <div class="articleFeedback-title articleFeedback-visibleWith-report"><html:msg key="report-panel-title" /></div>\ |
64 | | - <div class="articleFeedback-instructions articleFeedback-visibleWith-form"><html:msg key="form-panel-instructions" /></div>\ |
| 64 | + <div class="articleFeedback-explaination articleFeedback-visibleWith-form"><a class="articleFeedback-explaination-link"><html:msg key="form-panel-explaination" /></a></div>\ |
65 | 65 | <div class="articleFeedback-description articleFeedback-visibleWith-report"><html:msg key="report-panel-description" /></div>\ |
66 | 66 | <div style="clear:both;"></div>\ |
67 | 67 | <div class="articleFeedback-ratings"></div>\ |
— | — | @@ -499,6 +499,11 @@ |
500 | 500 | } |
501 | 501 | } ) |
502 | 502 | .end() |
| 503 | + .find( '.articleFeedback-explaination-link' ) |
| 504 | + .attr( 'href', mw.config.get( 'wgArticlePath' ).replace( |
| 505 | + '$1', mw.msg( 'articlefeedback-form-panel-explaination-link' ) |
| 506 | + ) ) |
| 507 | + .end() |
503 | 508 | .find( '.articleFeedback-pitches' ) |
504 | 509 | .each( function() { |
505 | 510 | for ( var key in context.options.pitches ) { |
Index: trunk/extensions/ArticleFeedback/modules/jquery.articleFeedback/jquery.articleFeedback.css |
— | — | @@ -164,7 +164,7 @@ |
165 | 165 | background-image: url(images/report-hover.png); |
166 | 166 | } |
167 | 167 | |
168 | | -.articleFeedback-instructions, .articleFeedback-description { |
| 168 | +.articleFeedback-explaination, .articleFeedback-description { |
169 | 169 | float: left; |
170 | 170 | font-weight: bold; |
171 | 171 | margin-bottom: 0.75em; |
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.i18n.php |
— | — | @@ -30,7 +30,8 @@ |
31 | 31 | 'articlefeedback-error' => 'An error has occured. Please try again later.', |
32 | 32 | 'articlefeedback-form-switch-label' => 'Rate this page', |
33 | 33 | 'articlefeedback-form-panel-title' => 'Rate this page', |
34 | | - 'articlefeedback-form-panel-instructions' => 'Please take a moment to rate this page.', |
| 34 | + 'articlefeedback-form-panel-explaination' => 'What\'s this?', |
| 35 | + 'articlefeedback-form-panel-explaination-link' => 'Project:ArticleFeedback', |
35 | 36 | 'articlefeedback-form-panel-clear' => 'Remove this rating', |
36 | 37 | 'articlefeedback-form-panel-expertise' => 'I am highly knowledgeable about this topic (optional)', |
37 | 38 | 'articlefeedback-form-panel-expertise-studies' => 'I have a relevant college/university degree', |
Index: trunk/extensions/ArticleFeedback/ArticleFeedback.hooks.php |
— | — | @@ -63,7 +63,8 @@ |
64 | 64 | 'articlefeedback-error', |
65 | 65 | 'articlefeedback-form-switch-label', |
66 | 66 | 'articlefeedback-form-panel-title', |
67 | | - 'articlefeedback-form-panel-instructions', |
| 67 | + 'articlefeedback-form-panel-explaination', |
| 68 | + 'articlefeedback-form-panel-explaination-link', |
68 | 69 | 'articlefeedback-form-panel-clear', |
69 | 70 | 'articlefeedback-form-panel-expertise', |
70 | 71 | 'articlefeedback-form-panel-expertise-studies', |