Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.css |
— | — | @@ -1,3 +1,7 @@ |
| 2 | +.ui-widget-overlay { |
| 3 | + min-height: 750px; |
| 4 | +} |
| 5 | + |
2 | 6 | /* dialog */ |
3 | 7 | #mw-wikilove-dialog { |
4 | 8 | margin: 10px; |
— | — | @@ -3,4 +7,8 @@ |
4 | 8 | } |
5 | 9 | |
| 10 | +#mw-wikilove-preview-form { |
| 11 | + clear: both; /* for monobook skin */ |
| 12 | +} |
| 13 | + |
6 | 14 | /* dialog type selection */ |
7 | 15 | /*#mw-wikilove-dialog*/ #mw-wikilove-select-type { |
Index: trunk/extensions/WikiLove/modules/ext.wikiLove/ext.wikiLove.defaultOptions.js |
— | — | @@ -14,7 +14,7 @@ |
15 | 15 | types: { |
16 | 16 | // example type, could be removed later (also no i18n) |
17 | 17 | 'barnstar': { |
18 | | - name: 'Barnstar', // name of the type (appears in the types menu) |
| 18 | + name: 'Barnstars', // name of the type (appears in the types menu) |
19 | 19 | select: 'Select a barnstar:', // subtype select label |
20 | 20 | subtypes: { // some different subtypes |
21 | 21 | // note that when not using subtypes you should use these subtype options |
— | — | @@ -25,8 +25,7 @@ |
26 | 26 | 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 |
27 | 27 | header: 'A barnstar for you!', // header that appears at the top of the talk page post (optional) |
28 | 28 | title: 'The Original Barnstar', // title that appears inside the award box (optional) |
29 | | - image: 'Original Barnstar Hires.png', // image for the award |
30 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' // message to use in email notification; $7 is replaced by the recipient's username |
| 29 | + image: 'Original Barnstar Hires.png' // image for the award |
31 | 30 | }, |
32 | 31 | 'admins': { |
33 | 32 | fields: [ 'message' ], |
— | — | @@ -34,8 +33,7 @@ |
35 | 34 | 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.', |
36 | 35 | header: 'A barnstar for you!', |
37 | 36 | title: 'The Admin\'s Barnstar', |
38 | | - image: 'Administrator Barnstar Hires.png', |
39 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 37 | + image: 'Administrator Barnstar Hires.png' |
40 | 38 | }, |
41 | 39 | 'antivandalism': { |
42 | 40 | fields: [ 'message' ], |
— | — | @@ -43,8 +41,7 @@ |
44 | 42 | descr: 'The Anti-Vandalism Barnstar may be awarded to those who show great contributions to protecting and reverting attacks of vandalism on Wikipedia.', |
45 | 43 | header: 'A barnstar for you!', |
46 | 44 | title: 'The Anti-Vandalism Barnstar', |
47 | | - image: 'Barnstar of Reversion Hires.png', |
48 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 45 | + image: 'Barnstar of Reversion Hires.png' |
49 | 46 | }, |
50 | 47 | 'diligence': { |
51 | 48 | fields: [ 'message' ], |
— | — | @@ -52,8 +49,7 @@ |
53 | 50 | descr: 'The Barnstar of Diligence may be awarded in recognition of a combination of extraordinary scrutiny, precision and community service.', |
54 | 51 | header: 'A barnstar for you!', |
55 | 52 | title: 'The Barnstar of Diligence', |
56 | | - image: 'Barnstar of Diligence Hires.png', |
57 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 53 | + image: 'Barnstar of Diligence Hires.png' |
58 | 54 | }, |
59 | 55 | 'diplomacy': { |
60 | 56 | fields: [ 'message' ], |
— | — | @@ -61,8 +57,7 @@ |
62 | 58 | descr: 'The Barnstar of Diplomacy is awarded to users who have helped to resolve, peacefully, conflicts on Wikipedia.', |
63 | 59 | header: 'A barnstar for you!', |
64 | 60 | title: 'The Barnstar of Diplomacy', |
65 | | - image: 'Peace Barnstar Hires.png', |
66 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 61 | + image: 'Peace Barnstar Hires.png' |
67 | 62 | }, |
68 | 63 | 'goodhumor': { |
69 | 64 | fields: [ 'message' ], |
— | — | @@ -70,8 +65,7 @@ |
71 | 66 | 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.', |
72 | 67 | header: 'A barnstar for you!', |
73 | 68 | title: 'The Barnstar of Good Humor', |
74 | | - image: 'Barnstar of Reversion Hires.png', |
75 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 69 | + image: 'Barnstar of Reversion Hires.png' |
76 | 70 | }, |
77 | 71 | 'brilliant': { |
78 | 72 | fields: [ 'message' ], |
— | — | @@ -79,8 +73,7 @@ |
80 | 74 | descr: 'The Brilliant Idea Barnstar may be awarded to a user who figures out an elegant solution to a particularly difficult problem.', |
81 | 75 | header: 'A barnstar for you!', |
82 | 76 | title: 'The Brilliant Idea Barnstar', |
83 | | - image: 'Brilliant Idea Barnstar Hires.png', |
84 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 77 | + image: 'Brilliant Idea Barnstar Hires.png' |
85 | 78 | }, |
86 | 79 | 'citation': { |
87 | 80 | fields: [ 'message' ], |
— | — | @@ -88,8 +81,7 @@ |
89 | 82 | descr: 'The Citation Barnstar is awarded to users who provide references and in-line citations to previously unsourced articles.', |
90 | 83 | header: 'A barnstar for you!', |
91 | 84 | title: 'The Citation Barnstar', |
92 | | - image: 'Citation Barnstar Hires.png', |
93 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 85 | + image: 'Citation Barnstar Hires.png' |
94 | 86 | }, |
95 | 87 | 'civility': { |
96 | 88 | fields: [ 'message' ], |
— | — | @@ -97,8 +89,7 @@ |
98 | 90 | descr: 'The Civility Barnstar may be awarded to any user who excels at maintaining civility in the midst of contentious situations.', |
99 | 91 | header: 'A barnstar for you!', |
100 | 92 | title: 'The Civility Barnstar', |
101 | | - image: 'Civility Barnstar Hires.png', |
102 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 93 | + image: 'Civility Barnstar Hires.png' |
103 | 94 | }, |
104 | 95 | 'copyeditor': { |
105 | 96 | fields: [ 'message' ], |
— | — | @@ -106,8 +97,7 @@ |
107 | 98 | descr: 'The Copyeditor\'s Barnstar is awarded for excellence in correcting spelling, grammar, punctuation, and style issues.', |
108 | 99 | header: 'A barnstar for you!', |
109 | 100 | title: 'The Copyeditor\'s Barnstar', |
110 | | - image: 'Copyeditor Barnstar Hires.png', |
111 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 101 | + image: 'Copyeditor Barnstar Hires.png' |
112 | 102 | }, |
113 | 103 | 'defender': { |
114 | 104 | fields: [ 'message' ], |
— | — | @@ -115,8 +105,7 @@ |
116 | 106 | 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.', |
117 | 107 | header: 'A barnstar for you!', |
118 | 108 | title: 'The Defender of the Wiki Barnstar', |
119 | | - image: 'WikiDefender Barnstar Hires.png', |
120 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 109 | + image: 'WikiDefender Barnstar Hires.png' |
121 | 110 | }, |
122 | 111 | 'editors': { |
123 | 112 | fields: [ 'message' ], |
— | — | @@ -124,8 +113,7 @@ |
125 | 114 | descr: 'The Editor\'s Barnstar is awarded to individuals who display particularly fine decisions in general editing.', |
126 | 115 | header: 'A barnstar for you!', |
127 | 116 | title: 'The Editor\'s Barnstar', |
128 | | - image: 'Editors Barnstar Hires.png', |
129 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 117 | + image: 'Editors Barnstar Hires.png' |
130 | 118 | }, |
131 | 119 | 'designers': { |
132 | 120 | fields: [ 'message' ], |
— | — | @@ -133,8 +121,7 @@ |
134 | 122 | descr: 'The Graphic Designer\'s Barnstar may be awarded to those who work tirelessly to provide Wikipedia with free, high-quality graphics.', |
135 | 123 | header: 'A barnstar for you!', |
136 | 124 | title: 'The Graphic Designer\'s Barnstar', |
137 | | - image: 'Rosetta Barnstar Hires.png', |
138 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 125 | + image: 'Rosetta Barnstar Hires.png' |
139 | 126 | }, |
140 | 127 | 'half': { |
141 | 128 | fields: [ 'message' ], |
— | — | @@ -142,8 +129,7 @@ |
143 | 130 | descr: 'The Half Barnstar is awarded for excellence in cooperation, especially for productive editing with someone who holds an opposing viewpoint.', |
144 | 131 | header: 'A barnstar for you!', |
145 | 132 | title: 'The Half Barnstar', |
146 | | - image: 'Halfstar Hires.png', |
147 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 133 | + image: 'Halfstar Hires.png' |
148 | 134 | }, |
149 | 135 | 'minor': { |
150 | 136 | fields: [ 'message' ], |
— | — | @@ -151,8 +137,7 @@ |
152 | 138 | 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.', |
153 | 139 | header: 'A barnstar for you!', |
154 | 140 | title: 'The Minor barnstar', |
155 | | - image: 'Minor Barnstar Hires.png', |
156 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 141 | + image: 'Minor Barnstar Hires.png' |
157 | 142 | }, |
158 | 143 | 'antispam': { |
159 | 144 | fields: [ 'message' ], |
— | — | @@ -160,8 +145,7 @@ |
161 | 146 | descr: 'The Anti-Spam Barnstar is awarded to users who do an exceptional job fighting against spam on Wikipedia.', |
162 | 147 | header: 'A barnstar for you!', |
163 | 148 | title: 'The No Spam Barnstar', |
164 | | - image: 'No Spam Barnstar Hires.png', |
165 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 149 | + image: 'No Spam Barnstar Hires.png' |
166 | 150 | }, |
167 | 151 | 'photographers': { |
168 | 152 | fields: [ 'message' ], |
— | — | @@ -169,17 +153,15 @@ |
170 | 154 | descr: 'The Photographer\'s Barnstar is awarded to those individuals who tirelessly improve the Wikipedia with their photographic skills and contributions.', |
171 | 155 | header: 'A barnstar for you!', |
172 | 156 | title: 'The Photographer\'s Barnstar', |
173 | | - image: 'Camera Barnstar Hires.png', |
174 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 157 | + image: 'Camera Barnstar Hires.png' |
175 | 158 | }, |
176 | 159 | 'kindness': { |
177 | 160 | fields: [ 'message' ], |
178 | 161 | option: 'Random Acts of Kindness Barnstar', |
179 | 162 | 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.', |
180 | 163 | header: 'A barnstar for you!', |
181 | | - title: 'The Random Acts of Kindness barnstar', |
182 | | - image: 'Kindness Barnstar Hires.png', |
183 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 164 | + title: 'The Random Acts of Kindness Barnstar', |
| 165 | + image: 'Kindness Barnstar Hires.png' |
184 | 166 | }, |
185 | 167 | 'reallife': { |
186 | 168 | fields: [ 'message' ], |
— | — | @@ -187,8 +169,7 @@ |
188 | 170 | descr: 'The Real Life Barnstar is awarded to editors who make contributions both online and offline, by organizing wiki-related real-life events.', |
189 | 171 | header: 'A barnstar for you!', |
190 | 172 | title: 'The Real Life Barnstar', |
191 | | - image: 'Real Life Barnstar.jpg', |
192 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 173 | + image: 'Real Life Barnstar.jpg' |
193 | 174 | }, |
194 | 175 | 'resilient': { |
195 | 176 | fields: [ 'message' ], |
— | — | @@ -196,8 +177,7 @@ |
197 | 178 | 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.', |
198 | 179 | header: 'A barnstar for you!', |
199 | 180 | title: 'The Resilient Barnstar', |
200 | | - image: 'Resilient Barnstar Hires.png', |
201 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 181 | + image: 'Resilient Barnstar Hires.png' |
202 | 182 | }, |
203 | 183 | 'rosetta': { |
204 | 184 | fields: [ 'message' ], |
— | — | @@ -205,8 +185,7 @@ |
206 | 186 | descr: 'The Rosetta Barnstar may be given to any editor who exhibits outstanding translation efforts on Wikipedia.', |
207 | 187 | header: 'A barnstar for you!', |
208 | 188 | title: 'The Rosetta Barnstar', |
209 | | - image: 'Rosetta Barnstar Hires.png', |
210 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 189 | + image: 'Rosetta Barnstar Hires.png' |
211 | 190 | }, |
212 | 191 | 'special': { |
213 | 192 | fields: [ 'message' ], |
— | — | @@ -214,8 +193,7 @@ |
215 | 194 | 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.', |
216 | 195 | header: 'A barnstar for you!', |
217 | 196 | title: 'The Special Barnstar', |
218 | | - image: 'Special Barnstar Hires.png', |
219 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 197 | + image: 'Special Barnstar Hires.png' |
220 | 198 | }, |
221 | 199 | 'surreal': { |
222 | 200 | fields: [ 'message' ], |
— | — | @@ -223,8 +201,7 @@ |
224 | 202 | descr: 'The Surreal Barnstar may be awarded to any Wikipedian who adds "special flavor" to the community by acting as a sort of wildcard.', |
225 | 203 | header: 'A barnstar for you!', |
226 | 204 | title: 'The Surreal Barnstar', |
227 | | - image: 'Surreal Barnstar Hires.png', |
228 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 205 | + image: 'Surreal Barnstar Hires.png' |
229 | 206 | }, |
230 | 207 | 'teamwork': { |
231 | 208 | fields: [ 'message' ], |
— | — | @@ -232,8 +209,7 @@ |
233 | 210 | descr: 'The Teamwork Barnstar may be awarded when several editors work together to improve an article.', |
234 | 211 | header: 'A barnstar for you!', |
235 | 212 | title: 'The Teamwork Barnstar', |
236 | | - image: 'Team Barnstar Hires.png', |
237 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 213 | + image: 'Team Barnstar Hires.png' |
238 | 214 | }, |
239 | 215 | 'technical': { |
240 | 216 | fields: [ 'message' ], |
— | — | @@ -241,8 +217,7 @@ |
242 | 218 | descr: 'The Technical Barnstar may be awarded to anyone who has enhanced Wikipedia through their technical work (programming, bot building, link repair, etc.).', |
243 | 219 | header: 'A barnstar for you!', |
244 | 220 | title: 'The Technical Barnstar', |
245 | | - image: 'Vitruvian Barnstar Hires.png', |
246 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 221 | + image: 'Vitruvian Barnstar Hires.png' |
247 | 222 | }, |
248 | 223 | 'tireless': { |
249 | 224 | fields: [ 'message' ], |
— | — | @@ -250,8 +225,7 @@ |
251 | 226 | descr: 'The Tireless Contributor Barnstar is awarded to especially tireless Wikipedians who contribute an especially large body of work without sacrificing quality.', |
252 | 227 | header: 'A barnstar for you!', |
253 | 228 | title: 'The Tireless Contributor Barnstar', |
254 | | - image: 'Tireless Contributor Barnstar Hires.gif', |
255 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 229 | + image: 'Tireless Contributor Barnstar Hires.gif' |
256 | 230 | }, |
257 | 231 | 'writers': { |
258 | 232 | fields: [ 'message' ], |
— | — | @@ -259,61 +233,125 @@ |
260 | 234 | 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.', |
261 | 235 | header: 'A barnstar for you!', |
262 | 236 | title: 'The Writer\'s Barnstar', |
263 | | - image: 'Writers Barnstar Hires.png', |
264 | | - email: 'Hello $7!\n\nI just awarded you a barnstar.' |
| 237 | + image: 'Writers Barnstar Hires.png' |
265 | 238 | } |
266 | 239 | }, |
267 | 240 | icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-barnstar.png' // icon for left-side menu |
268 | 241 | }, |
269 | | - 'beer': { |
270 | | - name: 'Beer', |
271 | | - fields: [ 'header', 'message' ], |
272 | | - header: 'A beer for you!', |
273 | | - text: '[[$3|left|150px]]\n$1\n\n~~~~\n<br style="clear: both"/>', // custom text |
274 | | - gallery: { |
275 | | - imageList: [ 'Cruzcampo.jpg', 'Glass_of_la_trappe_quadrupel.jpg', 'Hefeweizen.jpg', 'Krušovice_Mušketýr_in_glass.JPG', 'NCI_Visuals_Food_Beer.jpg', 'PintJug.jpg' ], |
276 | | - width: 145, |
277 | | - number: 3 |
278 | | - }, |
279 | | - icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-beer.png' // icon for left-side menu |
280 | | - }, |
281 | | - 'food': { |
282 | | - name: 'Food', // name of the type (appears in the types menu) |
283 | | - select: 'Select food:', // subtype select label |
| 242 | + 'food/drink': { |
| 243 | + name: 'Food and drink', // name of the type (appears in the types menu) |
| 244 | + select: 'Select food or drink item:', // subtype select label |
284 | 245 | subtypes: { // some different subtypes |
285 | 246 | // note that when not using subtypes you should use these subtype options |
286 | 247 | // for the top-level type |
| 248 | + 'beer': { |
| 249 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 250 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 251 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 252 | +|}', // custom text |
| 253 | + fields: [ 'header', 'message' ], // fields to ask for in form |
| 254 | + option: 'Beer', // option listed in the select list |
| 255 | + header: 'A beer for you!', // header that appears at the top of the talk page post (optional) |
| 256 | + image: 'Export hell seidel steiner.png', // image for the award |
| 257 | + imageSize: '80px' // size to display image |
| 258 | + }, |
| 259 | + 'brownie': { |
| 260 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 261 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 262 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 263 | +|}', |
| 264 | + fields: [ 'header', 'message' ], |
| 265 | + option: 'Brownie', |
| 266 | + header: 'A brownie for you!', |
| 267 | + image: 'Brownie transparent.png', |
| 268 | + imageSize: '120px' |
| 269 | + }, |
| 270 | + 'cheeseburger': { |
| 271 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 272 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 273 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 274 | +|}', |
| 275 | + fields: [ 'header', 'message' ], |
| 276 | + option: 'Cheeseburger', |
| 277 | + header: 'A cheeseburger for you!', |
| 278 | + image: 'Cheeseburger.png', |
| 279 | + imageSize: '120px' |
| 280 | + }, |
| 281 | + 'coffee': { |
| 282 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 283 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 284 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 285 | +|}', |
| 286 | + fields: [ 'header', 'message' ], |
| 287 | + option: 'Coffee', |
| 288 | + header: 'A cup of coffee for you!', |
| 289 | + image: 'A small cup of coffee.JPG', |
| 290 | + imageSize: '120px' |
| 291 | + }, |
287 | 292 | 'cookie': { |
288 | 293 | text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
289 | 294 | |style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
290 | 295 | |style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
291 | 296 | |}', |
292 | | - fields: [ 'header', 'message' ], // fields to ask for in form |
293 | | - option: 'Cookie', // option listed in the select list |
294 | | - header: 'A cookie for you!', // header that appears at the top of the talk page post (optional) |
295 | | - image: 'Choco_chip_cookie.png' // image for the award |
| 297 | + fields: [ 'header', 'message' ], |
| 298 | + option: 'Cookie', |
| 299 | + header: 'A cookie for you!', |
| 300 | + image: 'Choco_chip_cookie.png', |
| 301 | + imageSize: '120px' |
| 302 | + }, |
| 303 | + 'cupcake': { |
| 304 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 305 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 306 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 307 | +|}', |
| 308 | + fields: [ 'header', 'message' ], |
| 309 | + option: 'Cupcake', |
| 310 | + header: 'A cupcake for you!', |
| 311 | + image: 'Choco-Nut Bake with Meringue Top cropped.jpg', |
| 312 | + imageSize: '120px' |
| 313 | + }, |
| 314 | + 'pie': { |
| 315 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 316 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 317 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 318 | +|}', |
| 319 | + fields: [ 'header', 'message' ], |
| 320 | + option: 'Pie', |
| 321 | + header: 'A pie for you!', |
| 322 | + image: 'A very beautiful Nectarine Pie.jpg', |
| 323 | + imageSize: '120px' |
| 324 | + }, |
| 325 | + 'tea': { |
| 326 | + text: '{| style="background-color: $5; border: 1px solid $6;"\n\ |
| 327 | +|style="vertical-align: middle; padding: 5px;" | [[$3|$4]]\n\ |
| 328 | +|style="vertical-align: middle; padding: 3px;" | $1 ~~~~\n\ |
| 329 | +|}', |
| 330 | + fields: [ 'header', 'message' ], |
| 331 | + option: 'Tea', |
| 332 | + header: 'A cup of tea for you!', |
| 333 | + image: 'Meissen-teacup pinkrose01.jpg', |
| 334 | + imageSize: '120px' |
296 | 335 | } |
297 | 336 | }, |
298 | | - icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-cookie.png' // icon for left-side menu |
| 337 | + icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-beer.png' |
299 | 338 | }, |
300 | 339 | 'kitten': { |
301 | | - name: 'Kitten', |
| 340 | + name: 'Kittens', |
302 | 341 | fields: [ 'header', 'message' ], |
303 | 342 | header: 'A kitten for you!', |
304 | 343 | text: '[[$3|left|150px]]\n$1\n\n~~~~\n<br style="clear: both"/>', // $3 is the image filename |
305 | 344 | gallery: { |
306 | | - imageList: [ 'Cucciolo gatto Bibo.jpg','Kitten (06) by Ron.jpg','Kitten-stare.jpg', 'Cat03.jpg', 'Kot_Leon.JPG', 'Greycat.jpg' ], |
| 345 | + 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' ], |
307 | 346 | width: 145, |
308 | 347 | number: 3 |
309 | 348 | }, |
310 | | - icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-kitten.png' // icon for left-side menu |
| 349 | + icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-kitten.png' |
311 | 350 | }, |
312 | 351 | // default type, nice to leave this one in place when adding other types |
313 | 352 | 'makeyourown': { |
314 | 353 | name: mw.msg( 'wikilove-type-makeyourown' ), |
315 | 354 | fields: [ 'header', 'title', 'image', 'message' ], |
316 | | - imageSize: '150px', |
317 | | - icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-create.png' // icon for left-side menu |
| 355 | + icon: mw.config.get( 'wgExtensionAssetsPath' ) + '/WikiLove/modules/ext.wikiLove/images/icons/wikilove-icon-create.png' |
318 | 356 | } |
319 | 357 | } |
320 | 358 | }; }; |
Index: trunk/extensions/WikiLove/WikiLove.i18n.php |
— | — | @@ -15,16 +15,16 @@ |
16 | 16 | 'wikilove-desc' => 'Adds an interface for facilitating positive user feedback to user talk pages', |
17 | 17 | 'wikilove' => 'WikiLove', |
18 | 18 | 'wikilove-enable-preference' => 'Enable showing appreciation for other users with the WikiLove tab (experimental)', |
19 | | - 'wikilove-tab-text' => 'Show appreciation', |
| 19 | + 'wikilove-tab-text' => 'WikiLove', |
20 | 20 | 'tooltip-ca-wikilove' => 'Post a message for this user showing your appreciation', |
21 | | - 'wikilove-dialog-title' => 'WikiLove', |
| 21 | + 'wikilove-dialog-title' => 'WikiLove – Send a message of appreciation to another user', |
22 | 22 | 'wikilove-select-type' => 'Select type', |
23 | 23 | 'wikilove-get-started-header' => "Let's get started!", |
24 | 24 | 'wikilove-get-started-list-1' => 'Select the type of WikiLove you wish to send', |
25 | 25 | 'wikilove-get-started-list-2' => 'Add details to your WikiLove', |
26 | 26 | 'wikilove-get-started-list-3' => 'Send your WikiLove!', |
27 | 27 | 'wikilove-add-details' => 'Add details', |
28 | | - 'wikilove-image' => 'Enter an image:', |
| 28 | + 'wikilove-image' => 'Enter an image from Wikimedia Commons:', |
29 | 29 | 'wikilove-select-image' => 'Select an image:', |
30 | 30 | 'wikilove-header' => 'Enter a header:', |
31 | 31 | 'wikilove-title' => 'Enter a title:', |