Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.defaultOptions.js |
— | — | @@ -17,225 +17,225 @@ |
18 | 18 | // example type, could be removed later |
19 | 19 | 'barnstar': { |
20 | 20 | name: mw.msg( 'wikilove-type-barnstars' ), // name of the type (appears in the types menu) |
21 | | - select: 'Select a barnstar:', // subtype select label |
| 21 | + select: mw.msg( 'wikilove-barnstar-select' ), // subtype select label |
22 | 22 | subtypes: { // some different subtypes |
23 | 23 | // note that when not using subtypes you should use these subtype options |
24 | 24 | // for the top-level type |
25 | 25 | 'original': { |
26 | 26 | fields: [ 'message' ], // fields to ask for in form |
27 | | - option: 'Original Barnstar', // option listed in the select list |
28 | | - descr: 'This barnstar is given to recognize particularly fine contributions to Wikipedia, to let people know that their hard work is seen and appreciated.', // description |
29 | | - header: 'A barnstar for you!', // header that appears at the top of the talk page post (optional) |
30 | | - title: 'The Original Barnstar', // title that appears inside the award box (optional) |
| 27 | + option: mw.msg( 'wikilove-barnstar-admin-' ), // option listed in the select list |
| 28 | + descr: mw.msg( 'wikilove-barnstar-admin-' ), // description |
| 29 | + header: mw.msg( 'wikilove-barnstar-header' ), // header that appears at the top of the talk page post (optional) |
| 30 | + title: mw.msg( 'wikilove-barnstar-admin-' ), // title that appears inside the award box (optional) |
31 | 31 | image: 'Original Barnstar Hires.png' // image for the award |
32 | 32 | }, |
33 | 33 | 'admins': { |
34 | 34 | fields: [ 'message' ], |
35 | | - option: 'Admin\'s Barnstar', |
36 | | - descr: 'The Admin\'s Barnstar may be awarded to an administrator who made a particularly difficult decision or performed a tedious but needed admin task.', |
37 | | - header: 'A barnstar for you!', |
38 | | - title: 'The Admin\'s Barnstar', |
| 35 | + option: mw.msg( 'wikilove-barnstar-admins-option' ), |
| 36 | + descr: mw.msg( 'wikilove-barnstar-admins-desc' ), |
| 37 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 38 | + title: mw.msg( 'wikilove-barnstar-admins-title' ), |
39 | 39 | image: 'Administrator Barnstar Hires.png' |
40 | 40 | }, |
41 | 41 | 'antivandalism': { |
42 | 42 | fields: [ 'message' ], |
43 | | - option: 'Anti-Vandalism Barnstar', |
44 | | - descr: 'The Anti-Vandalism Barnstar may be awarded to those who show great contributions to protecting and reverting attacks of vandalism on Wikipedia.', |
45 | | - header: 'A barnstar for you!', |
46 | | - title: 'The Anti-Vandalism Barnstar', |
| 43 | + option: mw.msg( 'wikilove-barnstar-antivandalism-option' ), |
| 44 | + descr: mw.msg( 'wikilove-barnstar-antivandalism-desc' ), |
| 45 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 46 | + title: mw.msg( 'wikilove-barnstar-antivandalism-title' ), |
47 | 47 | image: 'Barnstar of Reversion Hires.png' |
48 | 48 | }, |
49 | 49 | 'diligence': { |
50 | 50 | fields: [ 'message' ], |
51 | | - option: 'Barnstar of Diligence', |
52 | | - descr: 'The Barnstar of Diligence may be awarded in recognition of a combination of extraordinary scrutiny, precision and community service.', |
53 | | - header: 'A barnstar for you!', |
54 | | - title: 'The Barnstar of Diligence', |
| 51 | + option: mw.msg( 'wikilove-barnstar-diligence-option' ), |
| 52 | + descr: mw.msg( 'wikilove-barnstar-diligence-desc' ), |
| 53 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 54 | + title: mw.msg( 'wikilove-barnstar-diligence-title' ), |
55 | 55 | image: 'Barnstar of Diligence Hires.png' |
56 | 56 | }, |
57 | 57 | 'diplomacy': { |
58 | 58 | fields: [ 'message' ], |
59 | | - option: 'Barnstar of Diplomacy', |
60 | | - descr: 'The Barnstar of Diplomacy is awarded to users who have helped to resolve, peacefully, conflicts on Wikipedia.', |
61 | | - header: 'A barnstar for you!', |
62 | | - title: 'The Barnstar of Diplomacy', |
| 59 | + option: mw.msg( 'wikilove-barnstar-diplomacy-option' ), |
| 60 | + descr: mw.msg( 'wikilove-barnstar-diplomacy-desc' ), |
| 61 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 62 | + title: mw.msg( 'wikilove-barnstar-diplomacy-title' ), |
63 | 63 | image: 'Peace Barnstar Hires.png' |
64 | 64 | }, |
65 | 65 | 'goodhumor': { |
66 | 66 | fields: [ 'message' ], |
67 | | - option: 'Barnstar of Good Humor', |
68 | | - descr: 'The Barnstar of Good Humor may be awarded to Wikipedians who consistently lighten the mood, defuse conflicts, and make Wikipedia a better place to be.', |
69 | | - header: 'A barnstar for you!', |
70 | | - title: 'The Barnstar of Good Humor', |
| 67 | + option: mw.msg( 'wikilove-barnstar-goodhumor-option' ), |
| 68 | + descr: mw.msg( 'wikilove-barnstar-goodhumor-desc' ), |
| 69 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 70 | + title: mw.msg( 'wikilove-barnstar-goodhumor-title' ), |
71 | 71 | image: 'Barnstar of Humour Hires.png' |
72 | 72 | }, |
73 | 73 | 'brilliant': { |
74 | 74 | fields: [ 'message' ], |
75 | | - option: 'Brilliant Idea Barnstar', |
76 | | - descr: 'The Brilliant Idea Barnstar may be awarded to a user who figures out an elegant solution to a particularly difficult problem.', |
77 | | - header: 'A barnstar for you!', |
78 | | - title: 'The Brilliant Idea Barnstar', |
| 75 | + option: mw.msg( 'wikilove-barnstar-brilliant-option' ), |
| 76 | + descr: mw.msg( 'wikilove-barnstar-brilliant-desc' ), |
| 77 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 78 | + title: mw.msg( 'wikilove-barnstar-brilliant-title' ), |
79 | 79 | image: 'Brilliant Idea Barnstar Hires.png' |
80 | 80 | }, |
81 | 81 | 'citation': { |
82 | 82 | fields: [ 'message' ], |
83 | | - option: 'Citation Barnstar', |
84 | | - descr: 'The Citation Barnstar is awarded to users who provide references and in-line citations to previously unsourced articles.', |
85 | | - header: 'A barnstar for you!', |
86 | | - title: 'The Citation Barnstar', |
| 83 | + option: mw.msg( 'wikilove-barnstar-citation-option' ), |
| 84 | + descr: mw.msg( 'wikilove-barnstar-citation-desc' ), |
| 85 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 86 | + title: mw.msg( 'wikilove-barnstar-citation-title' ), |
87 | 87 | image: 'Citation Barnstar Hires.png' |
88 | 88 | }, |
89 | 89 | 'civility': { |
90 | 90 | fields: [ 'message' ], |
91 | | - option: 'Civility Barnstar', |
92 | | - descr: 'The Civility Barnstar may be awarded to any user who excels at maintaining civility in the midst of contentious situations.', |
93 | | - header: 'A barnstar for you!', |
94 | | - title: 'The Civility Barnstar', |
| 91 | + option: mw.msg( 'wikilove-barnstar-civility-option' ), |
| 92 | + descr: mw.msg( 'wikilove-barnstar-civility-desc' ), |
| 93 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 94 | + title: mw.msg( 'wikilove-barnstar-civility-title' ), |
95 | 95 | image: 'Civility Barnstar Hires.png' |
96 | 96 | }, |
97 | 97 | 'copyeditor': { |
98 | 98 | fields: [ 'message' ], |
99 | | - option: 'Copyeditor\'s Barnstar', |
100 | | - descr: 'The Copyeditor\'s Barnstar is awarded for excellence in correcting spelling, grammar, punctuation, and style issues.', |
101 | | - header: 'A barnstar for you!', |
102 | | - title: 'The Copyeditor\'s Barnstar', |
| 99 | + option: mw.msg( 'wikilove-barnstar-copyeditor-option' ), |
| 100 | + descr: mw.msg( 'wikilove-barnstar-copyeditor-desc' ), |
| 101 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 102 | + title: mw.msg( 'wikilove-barnstar-copyeditor-title' ), |
103 | 103 | image: 'Copyeditor Barnstar Hires.png' |
104 | 104 | }, |
105 | 105 | 'defender': { |
106 | 106 | fields: [ 'message' ], |
107 | | - option: 'Defender of the Wiki Barnstar', |
108 | | - descr: 'The Defender of the Wiki may be awarded to those who have gone above and beyond to prevent Wikipedia from being used for fraudulent purposes.', |
109 | | - header: 'A barnstar for you!', |
110 | | - title: 'The Defender of the Wiki Barnstar', |
| 107 | + option: mw.msg( 'wikilove-barnstar-defender-option' ), |
| 108 | + descr: mw.msg( 'wikilove-barnstar-defender-desc' ), |
| 109 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 110 | + title: mw.msg( 'wikilove-barnstar-defender-title' ), |
111 | 111 | image: 'WikiDefender Barnstar Hires.png' |
112 | 112 | }, |
113 | 113 | 'editors': { |
114 | 114 | fields: [ 'message' ], |
115 | | - option: 'Editor\'s Barnstar', |
116 | | - descr: 'The Editor\'s Barnstar is awarded to individuals who display particularly fine decisions in general editing.', |
117 | | - header: 'A barnstar for you!', |
118 | | - title: 'The Editor\'s Barnstar', |
| 115 | + option: mw.msg( 'wikilove-barnstar-editors-option' ), |
| 116 | + descr: mw.msg( 'wikilove-barnstar-editors-desc' ), |
| 117 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 118 | + title: mw.msg( 'wikilove-barnstar-editors-title' ), |
119 | 119 | image: 'Editors Barnstar Hires.png' |
120 | 120 | }, |
121 | 121 | 'designers': { |
122 | 122 | fields: [ 'message' ], |
123 | | - option: 'Graphic Designer\'s Barnstar', |
124 | | - descr: 'The Graphic Designer\'s Barnstar may be awarded to those who work tirelessly to provide Wikipedia with free, high-quality graphics.', |
125 | | - header: 'A barnstar for you!', |
126 | | - title: 'The Graphic Designer\'s Barnstar', |
| 123 | + option: mw.msg( 'wikilove-barnstar-designers-option' ), |
| 124 | + descr: mw.msg( 'wikilove-barnstar-designers-desc' ), |
| 125 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 126 | + title: mw.msg( 'wikilove-barnstar-designers-title' ), |
127 | 127 | image: 'Graphic Designer Barnstar Hires.png' |
128 | 128 | }, |
129 | 129 | 'half': { |
130 | 130 | fields: [ 'message' ], |
131 | | - option: 'Half Barnstar', |
132 | | - descr: 'The Half Barnstar is awarded for excellence in cooperation, especially for productive editing with someone who holds an opposing viewpoint.', |
133 | | - header: 'A barnstar for you!', |
134 | | - title: 'The Half Barnstar', |
| 131 | + option: mw.msg( 'wikilove-barnstar-half-option' ), |
| 132 | + descr: mw.msg( 'wikilove-barnstar-half-desc' ), |
| 133 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 134 | + title: mw.msg( 'wikilove-barnstar-half-title' ), |
135 | 135 | image: 'Halfstar Hires.png', |
136 | 136 | imageSize: '60px' |
137 | 137 | }, |
138 | 138 | 'minor': { |
139 | 139 | fields: [ 'message' ], |
140 | | - option: 'Minor Barnstar', |
141 | | - descr: 'Minor edits are often overlooked, but are essential contributions to Wikipedia. The Minor Barnstar is awarded for making minor edits of the utmost quality.', |
142 | | - header: 'A barnstar for you!', |
143 | | - title: 'The Minor barnstar', |
| 140 | + option: mw.msg( 'wikilove-barnstar-minor-option' ), |
| 141 | + descr: mw.msg( 'wikilove-barnstar-minor-desc' ), |
| 142 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 143 | + title: mw.msg( 'wikilove-barnstar-minor-title' ), |
144 | 144 | image: 'Minor Barnstar Hires.png' |
145 | 145 | }, |
146 | 146 | 'antispam': { |
147 | 147 | fields: [ 'message' ], |
148 | | - option: 'No Spam Barnstar', |
149 | | - descr: 'The Anti-Spam Barnstar is awarded to users who do an exceptional job fighting against spam on Wikipedia.', |
150 | | - header: 'A barnstar for you!', |
151 | | - title: 'The No Spam Barnstar', |
| 148 | + option: mw.msg( 'wikilove-barnstar-antispam-option' ), |
| 149 | + descr: mw.msg( 'wikilove-barnstar-antispam-desc' ), |
| 150 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 151 | + title: mw.msg( 'wikilove-barnstar-antispam-title' ), |
152 | 152 | image: 'No Spam Barnstar Hires.png' |
153 | 153 | }, |
154 | 154 | 'photographers': { |
155 | 155 | fields: [ 'message' ], |
156 | | - option: 'Photographer\'s Barnstar', |
157 | | - descr: 'The Photographer\'s Barnstar is awarded to those individuals who tirelessly improve the Wikipedia with their photographic skills and contributions.', |
158 | | - header: 'A barnstar for you!', |
159 | | - title: 'The Photographer\'s Barnstar', |
| 156 | + option: mw.msg( 'wikilove-barnstar-photographers-option' ), |
| 157 | + descr: mw.msg( 'wikilove-barnstar-photographers-desc' ), |
| 158 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 159 | + title: mw.msg( 'wikilove-barnstar-photographers-title' ), |
160 | 160 | image: 'Camera Barnstar Hires.png' |
161 | 161 | }, |
162 | 162 | 'kindness': { |
163 | 163 | fields: [ 'message' ], |
164 | | - option: 'Random Acts of Kindness Barnstar', |
165 | | - descr: 'The Random Acts of Kindness Barnstar may be awarded to those that show a pattern of going the extra mile to be nice, without being asked.', |
166 | | - header: 'A barnstar for you!', |
167 | | - title: 'The Random Acts of Kindness Barnstar', |
| 164 | + option: mw.msg( 'wikilove-barnstar-kindness-option' ), |
| 165 | + descr: mw.msg( 'wikilove-barnstar-kindness-desc' ), |
| 166 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 167 | + title: mw.msg( 'wikilove-barnstar-kindness-title' ), |
168 | 168 | image: 'Kindness Barnstar Hires.png' |
169 | 169 | }, |
170 | 170 | 'reallife': { |
171 | 171 | fields: [ 'message' ], |
172 | | - option: 'Real Life Barnstar', |
173 | | - descr: 'The Real Life Barnstar is awarded to editors who make contributions both online and offline, by organizing wiki-related real-life events.', |
174 | | - header: 'A barnstar for you!', |
175 | | - title: 'The Real Life Barnstar', |
| 172 | + option: mw.msg( 'wikilove-barnstar-reallife-option' ), |
| 173 | + descr: mw.msg( 'wikilove-barnstar-reallife-desc' ), |
| 174 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 175 | + title: mw.msg( 'wikilove-barnstar-reallife-title' ), |
176 | 176 | image: 'Real Life Barnstar.jpg' |
177 | 177 | }, |
178 | 178 | 'resilient': { |
179 | 179 | fields: [ 'message' ], |
180 | | - option: 'Resilient Barnstar', |
181 | | - descr: 'The Resilient Barnstar may be given to any editor who learns and improves from criticisms, never letting mistakes impede their growth as a Wikipedian.', |
182 | | - header: 'A barnstar for you!', |
183 | | - title: 'The Resilient Barnstar', |
| 180 | + option: mw.msg( 'wikilove-barnstar-resilient-option' ), |
| 181 | + descr: mw.msg( 'wikilove-barnstar-resilient-desc' ), |
| 182 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 183 | + title: mw.msg( 'wikilove-barnstar-resilient-title' ), |
184 | 184 | image: 'Resilient Barnstar Hires.png' |
185 | 185 | }, |
186 | 186 | 'rosetta': { |
187 | 187 | fields: [ 'message' ], |
188 | | - option: 'Rosetta Barnstar', |
189 | | - descr: 'The Rosetta Barnstar may be given to any editor who exhibits outstanding translation efforts on Wikipedia.', |
190 | | - header: 'A barnstar for you!', |
191 | | - title: 'The Rosetta Barnstar', |
| 188 | + option: mw.msg( 'wikilove-barnstar-rosetta-option' ), |
| 189 | + descr: mw.msg( 'wikilove-barnstar-rosetta-desc' ), |
| 190 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 191 | + title: mw.msg( 'wikilove-barnstar-rosetta-title' ), |
192 | 192 | image: 'Rosetta Barnstar Hires.png' |
193 | 193 | }, |
194 | 194 | 'special': { |
195 | 195 | fields: [ 'message' ], |
196 | | - option: 'Special Barnstar', |
197 | | - descr: 'The Special Barnstar may be awarded to a user as a gesture of appreciation when there is no other barnstar which would be appropriate.', |
198 | | - header: 'A barnstar for you!', |
199 | | - title: 'The Special Barnstar', |
| 196 | + option: mw.msg( 'wikilove-barnstar-special-option' ), |
| 197 | + descr: mw.msg( 'wikilove-barnstar-special-desc' ), |
| 198 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 199 | + title: mw.msg( 'wikilove-barnstar-special-title' ), |
200 | 200 | image: 'Special Barnstar Hires.png' |
201 | 201 | }, |
202 | 202 | 'surreal': { |
203 | 203 | fields: [ 'message' ], |
204 | | - option: 'Surreal Barnstar', |
205 | | - descr: 'The Surreal Barnstar may be awarded to any Wikipedian who adds "special flavor" to the community by acting as a sort of wildcard.', |
206 | | - header: 'A barnstar for you!', |
207 | | - title: 'The Surreal Barnstar', |
| 204 | + option: mw.msg( 'wikilove-barnstar-surreal-option' ), |
| 205 | + descr: mw.msg( 'wikilove-barnstar-surreal-desc' ), |
| 206 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 207 | + title: mw.msg( 'wikilove-barnstar-surreal-title' ), |
208 | 208 | image: 'Surreal Barnstar Hires.png' |
209 | 209 | }, |
210 | 210 | 'teamwork': { |
211 | 211 | fields: [ 'message' ], |
212 | | - option: 'Teamwork Barnstar', |
213 | | - descr: 'The Teamwork Barnstar may be awarded when several editors work together to improve an article.', |
214 | | - header: 'A barnstar for you!', |
215 | | - title: 'The Teamwork Barnstar', |
| 212 | + option: mw.msg( 'wikilove-barnstar-teamwork-option' ), |
| 213 | + descr: mw.msg( 'wikilove-barnstar-teamwork-desc' ), |
| 214 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 215 | + title: mw.msg( 'wikilove-barnstar-teamwork-title' ), |
216 | 216 | image: 'Team Barnstar Hires.png' |
217 | 217 | }, |
218 | 218 | 'technical': { |
219 | 219 | fields: [ 'message' ], |
220 | | - option: 'Technical Barnstar', |
221 | | - descr: 'The Technical Barnstar may be awarded to anyone who has enhanced Wikipedia through their technical work (programming, bot building, link repair, etc.).', |
222 | | - header: 'A barnstar for you!', |
223 | | - title: 'The Technical Barnstar', |
| 220 | + option: mw.msg( 'wikilove-barnstar-technical-option' ), |
| 221 | + descr: mw.msg( 'wikilove-barnstar-technical-desc' ), |
| 222 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 223 | + title: mw.msg( 'wikilove-barnstar-technical-title' ), |
224 | 224 | image: 'Vitruvian Barnstar Hires.png' |
225 | 225 | }, |
226 | 226 | 'tireless': { |
227 | 227 | fields: [ 'message' ], |
228 | | - option: 'Tireless Contributor Barnstar', |
229 | | - descr: 'The Tireless Contributor Barnstar is awarded to especially tireless Wikipedians who contribute an especially large body of work without sacrificing quality.', |
230 | | - header: 'A barnstar for you!', |
231 | | - title: 'The Tireless Contributor Barnstar', |
| 228 | + option: mw.msg( 'wikilove-barnstar-tireless-option' ), |
| 229 | + descr: mw.msg( 'wikilove-barnstar-tireless-desc' ), |
| 230 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 231 | + title: mw.msg( 'wikilove-barnstar-tireless-title' ), |
232 | 232 | image: 'Tireless Contributor Barnstar Hires.gif' |
233 | 233 | }, |
234 | 234 | 'writers': { |
235 | 235 | fields: [ 'message' ], |
236 | | - option: 'Writer\'s Barnstar', |
237 | | - descr: 'The Writer\'s Barnstar may be awarded to any user who has written a large number of articles or has contributed a large number of edits.', |
238 | | - header: 'A barnstar for you!', |
239 | | - title: 'The Writer\'s Barnstar', |
| 236 | + option: mw.msg( 'wikilove-barnstar-writers-option' ), |
| 237 | + descr: mw.msg( 'wikilove-barnstar-writers-desc' ), |
| 238 | + header: mw.msg( 'wikilove-barnstar-header' ), |
| 239 | + title: mw.msg( 'wikilove-barnstar-writers-title' ), |
240 | 240 | image: 'Writers Barnstar Hires.png' |
241 | 241 | } |
242 | 242 | }, |
— | — | @@ -243,7 +243,7 @@ |
244 | 244 | }, |
245 | 245 | 'food': { |
246 | 246 | name: mw.msg( 'wikilove-type-food' ), // name of the type (appears in the types menu) |
247 | | - select: 'Select food or drink item:', // subtype select label |
| 247 | + select: mw.msg( 'wikilove-food-select' ), // subtype select label |
248 | 248 | text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
249 | 249 | |style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
250 | 250 | |style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
— | — | @@ -353,7 +353,7 @@ |
354 | 354 | 'kitten': { |
355 | 355 | name: mw.msg( 'wikilove-type-kittens' ), |
356 | 356 | fields: [ 'header', 'message' ], |
357 | | - header: 'A kitten for you!', |
| 357 | + header: mw.msg( 'wikilove-kittens-header' ), |
358 | 358 | text: '[[$3|left|150px]]\n$1\n\n~~~~\n<br style="clear: both"/>', // $3 is the image filename |
359 | 359 | gallery: { |
360 | 360 | imageList: [ 'Cucciolo gatto Bibo.jpg', 'Kitten (06) by Ron.jpg', 'Kitten-stare.jpg', 'Red Kitten 01.jpg', 'Kitten in a helmet.jpg', 'Cute grey kitten.jpg' ], |