Index: trunk/extensions/LinkFilter/Link.php |
— | — | @@ -23,10 +23,11 @@ |
24 | 24 | |
25 | 25 | // Extension credits that will show up on Special:Version |
26 | 26 | $wgExtensionCredits['other'][] = array( |
| 27 | + 'path' => __FILE__, |
27 | 28 | 'name' => 'LinkFilter', |
28 | | - 'version' => '2.0', |
| 29 | + 'version' => '2.0.1', |
29 | 30 | 'author' => array( 'Aaron Wright', 'David Pean', 'Jack Phoenix' ), |
30 | | - 'description' => 'Adds some new special pages and a parser hook for link submitting/approval/reject', |
| 31 | + 'descriptionmsg' => 'linkfilter-desc', |
31 | 32 | 'url' => 'http://www.mediawiki.org/wiki/Extension:LinkFilter' |
32 | 33 | ); |
33 | 34 | |
Index: trunk/extensions/LinkFilter/LinkFilter.i18n.php |
— | — | @@ -13,30 +13,31 @@ |
14 | 14 | * @author David Pean <david.pean@gmail.com> |
15 | 15 | */ |
16 | 16 | $messages['en'] = array( |
17 | | - 'linkapprove' => 'Approve Links', |
18 | | - 'linkshome' => 'Links Home', |
19 | | - 'linksubmit' => 'Submit a Link', |
| 17 | + 'linkapprove' => 'Approve links', |
| 18 | + 'linkshome' => 'Links home', |
| 19 | + 'linksubmit' => 'Submit a link', |
| 20 | + 'linkfilter-desc' => 'Adds new special pages and a parser hook for link submitting/approval/reject', |
20 | 21 | 'linkfilter-nothing-to-approve' => 'There are currently no links awaiting approval.', |
21 | 22 | 'linkfilter-no-recently-approved' => 'No links have been approved recently.', |
22 | | - 'linkfilter-no-links-at-all' => 'No links have been submitted yet or the link administrators haven\'t reviewed the submitted links yet.', |
| 23 | + 'linkfilter-no-links-at-all' => 'No links have been submitted yet or the link administrators have not reviewed the submitted links yet.', |
23 | 24 | 'linkfilter-ago' => '$1 ago under <i>$2</i>', |
24 | 25 | 'linkfilter-all' => 'All', |
25 | 26 | 'linkfilter-submit' => 'Submit', |
26 | | - 'linkfilter-submit-title' => 'Submit a Link', |
| 27 | + 'linkfilter-submit-title' => 'Submit a link', |
27 | 28 | 'linkfilter-submit-no-title' => 'Please enter a title', |
28 | | - 'linkfilter-submit-no-type' => 'Hey, pick a link type!', |
| 29 | + 'linkfilter-submit-no-type' => 'Pick a link type.', |
29 | 30 | 'linkfilter-edit-title' => 'Edit $1', |
30 | | - 'linkfilter-approve-links' => 'Approve Links', |
| 31 | + 'linkfilter-approve-links' => 'Approve links', |
31 | 32 | 'linkfilter-submit-another' => 'Submit another link', |
32 | 33 | 'linkfilter-login-title' => 'Not logged in', |
33 | 34 | 'linkfilter-login-text' => 'You must be logged in to submit links.', |
34 | 35 | 'linkfilter-url' => 'URL', |
35 | 36 | 'linkfilter-title' => 'Title', |
36 | | - 'linkfilter-type' => 'Link Type', |
| 37 | + 'linkfilter-type' => 'Link type', |
37 | 38 | 'linkfilter-description' => 'Description', |
38 | | - 'linkfilter-submit-button' => 'Submit Link', |
39 | | - 'linkfilter-home-button' => 'Links Home', |
40 | | - 'linkfilter-submit-success-title' => 'Link Submitted', |
| 39 | + 'linkfilter-submit-button' => 'Submit link', |
| 40 | + 'linkfilter-home-button' => 'Links home', |
| 41 | + 'linkfilter-submit-success-title' => 'Link submitted', |
41 | 42 | 'linkfilter-submit-success-text' => 'Your link has been sent for approval', |
42 | 43 | 'linkfilter-instructions' => 'You can add some instructions for users [[MediaWiki:Linkfilter-instructions|here]]', |
43 | 44 | 'linkfilter-admin-instructions' => 'You can add some instructions for admins [[MediaWiki:Linkfilter-admin-instructions|here]]', |
— | — | @@ -66,37 +67,37 @@ |
67 | 68 | 7) If some dude is spamming, don't post his links. One is OK.<br /> |
68 | 69 | 8) If someone is submitting really good stuff, let me me know -- s/he'd probably make a good admin.<br />", |
69 | 70 | */ |
70 | | - 'linkfilter-admin-recent' => 'Recently Approved', |
71 | | - 'linkfilter-approve-title' => 'Link Administration', |
| 71 | + 'linkfilter-admin-recent' => 'Recently approved', |
| 72 | + 'linkfilter-approve-title' => 'Link administration', |
72 | 73 | 'linkfilter-submittedby' => 'Submitted by', |
73 | 74 | 'linkfilter-submitted' => 'Submitted $1', |
74 | 75 | 'linkfilter-admin-accept' => 'Accept', |
75 | 76 | 'linkfilter-admin-reject' => 'Reject', |
76 | 77 | 'linkfilter-admin-reject-success' => 'The link was rejected', |
77 | 78 | 'linkfilter-admin-accept-success' => 'The link was accepted', |
78 | | - 'linkfilter-in-the-news' => 'In the News', |
79 | | - 'linkfilter-about-submitter' => 'About the Submitter', |
80 | | - 'linkfilter-anonymous' => 'Anonymous Fanatic', |
81 | | - 'linkfilter-comments-of-day' => 'Top Comments', |
| 79 | + 'linkfilter-in-the-news' => 'In the news', |
| 80 | + 'linkfilter-about-submitter' => 'About the submitter', |
| 81 | + 'linkfilter-anonymous' => 'Anonymous fanatic', |
| 82 | + 'linkfilter-comments-of-day' => 'Top comments', |
82 | 83 | 'linkfilter-comments' => '{{PLURAL:$1|$1 comment|$1 comments}}', |
83 | | - 'linkfilter-home-title' => '$1 Links', |
84 | | - 'linkfilter-home-title-all' => 'All Links', |
| 84 | + 'linkfilter-home-title' => '$1 links', |
| 85 | + 'linkfilter-home-title-all' => 'All kinks', |
85 | 86 | 'linkfilter-next' => 'next', |
86 | 87 | 'linkfilter-previous' => 'previous', |
87 | | - 'linkfilter-description-max' => 'Maximum Characters', |
| 88 | + 'linkfilter-description-max' => 'Maximum characters', |
88 | 89 | 'linkfilter-description-left' => '$1 left', |
89 | | - 'linkfilter-popular-articles' => 'Don\'t Miss', |
90 | | - 'linkfilter-new-links-title' => 'New Links', |
| 90 | + 'linkfilter-popular-articles' => 'Do not miss', |
| 91 | + 'linkfilter-new-links-title' => 'New links', |
91 | 92 | 'linkfilter-time-days' => '{{PLURAL:$1|one day|$1 days}}', |
92 | 93 | 'linkfilter-time-hours' => '{{PLURAL:$1|one hour|$1 hours}}', |
93 | 94 | 'linkfilter-time-minutes' => '{{PLURAL:$1|one minute|$1 minutes}}', |
94 | 95 | 'linkfilter-time-seconds' => '{{PLURAL:$1|one second|$1 seconds}}', |
95 | 96 | 'linkfilter-edit-summary' => 'new link', |
96 | 97 | 'linkfilter-no-results' => 'No pages found.', |
97 | | - 'linkfilter-feed-title' => '{{SITENAME}} Links', // RSS feed title |
| 98 | + 'linkfilter-feed-title' => '{{SITENAME}} links', // RSS feed title |
98 | 99 | // For Special:ListUsers - new group |
99 | | - 'group-linkadmin' => 'Link Administrators', |
100 | | - 'group-linkadmin-member' => 'Link Administrator', |
| 100 | + 'group-linkadmin' => 'Link administrators', |
| 101 | + 'group-linkadmin-member' => 'Link administrator', |
101 | 102 | // For Special:ListGroupRights |
102 | 103 | 'right-linkadmin' => 'Administrate user-submitted links', |
103 | 104 | ); |
— | — | @@ -161,4 +162,4 @@ |
162 | 163 | 'group-linkadmin' => 'Linkkien ylläpitäjät', |
163 | 164 | 'group-linkadmin-member' => 'Linkkien ylläpitäjä', |
164 | 165 | 'right-linkadmin' => 'Hallinnoida käyttäjien lähettämiä linkkejä', |
165 | | -); |
\ No newline at end of file |
| 166 | +); |
Index: trunk/extensions/Translate/groups/mediawiki-defines.txt |
— | — | @@ -731,6 +731,10 @@ |
732 | 732 | Lingo |
733 | 733 | magicfile = Lingo/Lingo.i18n.magic.php |
734 | 734 | |
| 735 | +Link Filter |
| 736 | +optional = linkfilter-url |
| 737 | +aliasfile = LinkFilter/Link.alias.php |
| 738 | + |
735 | 739 | Link OpenID |
736 | 740 | optional = linkopenid-prefs, linkopenid-prefstext-xrdsurl |
737 | 741 | |