Index: trunk/extensions/WikiLove/WikiLove.php |
— | — | @@ -83,6 +83,10 @@ |
84 | 84 | 'messages' => array( |
85 | 85 | 'wikilove-dialog-title', |
86 | 86 | 'wikilove-select-type', |
| 87 | + 'wikilove-get-started-header', |
| 88 | + 'wikilove-get-started-list-1', |
| 89 | + 'wikilove-get-started-list-2', |
| 90 | + 'wikilove-get-started-list-3', |
87 | 91 | 'wikilove-add-details', |
88 | 92 | 'wikilove-title', |
89 | 93 | 'wikilove-enter-message', |
Index: trunk/extensions/WikiLove/wikiLove.css |
— | — | @@ -58,39 +58,174 @@ |
59 | 59 | padding: 0; |
60 | 60 | } |
61 | 61 | |
62 | | -#wikiLoveDialog #wlSelectType ul li { |
| 62 | +#wikiLoveDialog #wlSelectType ul li, |
| 63 | +#wikiLoveDialog #wlSelectType a |
| 64 | +{ |
63 | 65 | display: block; |
64 | | - background-color: #3060b0; |
65 | 66 | width: 250px; |
66 | | - padding: 10px 0; |
67 | | - |
68 | | - /* create a hand cursor, cross-browser hack: http://www.quirksmode.org/css/cursor.html */ |
69 | | - cursor: pointer; |
70 | | - cursor: hand; |
| 67 | + height: 66px; |
| 68 | + padding: 0; |
| 69 | + margin: 0; |
| 70 | + position: relative; |
| 71 | + text-decoration: none; |
71 | 72 | } |
72 | 73 | |
| 74 | +#wikiLoveDialog #wlSelectType a:hover, |
| 75 | +#wikiLoveDialog #wlSelectType a:focus { |
| 76 | + text-decoration:none; |
| 77 | +} |
| 78 | + |
73 | 79 | /* IGNORED BY IE6 */ |
74 | | -#wikiLoveDialog #wlSelectType ul > li { |
| 80 | +#wikiLoveDialog #wlSelectType ul > li, |
| 81 | +#wikiLoveDialog #wlSelectType ul li > a { |
75 | 82 | display: inline-block; |
76 | 83 | } |
77 | 84 | |
78 | | -#wikiLoveDialog #wlSelectType ul li:hover, |
79 | | -#wikiLoveDialog #wlSelectType ul li:focus { |
80 | | - background-color: #3366bb; |
| 85 | +#wikiLoveDialog #wlSelectType a .wlLeftCap, |
| 86 | +#wikiLoveDialog #wlSelectType a .wlRightCap { |
| 87 | + padding: 0; |
| 88 | + margin: 0; |
| 89 | + width: 6px; |
| 90 | + height: 66px; |
| 91 | + position: absolute; |
| 92 | + top: 0px; |
81 | 93 | } |
82 | 94 | |
83 | | -#wikiLoveDialog #wlSelectType ul li.selected { |
84 | | - background-color: #e46020; |
| 95 | +#wikiLoveDialog #wlSelectType a .wlLeftCap, |
| 96 | +#wikiLoveDialog #wlSelectType a .wlRightCap, |
| 97 | +#wikiLoveDialog #wlSelectType a .wlIconBox { |
| 98 | + /* @embed */ |
| 99 | + background-image: url(images/select-sprite.png); |
| 100 | + background-repeat: no-repeat; |
85 | 101 | } |
86 | 102 | |
87 | | -#wikiLoveDialog #wlSelectType ul li span { |
| 103 | +#wikiLoveDialog #wlSelectType a .wlLeftCap { |
| 104 | + /* @noflip */ |
| 105 | + left: 0px; |
| 106 | + background-position: 0px 0px; |
| 107 | +} |
| 108 | + |
| 109 | +#wikiLoveDialog #wlSelectType a:hover .wlLeftCap, |
| 110 | +#wikiLoveDialog #wlSelectType a:focus .wlLeftCap { |
| 111 | + background-position: -6px 0px; |
| 112 | +} |
| 113 | + |
| 114 | +#wikiLoveDialog #wlSelectType a.selected .wlLeftCap { |
| 115 | + background-position: -12px 0px; |
| 116 | +} |
| 117 | + |
| 118 | +#wikiLoveDialog #wlSelectType a .wlRightCap { |
| 119 | + /* @noflip */ |
| 120 | + right: 0px; |
| 121 | + background-position: -18px 0px; |
| 122 | +} |
| 123 | + |
| 124 | +#wikiLoveDialog #wlSelectType a:hover .wlRightCap, |
| 125 | +#wikiLoveDialog #wlSelectType a:focus .wlRightCap { |
| 126 | + background-position: -25px 0px; |
| 127 | +} |
| 128 | + |
| 129 | +#wikiLoveDialog #wlSelectType a.selected .wlRightCap { |
| 130 | + background-position: -32px 0px; |
| 131 | +} |
| 132 | + |
| 133 | +#wikiLoveDialog #wlSelectType a .wlInside { |
| 134 | + padding: 0; |
| 135 | + margin: 0; |
| 136 | + width: 238px; |
| 137 | + height: 66px; |
| 138 | + position: absolute; |
| 139 | + top: 0px; |
| 140 | + left: 6px; |
| 141 | + |
| 142 | + /* @embed */ |
| 143 | + background-image: url(images/select-bg-sprite.png); |
| 144 | + background-position: 0px 0px; |
| 145 | + background-repeat: repeat-x; |
| 146 | +} |
| 147 | + |
| 148 | +#wikiLoveDialog #wlSelectType a:hover .wlInside, |
| 149 | +#wikiLoveDialog #wlSelectType a:focus .wlInside { |
| 150 | + background-position: 0px -66px; |
| 151 | +} |
| 152 | + |
| 153 | +#wikiLoveDialog #wlSelectType a.selected .wlInside { |
| 154 | + background-position: 0px -132px; |
| 155 | +} |
| 156 | + |
| 157 | +#wikiLoveDialog #wlSelectType a .wlIconBox { |
| 158 | + padding: 0; |
| 159 | + margin: 0; |
| 160 | + width: 53px; |
| 161 | + height: 53px; |
| 162 | + position: absolute; |
| 163 | + left: 0px; |
| 164 | + top: 5px; |
| 165 | + background-position: -42px 0px; |
| 166 | +} |
| 167 | + |
| 168 | +#wikiLoveDialog #wlSelectType a .wlIconBox img { |
| 169 | + padding: 0; |
| 170 | + margin: 0; |
| 171 | + width: 53px; |
| 172 | + height: 53px; |
| 173 | + position: absolute: |
| 174 | + top: 0px; |
| 175 | + left: 0px; |
| 176 | +} |
| 177 | + |
| 178 | +#wikiLoveDialog #wlSelectType a:hover .wlIconBox, |
| 179 | +#wikiLoveDialog #wlSelectType a:focus .wlIconBox { |
| 180 | + background-position: -97px 0px; |
| 181 | +} |
| 182 | + |
| 183 | +#wikiLoveDialog #wlSelectType a.selected .wlIconBox { |
| 184 | + background-position: -152px 0px; |
| 185 | +} |
| 186 | + |
| 187 | +#wikiLoveDialog #wlSelectType a .wlLinkText { |
| 188 | + padding: 0; |
| 189 | + margin: 0; |
| 190 | + width: 170px; |
| 191 | + height: 53px; |
| 192 | + position: absolute; |
| 193 | + left: 64px; |
| 194 | + top: 5px; |
| 195 | + line-height: 53px; |
88 | 196 | font-size: 1.2em; |
89 | 197 | font-weight: bold; |
90 | 198 | text-decoration: none; |
91 | 199 | color: white; |
92 | | - margin-left: 10px; |
93 | 200 | } |
94 | 201 | |
| 202 | +#wikiLoveDialog #wlSelectType a .wlNoIcon .wlLinkText { |
| 203 | + left: 3px; |
| 204 | +} |
| 205 | + |
| 206 | +/* dialog get started */ |
| 207 | +#wikiLoveDialog #wlGetStarted { |
| 208 | + float: right; |
| 209 | + width: 380px; |
| 210 | + margin-top: 40px; |
| 211 | + padding-top: 4px; |
| 212 | + padding-left: 70px; |
| 213 | + font-size: 1.1em; |
| 214 | + |
| 215 | + /* @embed */ |
| 216 | + background-image: url(images/get-started-ltr.png); |
| 217 | + background-position: top left; |
| 218 | + background-repeat: no-repeat; |
| 219 | +} |
| 220 | + |
| 221 | +#wikiLoveDialog #wlGetStarted h2 { |
| 222 | + border: none; |
| 223 | + font-weight: bold; |
| 224 | +} |
| 225 | + |
| 226 | +#wikiLoveDialog #wlGetStarted ol { |
| 227 | + margin-left: 1.5em; |
| 228 | +} |
| 229 | + |
95 | 230 | /* dialog add details */ |
96 | 231 | #wikiLoveDialog #wlAddDetails { |
97 | 232 | float: right; |
— | — | @@ -114,13 +249,8 @@ |
115 | 250 | color: #999; |
116 | 251 | } |
117 | 252 | |
118 | | -#wikiLoveDialog #wlAddDetails input, |
119 | | -#wikiLoveDialog #wlAddDetails textarea, |
120 | | -#wikiLoveDialog #wlAddDetails select { |
121 | | - margin-top: 5px; |
122 | | - margin-left: 15px; |
123 | | - max-width: 460px; |
124 | | - display: block; |
| 253 | +#wikiLoveDialog #wlAddDetails textarea { |
| 254 | + resize: none; |
125 | 255 | } |
126 | 256 | |
127 | 257 | #wikiLoveDialog .wlSpinner { |
— | — | @@ -144,6 +274,32 @@ |
145 | 275 | } |
146 | 276 | |
147 | 277 | /* dialog misc */ |
| 278 | +#wikiLoveDialog input, |
| 279 | +#wikiLoveDialog textarea, |
| 280 | +#wikiLoveDialog select { |
| 281 | + margin: 5px 0px 5px 15px; |
| 282 | + max-width: 460px; |
| 283 | + display: block; |
| 284 | +} |
| 285 | + |
148 | 286 | #wikiLoveDialog .submit { |
149 | 287 | float: right; |
150 | | -} |
\ No newline at end of file |
| 288 | +} |
| 289 | + |
| 290 | +#wikiLoveDialog .wlNumber { |
| 291 | + color: white; |
| 292 | + float: left; |
| 293 | + display: block; |
| 294 | + width: 32px; |
| 295 | + height: 32px; |
| 296 | + line-height: 32px; |
| 297 | + text-align: center; |
| 298 | + margin-right: 5px; |
| 299 | + font-size: 1.5em; |
| 300 | + font-weight: bold; |
| 301 | + |
| 302 | + /* @embed */ |
| 303 | + background-image: url(images/number.png); |
| 304 | + background-position: center; |
| 305 | + background-repeat: no-repeat; |
| 306 | +} |
Index: trunk/extensions/WikiLove/wikiLove.js |
— | — | @@ -19,7 +19,8 @@ |
20 | 20 | text: '{{subst:The Special Barnstarl|$1 ~~~~}}', |
21 | 21 | template: 'The Special Barnstar' |
22 | 22 | } |
23 | | - } |
| 23 | + }, |
| 24 | + icon: 'http://upload.wikimedia.org/wikipedia/commons/2/27/Original_Barnstar.png' |
24 | 25 | }, |
25 | 26 | // default type, nice to leave this one in place when adding other types |
26 | 27 | 'makeyourown': { |
— | — | @@ -34,6 +35,7 @@ |
35 | 36 | currentTypeId: null, // id of the currently selected type (e.g. 'barnstar' or 'makeyourown') |
36 | 37 | currentSubtypeId: null, // id of the currently selected subtype (e.g. 'original' or 'special') |
37 | 38 | currentTypeOrSubtype: null, // content of the current (sub)type (i.e. an object with title, descr, text, etc.) |
| 39 | + previewData: null, // data of the currently previewed thing is set here |
38 | 40 | |
39 | 41 | /* |
40 | 42 | * Opens the dialog and builds it if necessary. |
— | — | @@ -47,10 +49,24 @@ |
48 | 50 | // </ul> |
49 | 51 | var $typeList = $( '<ul id="wlTypes"></ul>' ); |
50 | 52 | for( var typeId in $.wikiLove.types ) { |
51 | | - $typeList.append( |
52 | | - $( '<li tabindex="0"><span>' + $.wikiLove.types[typeId].descr + '</span></li>' ) |
53 | | - .data( 'typeId', typeId ) |
54 | | - ); |
| 53 | + $button = $( '<a href="#"></a>' ); |
| 54 | + $buttonInside = $( '<div class="wlInside"></div>' ); |
| 55 | + |
| 56 | + if( typeof $.wikiLove.types[typeId].icon == 'string' ) { |
| 57 | + $buttonInside.append( '<div class="wlIconBox"><img src="' |
| 58 | + + $.wikiLove.types[typeId].icon + '"/></div>' ); |
| 59 | + } |
| 60 | + else { |
| 61 | + $buttonInside.addClass( 'wlNoIcon' ); |
| 62 | + } |
| 63 | + |
| 64 | + $buttonInside.append( '<div class="wlLinkText">' + $.wikiLove.types[typeId].descr + '</div>' ); |
| 65 | + |
| 66 | + $button.append( '<div class="wlLeftCap"></div>'); |
| 67 | + $button.append( $buttonInside ); |
| 68 | + $button.append( '<div class="wlRightCap"></div>'); |
| 69 | + $button.data( 'typeId', typeId ); |
| 70 | + $typeList.append( $( '<li></li>' ).append( $button ) ); |
55 | 71 | } |
56 | 72 | |
57 | 73 | // Build the left menu for selecting a type: |
— | — | @@ -59,8 +75,17 @@ |
60 | 76 | // <ul id="wlTypes">...</ul> |
61 | 77 | // </div> |
62 | 78 | var $selectType = $( '<div id="wlSelectType"></div>' ) |
| 79 | + .append( '<span class="wlNumber">1</span>' ) |
63 | 80 | .append( '<h3>' + mw.msg( 'wikilove-select-type' ) + '</h3>' ) |
64 | 81 | .append( $typeList ); |
| 82 | + |
| 83 | + var $getStarted = $( '<div id="wlGetStarted"></div>' ) |
| 84 | + .append( '<h2>' + mw.msg( 'wikilove-get-started-header' ) + '</h2>' ) |
| 85 | + .append( $( '<ol></ol>' ) |
| 86 | + .append( '<li>' + mw.msg( 'wikilove-get-started-list-1' ) + '</li>' ) |
| 87 | + .append( '<li>' + mw.msg( 'wikilove-get-started-list-2' ) + '</li>' ) |
| 88 | + .append( '<li>' + mw.msg( 'wikilove-get-started-list-3' ) + '</li>' ) |
| 89 | + ); |
65 | 90 | |
66 | 91 | // Build the right top section for selecting a subtype and entering a title (optional) and message |
67 | 92 | // <div id="wlAddDetails"> |
— | — | @@ -80,18 +105,21 @@ |
81 | 106 | // <img class="wlSpinner" src="..."/> (spinner for the preview button) |
82 | 107 | // </div> |
83 | 108 | var $addDetails = $( '<div id="wlAddDetails"></div>' ) |
| 109 | + .append( '<span class="wlNumber">2</span>' ) |
84 | 110 | .append( '<h3>' + mw.msg( 'wikilove-add-details' ) + '</h3>' ) |
85 | 111 | .append( '<label for="wlSubtype" id="wlSubtypeLabel"></label>' ) |
86 | | - .append( '<select id="wlSubtype"></select>' ) |
87 | | - .append( '<label for="wlTitle" id="wlTitleLabel">' + mw.msg( 'wikilove-title' ) + '</label>' ) |
88 | | - .append( '<input type="text" class="text" id="wlTitle"/>' ) |
89 | | - .append( '<label for="wlMessage" id="wlMessageLabel">' + mw.msg( 'wikilove-enter-message' ) + '</label>' ) |
90 | | - .append( '<span class="wlOmitSig">' + mw.msg( 'wikilove-omit-sig' ) + '</span>' ) |
91 | | - .append( '<textarea id="wlMessage"></textarea>' ) |
92 | | - .append( '<input id="wlButtonPreview" class="submit" type="submit" value="' |
93 | | - + mw.msg( 'wikilove-button-preview' ) + '"/>' ) |
94 | | - .append( '<img class="wlSpinner" src="' + mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) |
95 | | - + '/extensions/WikiLove/images/spinner.gif"/>' ) |
| 112 | + .append( $( '<form id="wlPreviewForm"></form>' ) |
| 113 | + .append( '<select id="wlSubtype"></select>' ) |
| 114 | + .append( '<label for="wlTitle" id="wlTitleLabel">' + mw.msg( 'wikilove-title' ) + '</label>' ) |
| 115 | + .append( '<input type="text" class="text" id="wlTitle"/>' ) |
| 116 | + .append( '<label for="wlMessage" id="wlMessageLabel">' + mw.msg( 'wikilove-enter-message' ) + '</label>' ) |
| 117 | + .append( '<span class="wlOmitSig">' + mw.msg( 'wikilove-omit-sig' ) + '</span>' ) |
| 118 | + .append( '<textarea id="wlMessage"></textarea>' ) |
| 119 | + .append( '<input id="wlButtonPreview" class="submit" type="submit" value="' |
| 120 | + + mw.msg( 'wikilove-button-preview' ) + '"/>' ) |
| 121 | + .append( '<img class="wlSpinner" src="' + mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) |
| 122 | + + '/extensions/WikiLove/images/spinner.gif"/>' ) |
| 123 | + ) |
96 | 124 | .hide(); |
97 | 125 | |
98 | 126 | // Build the right bottom preview section |
— | — | @@ -102,17 +130,21 @@ |
103 | 131 | // <img class="wlSpinner" src="..."/> (another spinner for the send button) |
104 | 132 | // </div> |
105 | 133 | var $preview = $( '<div id="wlPreview"></div>' ) |
| 134 | + .append( '<span class="wlNumber">3</span>' ) |
106 | 135 | .append( '<h3>' + mw.msg( 'wikilove-preview' ) + '</h3>' ) |
107 | 136 | .append( '<div id="wlPreviewArea"></div>' ) |
108 | | - .append( '<input id="wlButtonSend" class="submit" type="submit" value="' |
109 | | - + mw.msg( 'wikilove-button-send' ) + '"/>' ) |
110 | | - .append( '<img class="wlSpinner" src="' + mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) |
111 | | - + '/extensions/WikiLove/images/spinner.gif"/>' ) |
| 137 | + .append( $( '<form id="wlSendForm"></form>' ) |
| 138 | + .append( '<input id="wlButtonSend" class="submit" type="submit" value="' |
| 139 | + + mw.msg( 'wikilove-button-send' ) + '"/>' ) |
| 140 | + .append( '<img class="wlSpinner" src="' + mw.config.get( 'wgServer' ) + mw.config.get( 'wgScriptPath' ) |
| 141 | + + '/extensions/WikiLove/images/spinner.gif"/>' ) |
| 142 | + ) |
112 | 143 | .hide(); |
113 | 144 | |
114 | 145 | // Build a modal, hidden dialog with the 3 different sections |
115 | 146 | $.wikiLove.$dialog = $( '<div id="wikiLoveDialog"></div>' ) |
116 | 147 | .append( $selectType ) |
| 148 | + .append( $getStarted ) |
117 | 149 | .append( $addDetails ) |
118 | 150 | .append( $preview ) |
119 | 151 | .dialog({ |
— | — | @@ -123,10 +155,10 @@ |
124 | 156 | resizable: false |
125 | 157 | }); |
126 | 158 | |
127 | | - $( '#wlTypes li' ).click( $.wikiLove.clickType ); |
| 159 | + $( '#wlTypes a' ).click( $.wikiLove.clickType ); |
128 | 160 | $( '#wlSubtype' ).change( $.wikiLove.changeSubtype ); |
129 | | - $( '#wlButtonPreview' ).click( $.wikiLove.clickPreview ); |
130 | | - $( '#wlButtonSend' ).click( $.wikiLove.clickSend ); |
| 161 | + $( '#wlPreviewForm' ).submit( $.wikiLove.submitPreview ); |
| 162 | + $( '#wlSendForm' ).click( $.wikiLove.submitSend ); |
131 | 163 | } |
132 | 164 | |
133 | 165 | $.wikiLove.$dialog.dialog( 'open' ); |
— | — | @@ -138,13 +170,14 @@ |
139 | 171 | */ |
140 | 172 | clickType: function( e ) { |
141 | 173 | e.preventDefault(); |
| 174 | + $( '#wlGetStarted' ).hide(); // always hide the get started section |
142 | 175 | |
143 | 176 | var newTypeId = $( this ).data( 'typeId' ); |
144 | 177 | if( $.wikiLove.currentTypeId != newTypeId ) { // only do stuff when a different type is selected |
145 | 178 | $.wikiLove.currentTypeId = newTypeId; |
146 | 179 | $.wikiLove.currentSubtypeId = null; // reset the subtype id |
147 | 180 | |
148 | | - $( '#wlTypes li' ).removeClass( 'selected' ); |
| 181 | + $( '#wlTypes a' ).removeClass( 'selected' ); |
149 | 182 | $( this ).addClass( 'selected' ); // highlight the new type in the menu |
150 | 183 | |
151 | 184 | if( typeof $.wikiLove.types[$.wikiLove.currentTypeId].subtypes == 'object' ) { |
— | — | @@ -176,6 +209,7 @@ |
177 | 210 | |
178 | 211 | $( '#wlAddDetails' ).show(); |
179 | 212 | $( '#wlPreview' ).hide(); |
| 213 | + $.wikiLove.previewData = null; |
180 | 214 | } |
181 | 215 | return false; |
182 | 216 | }, |
— | — | @@ -192,6 +226,7 @@ |
193 | 227 | .subtypes[$.wikiLove.currentSubtypeId]; |
194 | 228 | $.wikiLove.updateAllDetails(); |
195 | 229 | $( '#wlPreview' ).hide(); |
| 230 | + $.wikiLove.previewData = null; |
196 | 231 | } |
197 | 232 | }, |
198 | 233 | |
— | — | @@ -215,10 +250,19 @@ |
216 | 251 | /* |
217 | 252 | * Handler for clicking the preview button. Builds data for AJAX request. |
218 | 253 | */ |
219 | | - clickPreview: function() { |
| 254 | + submitPreview: function( e ) { |
| 255 | + e.preventDefault(); |
220 | 256 | var title = '==' + $( '#wlTitle' ).val() + "==\n"; |
221 | 257 | var msg = $.wikiLove.currentTypeOrSubtype.text.replace( '$1', $( '#wlMessage' ).val() ); |
222 | 258 | $.wikiLove.doPreview( title + msg ); |
| 259 | + $.wikiLove.previewData = { |
| 260 | + 'title': title, |
| 261 | + 'msg': msg, |
| 262 | + 'type': $.wikiLove.currentTypeId |
| 263 | + + ($.wikiLove.currentSubtypeId != null ? '-' + $.wikiLove.currentSubtypeId : ''), |
| 264 | + 'template': $.wikiLove.currentTypeOrSubtype.template |
| 265 | + }; |
| 266 | + return false; |
223 | 267 | }, |
224 | 268 | |
225 | 269 | /* |
— | — | @@ -257,12 +301,11 @@ |
258 | 302 | * The type sent for statistics is 'typeId-subtypeId' when using subtypes, |
259 | 303 | * or simply 'typeId' otherwise. |
260 | 304 | */ |
261 | | - clickSend: function() { |
262 | | - var title = $( '#wlTitle' ).val(); |
263 | | - var msg = $.wikiLove.currentTypeOrSubtype.text.replace( '$1', $( '#wlMessage' ).val() ); |
264 | | - $.wikiLove.doSend( title, msg, $.wikiLove.currentTypeId |
265 | | - + ($.wikiLove.currentSubtypeId == null ? '-' + $.wikiLove.currentSubtypeId : ''), |
266 | | - $.wikiLove.currentTypeOrSubtype.template); |
| 305 | + submitSend: function( e ) { |
| 306 | + e.preventDefault(); |
| 307 | + $.wikiLove.doSend( $.wikiLove.previewData.title, $.wikiLove.previewData.msg, |
| 308 | + $.wikiLove.previewData.type, $.wikiLove.previewData.template); |
| 309 | + return false; |
267 | 310 | }, |
268 | 311 | |
269 | 312 | /* |
Index: trunk/extensions/WikiLove/images/get-started-ltr.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/extensions/WikiLove/images/get-started-ltr.png |
___________________________________________________________________ |
Added: svn:mime-type |
270 | 313 | + image/png |
Index: trunk/extensions/WikiLove/images/get-started-rtl.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/extensions/WikiLove/images/get-started-rtl.png |
___________________________________________________________________ |
Added: svn:mime-type |
271 | 314 | + image/png |
Index: trunk/extensions/WikiLove/images/select-sprite.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/extensions/WikiLove/images/select-sprite.png |
___________________________________________________________________ |
Added: svn:mime-type |
272 | 315 | + image/png |
Index: trunk/extensions/WikiLove/images/number.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/extensions/WikiLove/images/number.png |
___________________________________________________________________ |
Added: svn:mime-type |
273 | 316 | + image/png |
Index: trunk/extensions/WikiLove/images/select-bg-sprite.png |
Cannot display: file marked as a binary type. |
svn:mime-type = image/png |
Property changes on: trunk/extensions/WikiLove/images/select-bg-sprite.png |
___________________________________________________________________ |
Added: svn:mime-type |
274 | 317 | + image/png |
Index: trunk/extensions/WikiLove/WikiLove.i18n.php |
— | — | @@ -19,6 +19,10 @@ |
20 | 20 | 'tooltip-ca-wikilove' => 'Post a message for this user showing your appreciation', |
21 | 21 | 'wikilove-dialog-title' => 'WikiLove', |
22 | 22 | 'wikilove-select-type' => 'Select Type', |
| 23 | + 'wikilove-get-started-header' => "Let's get started!", |
| 24 | + 'wikilove-get-started-list-1' => 'Select the type of WikiLove you wish to send', |
| 25 | + 'wikilove-get-started-list-2' => 'Add details to your WikiLove', |
| 26 | + 'wikilove-get-started-list-3' => 'Send your WikiLove!', |
23 | 27 | 'wikilove-add-details' => 'Add Details', |
24 | 28 | 'wikilove-title' => 'Title:', |
25 | 29 | 'wikilove-enter-message' => 'Enter a message:', |