Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.i18n.php |
— | — | @@ -14,6 +14,7 @@ |
15 | 15 | 'articlefeedbackv5-cta1-confirmation-title' => 'Did you know that you can edit this page?', |
16 | 16 | 'articlefeedbackv5-cta1-confirmation-call' => 'Wikipedia works because anyone can edit its articles. Go ahead, give it a try. Be bold!', |
17 | 17 | 'articlefeedbackv5-cta1-learn-how' => 'Learn how to edit', |
| 18 | + 'articlefeedbackv5-cta1-learn-how-url' => 'http://en.wikipedia.org/wiki/Wikipedia:Tutorial', |
18 | 19 | 'articlefeedbackv5-cta1-edit-linktext' => 'Edit this page', |
19 | 20 | |
20 | 21 | // error messages |
Index: trunk/extensions/ArticleFeedbackv5/modules/jquery.articleFeedbackv5/jquery.articleFeedbackv5.js |
— | — | @@ -1832,6 +1832,10 @@ |
1833 | 1833 | |
1834 | 1834 | // Start up the block to return |
1835 | 1835 | var $block = $( $.articleFeedbackv5.currentCTA().templates.block ); |
| 1836 | + |
| 1837 | + // Fill in the tutorial link |
| 1838 | + $block.find( '.articleFeedbackv5-confirmation-learnHow a' ) |
| 1839 | + .attr( 'href', mw.msg( 'articlefeedbackv5-cta1-learn-how-url' ) ); |
1836 | 1840 | |
1837 | 1841 | // Fill in the link |
1838 | 1842 | $block.find( '.articleFeedbackv5-edit-cta-link' ) |
Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.php |
— | — | @@ -26,7 +26,7 @@ |
27 | 27 | |
28 | 28 | // Which categories the pages must belong to have the rating widget added (with _ in text) |
29 | 29 | // Extension is "disabled" if this field is an empty array (as per default configuration) |
30 | | -$wgArticleFeedbackv5Categories = array(); |
| 30 | +$wgArticleFeedbackv5Categories = array('AFT5'); |
31 | 31 | |
32 | 32 | // Which categories the pages must not belong to have the rating widget added (with _ in text) |
33 | 33 | $wgArticleFeedbackv5BlacklistCategories = array(); |
Index: trunk/extensions/ArticleFeedbackv5/ArticleFeedbackv5.hooks.php |
— | — | @@ -53,6 +53,7 @@ |
54 | 54 | 'articlefeedbackv5-cta1-confirmation-title', |
55 | 55 | 'articlefeedbackv5-cta1-confirmation-call', |
56 | 56 | 'articlefeedbackv5-cta1-learn-how', |
| 57 | + 'articlefeedbackv5-cta1-learn-how-url', |
57 | 58 | 'articlefeedbackv5-cta1-edit-linktext', |
58 | 59 | 'articlefeedbackv5-bucket1-title', |
59 | 60 | 'articlefeedbackv5-bucket1-question-toggle', |