Index: trunk/extensions/LiquidThreads/lqt.js |
— | — | @@ -172,8 +172,11 @@ |
173 | 173 | $j(container).find('#wpDiff').hide(); |
174 | 174 | |
175 | 175 | if ( $j.fn.wikiEditor && $j.wikiEditor.isSupported( $j.wikiEditor.modules.toolbar ) ) { |
| 176 | + if ( wgWikiEditorPreferences.toolbar.dialogs && $j.wikiEditor.isSupported( $j.wikiEditor.modules.dialogs ) ) { |
| 177 | + $j( '#wpTextbox1' ).addClass( 'toolbar-dialogs' ); |
| 178 | + } |
176 | 179 | // Add wikiEditor toolbar |
177 | | - $j( '#wpTextbox1' ).wikiEditor( 'addModule', { 'toolbar': liquidThreads.toolbar.config } ); |
| 180 | + $j( '#wpTextbox1' ).wikiEditor( 'addModule', { 'toolbar': liquidThreads.toolbar.config, 'dialogs': liquidThreads.toolbar.dialogs } ); |
178 | 181 | } else { |
179 | 182 | // Add old toolbar |
180 | 183 | mwSetupToolbar() |
Index: trunk/extensions/LiquidThreads/js/lqt.toolbar.js |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | /* JavaScript config for the WikiEditor Toolbar module */ |
3 | 3 | |
4 | | -liquidThreads.toolbar = { |
5 | | - config: { |
| 4 | +liquidThreads.toolbar = { |
| 5 | + 'config': { |
6 | 6 | // Main section |
7 | 7 | 'main': { |
8 | 8 | type: 'toolbar', |
— | — | @@ -181,1478 +181,741 @@ |
182 | 182 | post: "</ref>" |
183 | 183 | } |
184 | 184 | } |
185 | | - }, |
186 | | - 'signature': { |
187 | | - labelMsg: 'wikieditor-toolbar-tool-signature', |
188 | | - filters: [ 'body:not(.ns-0)' ], |
189 | | - type: 'button', |
190 | | - offset: [2, -1872], |
191 | | - icon: 'insert-signature.png', |
192 | | - action: { |
193 | | - type: 'encapsulate', |
194 | | - options: { |
195 | | - post: "--~~~~" |
196 | | - } |
197 | | - } |
198 | 185 | } |
199 | 186 | } |
200 | 187 | } |
201 | 188 | } |
202 | | - } |
203 | | - }, |
204 | | - 'dialogs': { |
205 | | - 'insert-link': { |
206 | | - filters: [ '#wpTextbox1.toolbar-dialogs' ], |
207 | | - titleMsg: 'wikieditor-toolbar-tool-link-title', |
208 | | - id: 'wikieditor-toolbar-link-dialog', |
209 | | - html: '\ |
210 | | - <fieldset>\ |
211 | | - <div class="wikieditor-toolbar-field-wrapper">\ |
212 | | - <label for="wikieditor-toolbar-link-int-target" rel="wikieditor-toolbar-tool-link-int-target" id="wikieditor-toolbar-tool-link-int-target-label"></label>\ |
213 | | - <div id="wikieditor-toolbar-link-int-target-status"></div>\ |
214 | | - <input type="text" id="wikieditor-toolbar-link-int-target" />\ |
215 | | - </div>\ |
216 | | - <div class="wikieditor-toolbar-field-wrapper">\ |
217 | | - <label for="wikieditor-toolbar-link-int-text" rel="wikieditor-toolbar-tool-link-int-text"></label>\ |
218 | | - <input type="text" id="wikieditor-toolbar-link-int-text" />\ |
219 | | - </div>\ |
220 | | - <div class="wikieditor-toolbar-field-wrapper">\ |
221 | | - <div class="wikieditor-toolbar-floated-field-wrapper">\ |
222 | | - <input type="radio" id="wikieditor-toolbar-link-type-int" name="wikieditor-toolbar-link-type" selected />\ |
223 | | - <label for="wikieditor-toolbar-link-type-int" rel="wikieditor-toolbar-tool-link-int"></label>\ |
224 | | - </div>\ |
225 | | - <div class="wikieditor-toolbar-floated-field-wrapper">\ |
226 | | - <input type="radio" id="wikieditor-toolbar-link-type-ext" name="wikieditor-toolbar-link-type" />\ |
227 | | - <label for="wikieditor-toolbar-link-type-ext" rel="wikieditor-toolbar-tool-link-ext"></label>\ |
228 | | - </div>\ |
229 | | - </div>\ |
230 | | - </fieldset>', |
231 | | - init: function() { |
232 | | - function isExternalLink( s ) { |
233 | | - // The following things are considered to be external links: |
234 | | - // * Starts a URL protocol |
235 | | - // * Starts with www. |
236 | | - // All of these are potentially valid titles, and the latter two |
237 | | - // categories match about 6300 titles in enwiki's ns0. Out of 6.9M |
238 | | - // titles, that's 0.09% |
239 | | - if ( typeof arguments.callee.regex == 'undefined' ) { |
240 | | - // Cache the regex |
241 | | - arguments.callee.regex = |
242 | | - new RegExp( "^(" + wgUrlProtocols + "|www\\.)", 'i'); |
243 | | - } |
244 | | - return s.match( arguments.callee.regex ); |
245 | | - } |
246 | | - // Updates the status indicator above the target link |
247 | | - function updateWidget( status ) { |
248 | | - $j( '#wikieditor-toolbar-link-int-target-status' ).children().hide(); |
249 | | - $j( '#wikieditor-toolbar-link-int-target' ).parent() |
250 | | - .removeClass( 'status-invalid status-external status-notexists status-exists status-loading' ); |
251 | | - if ( status ) { |
252 | | - $j( '#wikieditor-toolbar-link-int-target-status-' + status ).show(); |
253 | | - $j( '#wikieditor-toolbar-link-int-target' ).parent().addClass( 'status-' + status ); |
254 | | - } |
255 | | - if ( status == 'invalid' ) { |
256 | | - $j( '.ui-dialog:visible .ui-dialog-buttonpane button:first' ) |
257 | | - .attr( 'disabled', true ) |
258 | | - .addClass( 'disabled' ); |
259 | | - } else { |
260 | | - $j( '.ui-dialog:visible .ui-dialog-buttonpane button:first' ) |
261 | | - .removeAttr('disabled') |
262 | | - .removeClass('disabled'); |
263 | | - } |
264 | | - } |
265 | | - // Updates the UI to show if the page title being inputed by the user exists or not |
266 | | - // accepts parameter internal for bypassing external link detection |
267 | | - function updateExistence( internal ) { |
268 | | - // ensure the internal parameter is a boolean |
269 | | - if ( internal != true ) internal = false; |
270 | | - // Abort previous request |
271 | | - var request = $j( '#wikieditor-toolbar-link-int-target-status' ).data( 'request' ); |
272 | | - if ( request ) { |
273 | | - request.abort(); |
274 | | - } |
275 | | - var target = $j( '#wikieditor-toolbar-link-int-target' ).val(); |
276 | | - var cache = $j( '#wikieditor-toolbar-link-int-target-status' ).data( 'existencecache' ); |
277 | | - if ( cache[target] ) { |
278 | | - updateWidget( cache[target] ); |
279 | | - return; |
280 | | - } |
281 | | - if ( target.replace( /^\s+$/,'' ) == '' ) { |
282 | | - // Hide the widget when the textbox is empty |
283 | | - updateWidget( false ); |
284 | | - return; |
285 | | - } |
286 | | - // If the forced internal paremter was not true, check if the target is an external link |
287 | | - if ( !internal && isExternalLink( target ) ) { |
288 | | - updateWidget( 'external' ); |
289 | | - return; |
290 | | - } |
291 | | - if ( target.indexOf( '|' ) != -1 ) { |
292 | | - // Title contains | , which means it's invalid |
293 | | - // but confuses the API. Show invalid and bypass API |
294 | | - updateWidget( 'invalid' ); |
295 | | - return; |
296 | | - } |
297 | | - // Show loading spinner while waiting for the API to respond |
298 | | - updateWidget( 'loading' ); |
299 | | - // Call the API to check page status, saving the request object so it can be aborted if necessary |
300 | | - $j( '#wikieditor-toolbar-link-int-target-status' ).data( |
301 | | - 'request', |
302 | | - $j.ajax( { |
303 | | - url: wgScriptPath + '/api.php', |
304 | | - dataType: 'json', |
305 | | - data: { |
306 | | - 'action': 'query', |
307 | | - 'indexpageids': '', |
308 | | - 'titles': target, |
309 | | - 'format': 'json' |
310 | | - }, |
311 | | - success: function( data ) { |
312 | | - if ( !data ) { |
313 | | - // This happens in some weird cases |
314 | | - return; |
| 189 | + }, |
| 190 | + // Format section |
| 191 | + 'advanced': { |
| 192 | + labelMsg: 'wikieditor-toolbar-section-advanced', |
| 193 | + type: 'toolbar', |
| 194 | + groups: { |
| 195 | + 'heading': { |
| 196 | + tools: { |
| 197 | + 'heading': { |
| 198 | + labelMsg: 'wikieditor-toolbar-tool-heading', |
| 199 | + type: 'select', |
| 200 | + list: { |
| 201 | + 'heading-2' : { |
| 202 | + labelMsg: 'wikieditor-toolbar-tool-heading-2', |
| 203 | + action: { |
| 204 | + type: 'encapsulate', |
| 205 | + options: { |
| 206 | + pre: '== ', |
| 207 | + periMsg: 'wikieditor-toolbar-tool-heading-example', |
| 208 | + post: ' ==', |
| 209 | + regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
| 210 | + regexReplace: "\$1==\$3==\$4", |
| 211 | + ownline: true |
| 212 | + } |
| 213 | + } |
| 214 | + }, |
| 215 | + 'heading-3' : { |
| 216 | + labelMsg: 'wikieditor-toolbar-tool-heading-3', |
| 217 | + action: { |
| 218 | + type: 'encapsulate', |
| 219 | + options: { |
| 220 | + pre: '=== ', |
| 221 | + periMsg: 'wikieditor-toolbar-tool-heading-example', |
| 222 | + post: ' ===', |
| 223 | + regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
| 224 | + regexReplace: "\$1===\$3===\$4", |
| 225 | + ownline: true |
| 226 | + } |
| 227 | + } |
| 228 | + }, |
| 229 | + 'heading-4' : { |
| 230 | + labelMsg: 'wikieditor-toolbar-tool-heading-4', |
| 231 | + action: { |
| 232 | + type: 'encapsulate', |
| 233 | + options: { |
| 234 | + pre: '==== ', |
| 235 | + periMsg: 'wikieditor-toolbar-tool-heading-example', |
| 236 | + post: ' ====', |
| 237 | + regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
| 238 | + regexReplace: "\$1====\$3====\$4", |
| 239 | + ownline: true |
| 240 | + } |
| 241 | + } |
| 242 | + }, |
| 243 | + 'heading-5' : { |
| 244 | + labelMsg: 'wikieditor-toolbar-tool-heading-5', |
| 245 | + action: { |
| 246 | + type: 'encapsulate', |
| 247 | + options: { |
| 248 | + pre: '===== ', |
| 249 | + periMsg: 'wikieditor-toolbar-tool-heading-example', |
| 250 | + post: ' =====', |
| 251 | + regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
| 252 | + regexReplace: "\$1=====\$3=====\$4", |
| 253 | + ownline: true |
| 254 | + } |
| 255 | + } |
315 | 256 | } |
316 | | - var status; |
317 | | - if ( typeof data.query == 'undefined' ) { |
318 | | - status = 'invalid'; |
319 | | - } else { |
320 | | - var page = data.query.pages[data.query.pageids[0]]; |
321 | | - status = 'exists'; |
322 | | - if ( typeof page.missing != 'undefined' ) |
323 | | - status = 'notexists'; |
324 | | - else if ( typeof page.invalid != 'undefined' ) |
325 | | - status = 'invalid'; |
326 | | - } |
327 | | - // Cache the status of the link target if the force internal parameter was not passed |
328 | | - if ( !internal ) cache[target] = status; |
329 | | - updateWidget( status ); |
330 | 257 | } |
331 | | - } ) |
332 | | - ); |
333 | | - } |
334 | | - $j( '#wikieditor-toolbar-link-type-int, #wikieditor-toolbar-link-type-ext' ).click( function() { |
335 | | - if( $j( '#wikieditor-toolbar-link-type-ext' ).is( ':checked' ) ) { |
336 | | - // Abort previous request |
337 | | - var request = $j( '#wikieditor-toolbar-link-int-target-status' ).data( 'request' ); |
338 | | - if ( request ) { |
339 | | - request.abort(); |
340 | 258 | } |
341 | | - updateWidget( 'external' ); |
342 | 259 | } |
343 | | - if( $j( '#wikieditor-toolbar-link-type-int' ).is( ':checked' ) ) |
344 | | - updateExistence( true ); |
345 | | - }); |
346 | | - // Set labels of tabs based on rel values |
347 | | - var u = mw.usability; |
348 | | - $j(this).find( '[rel]' ).each( function() { |
349 | | - $j(this).text( u.getMsg( $j(this).attr( 'rel' ) ) ); |
350 | | - }); |
351 | | - // Set tabindexes on form fields |
352 | | - $j.wikiEditor.modules.dialogs.fn.setTabindexes( $j(this).find( 'input' ).not( '[tabindex]' ) ); |
353 | | - // Setup the tooltips in the textboxes |
354 | | - $j( '#wikieditor-toolbar-link-int-target' ) |
355 | | - .data( 'tooltip', u.getMsg( 'wikieditor-toolbar-tool-link-int-target-tooltip' ) ); |
356 | | - $j( '#wikieditor-toolbar-link-int-text' ) |
357 | | - .data( 'tooltip', u.getMsg( 'wikieditor-toolbar-tool-link-int-text-tooltip' ) ); |
358 | | - $j( '#wikieditor-toolbar-link-int-target, #wikieditor-toolbar-link-int-text' ) |
359 | | - .each( function() { |
360 | | - var tooltip = u.getMsg( $j( this ).attr( 'id' ) + '-tooltip' ); |
361 | | - if ( $j( this ).val() == '' ) |
362 | | - $j( this ) |
363 | | - .addClass( 'wikieditor-toolbar-dialog-hint' ) |
364 | | - .val( $j( this ).data( 'tooltip' ) ) |
365 | | - .data( 'tooltip-mode', true ); |
366 | | - } ) |
367 | | - .focus( function() { |
368 | | - if( $j( this ).val() == $j( this ).data( 'tooltip' ) ) { |
369 | | - $j( this ) |
370 | | - .val( '' ) |
371 | | - .removeClass( 'wikieditor-toolbar-dialog-hint' ) |
372 | | - .data( 'tooltip-mode', false ); |
373 | | - } |
374 | | - }) |
375 | | - .bind( 'change', function() { |
376 | | - if ( $j( this ).val() != $j( this ).data( 'tooltip' ) ) { |
377 | | - $j( this ) |
378 | | - .removeClass( 'wikieditor-toolbar-dialog-hint' ) |
379 | | - .data( 'tooltip-mode', false ); |
380 | | - } |
381 | | - }) |
382 | | - .bind( 'blur', function() { |
383 | | - if ( $j( this ).val() == '' ) { |
384 | | - $j( this ) |
385 | | - .addClass( 'wikieditor-toolbar-dialog-hint' ) |
386 | | - .val( $j( this ).data( 'tooltip' ) ) |
387 | | - .data( 'tooltip-mode', true ); |
388 | | - } |
389 | | - }); |
390 | | - |
391 | | - // Automatically copy the value of the internal link page title field to the link text field unless the user |
392 | | - // has changed the link text field - this is a convenience thing since most link texts are going to be the |
393 | | - // the same as the page title |
394 | | - // Also change the internal/external radio button accordingly |
395 | | - $j( '#wikieditor-toolbar-link-int-target' ).bind( 'change keydown paste cut', function() { |
396 | | - // $j(this).val() is the old value, before the keypress |
397 | | - // Defer this until $j(this).val() has been updated |
398 | | - setTimeout( function() { |
399 | | - if ( isExternalLink( $j( '#wikieditor-toolbar-link-int-target' ).val() ) ) { |
400 | | - $j( '#wikieditor-toolbar-link-type-ext' ).attr( 'checked', 'checked' ); |
401 | | - updateWidget( 'external' ); |
402 | | - } else { |
403 | | - $j( '#wikieditor-toolbar-link-type-int' ).attr( 'checked', 'checked' ); |
404 | | - updateExistence(); |
405 | | - } |
406 | | - if ( $j( '#wikieditor-toolbar-link-int-text' ).data( 'untouched' ) ) |
407 | | - if ( $j( '#wikieditor-toolbar-link-int-target' ).val() == |
408 | | - $j( '#wikieditor-toolbar-link-int-target' ).data( 'tooltip' ) ) { |
409 | | - $j( '#wikieditor-toolbar-link-int-text' ) |
410 | | - .addClass( 'wikieditor-toolbar-dialog-hint' ) |
411 | | - .val( $j( '#wikieditor-toolbar-link-int-text' ).data( 'tooltip' ) ) |
412 | | - .change(); |
413 | | - } else { |
414 | | - $j( '#wikieditor-toolbar-link-int-text' ) |
415 | | - .val( $j( '#wikieditor-toolbar-link-int-target' ).val() ) |
416 | | - .change(); |
| 260 | + }, |
| 261 | + 'format': { |
| 262 | + labelMsg: 'wikieditor-toolbar-group-format', |
| 263 | + tools: { |
| 264 | + 'ulist': { |
| 265 | + labelMsg: 'wikieditor-toolbar-tool-ulist', |
| 266 | + type: 'button', |
| 267 | + icon: 'format-ulist.png', |
| 268 | + offset: [2, -1366], |
| 269 | + action: { |
| 270 | + type: 'encapsulate', |
| 271 | + options: { |
| 272 | + pre: "* ", |
| 273 | + periMsg: 'wikieditor-toolbar-tool-ulist-example', |
| 274 | + post: "", |
| 275 | + ownline: true |
417 | 276 | } |
418 | | - }, 0 ); |
419 | | - }); |
420 | | - $j( '#wikieditor-toolbar-link-int-text' ).bind( 'change keydown paste cut', function() { |
421 | | - var oldVal = $j(this).val(); |
422 | | - var that = this; |
423 | | - setTimeout( function() { |
424 | | - if ( $j(that).val() != oldVal ) |
425 | | - $j(that).data( 'untouched', false ); |
426 | | - }, 0 ); |
427 | | - }); |
428 | | - // Add images to the page existence widget, which will be shown mutually exclusively to communicate if the |
429 | | - // page exists, does not exist or the title is invalid (like if it contains a | character) |
430 | | - var existsMsg = u.getMsg( 'wikieditor-toolbar-tool-link-int-target-status-exists' ); |
431 | | - var notexistsMsg = u.getMsg( 'wikieditor-toolbar-tool-link-int-target-status-notexists' ); |
432 | | - var invalidMsg = u.getMsg( 'wikieditor-toolbar-tool-link-int-target-status-invalid' ); |
433 | | - var externalMsg = u.getMsg( 'wikieditor-toolbar-tool-link-int-target-status-external' ); |
434 | | - var loadingMsg = u.getMsg( 'wikieditor-toolbar-tool-link-int-target-status-loading' ); |
435 | | - $j( '#wikieditor-toolbar-link-int-target-status' ) |
436 | | - .append( $j( '<div />' ) |
437 | | - .attr( 'id', 'wikieditor-toolbar-link-int-target-status-exists' ) |
438 | | - .append( existsMsg ) |
439 | | - ) |
440 | | - .append( $j( '<div />' ) |
441 | | - .attr( 'id', 'wikieditor-toolbar-link-int-target-status-notexists' ) |
442 | | - .append( notexistsMsg ) |
443 | | - ) |
444 | | - .append( $j( '<div />' ) |
445 | | - .attr( 'id', 'wikieditor-toolbar-link-int-target-status-invalid' ) |
446 | | - .append( invalidMsg ) |
447 | | - ) |
448 | | - .append( $j( '<div />' ) |
449 | | - .attr( 'id', 'wikieditor-toolbar-link-int-target-status-external' ) |
450 | | - .append( externalMsg ) |
451 | | - ) |
452 | | - .append( $j( '<div />' ) |
453 | | - .attr( 'id', 'wikieditor-toolbar-link-int-target-status-loading' ) |
454 | | - .append( $j( '<img />' ).attr( { |
455 | | - 'src': $j.wikiEditor.imgPath + 'dialogs/' + 'loading.gif', |
456 | | - 'alt': loadingMsg, |
457 | | - 'title': loadingMsg |
458 | | - } ) ) |
459 | | - ) |
460 | | - .data( 'existencecache', {} ) |
461 | | - .children().hide(); |
462 | | - |
463 | | - $j( '#wikieditor-toolbar-link-int-target' ) |
464 | | - .bind( 'keyup paste cut', function() { |
465 | | - // Cancel the running timer if applicable |
466 | | - if ( typeof $j(this).data( 'timerID' ) != 'undefined' ) { |
467 | | - clearTimeout( $j(this).data( 'timerID' ) ); |
468 | | - } |
469 | | - // Delay fetch for a while |
470 | | - // FIXME: Make 120 configurable elsewhere |
471 | | - var timerID = setTimeout( updateExistence, 120 ); |
472 | | - $j(this).data( 'timerID', timerID ); |
473 | | - } ) |
474 | | - .change( function() { |
475 | | - // Cancel the running timer if applicable |
476 | | - if ( typeof $j(this).data( 'timerID' ) != 'undefined' ) { |
477 | | - clearTimeout( $j(this).data( 'timerID' ) ); |
478 | | - } |
479 | | - // Fetch right now |
480 | | - updateExistence(); |
481 | | - } ); |
482 | | - |
483 | | - // Title suggestions |
484 | | - $j( '#wikieditor-toolbar-link-int-target' ).data( 'suggcache', {} ).suggestions( { |
485 | | - fetch: function( query ) { |
486 | | - var that = this; |
487 | | - var title = $j(this).val(); |
488 | | - |
489 | | - if ( isExternalLink( title ) || title.indexOf( '|' ) != -1 || title == '') { |
490 | | - $j(this).suggestions( 'suggestions', [] ); |
491 | | - return; |
492 | | - } |
493 | | - |
494 | | - var cache = $j(this).data( 'suggcache' ); |
495 | | - if ( typeof cache[title] != 'undefined' ) { |
496 | | - $j(this).suggestions( 'suggestions', cache[title] ); |
497 | | - return; |
498 | | - } |
499 | | - |
500 | | - var request = $j.ajax( { |
501 | | - url: wgScriptPath + '/api.php', |
502 | | - data: { |
503 | | - 'action': 'opensearch', |
504 | | - 'search': title, |
505 | | - 'namespace': 0, |
506 | | - 'suggest': '', |
507 | | - 'format': 'json' |
508 | | - }, |
509 | | - dataType: 'json', |
510 | | - success: function( data ) { |
511 | | - cache[title] = data[1]; |
512 | | - $j(that).suggestions( 'suggestions', data[1] ); |
513 | 277 | } |
514 | | - }); |
515 | | - $j(this).data( 'request', request ); |
516 | | - }, |
517 | | - cancel: function() { |
518 | | - var request = $j(this).data( 'request' ); |
519 | | - if ( request ) |
520 | | - request.abort(); |
521 | | - } |
522 | | - }); |
523 | | - }, |
524 | | - dialog: { |
525 | | - width: 500, |
526 | | - dialogClass: 'wikiEditor-toolbar-dialog', |
527 | | - buttons: { |
528 | | - 'wikieditor-toolbar-tool-link-insert': function() { |
529 | | - function escapeInternalText( s ) { |
530 | | - // FIXME: Should this escape [[ too? Seems to work without that |
531 | | - return s.replace( /(]{2,})/g, '<nowiki>$1</nowiki>' ); |
532 | | - } |
533 | | - function escapeExternalTarget( s ) { |
534 | | - return s.replace( / /g, '%20' ) |
535 | | - .replace( /\[/g, '%5B' ) |
536 | | - .replace( /]/g, '%5D' ); |
537 | | - } |
538 | | - function escapeExternalText( s ) { |
539 | | - // FIXME: Should this escape [ too? Seems to work without that |
540 | | - return s.replace( /(]+)/g, '<nowiki>$1</nowiki>' ); |
541 | | - } |
542 | | - var insertText = ''; |
543 | | - var whitespace = $j( '#wikieditor-toolbar-link-dialog' ).data( 'whitespace' ); |
544 | | - var target = $j( '#wikieditor-toolbar-link-int-target' ).val(); |
545 | | - var text = $j( '#wikieditor-toolbar-link-int-text' ).val(); |
546 | | - // check if the tooltips were passed as target or text |
547 | | - if ( $j( '#wikieditor-toolbar-link-int-target' ).data( 'tooltip-mode' ) ) |
548 | | - target = ""; |
549 | | - if ( $j( '#wikieditor-toolbar-link-int-text' ).data( 'tooltip-mode' ) ) |
550 | | - text = ""; |
551 | | - var u = mw.usability; |
552 | | - if ( target == '' ) { |
553 | | - alert( u.getMsg( 'wikieditor-toolbar-tool-link-empty' ) ); |
554 | | - return; |
555 | | - } |
556 | | - if ( $j.trim( text ) == '' ) { |
557 | | - // [[Foo| ]] creates an invisible link |
558 | | - // Instead, generate [[Foo|]] |
559 | | - text = ''; |
560 | | - } |
561 | | - if ( $j( '#wikieditor-toolbar-link-type-int' ).is( ':checked' ) ) { |
562 | | - // FIXME: Exactly how fragile is this? |
563 | | - if ( $j( '#wikieditor-toolbar-link-int-target-status-invalid' ).is( ':visible' ) ) { |
564 | | - // Refuse to add links to invalid titles |
565 | | - alert( u.getMsg( 'wikieditor-toolbar-tool-link-int-invalid' ) ); |
566 | | - return; |
| 278 | + }, |
| 279 | + 'olist': { |
| 280 | + labelMsg: 'wikieditor-toolbar-tool-olist', |
| 281 | + type: 'button', |
| 282 | + icon: 'format-olist.png', |
| 283 | + offset: [2, -1078], |
| 284 | + action: { |
| 285 | + type: 'encapsulate', |
| 286 | + options: { |
| 287 | + pre: "# ", |
| 288 | + periMsg: 'wikieditor-toolbar-tool-olist-example', |
| 289 | + post: "", |
| 290 | + ownline: true |
| 291 | + } |
567 | 292 | } |
568 | | - |
569 | | - if ( target == text || !text.length ) |
570 | | - insertText = '[[' + target + ']]'; |
571 | | - else |
572 | | - insertText = '[[' + target + '|' + escapeInternalText( text ) + ']]'; |
573 | | - } else { |
574 | | - // Prepend http:// if there is no protocol |
575 | | - if ( !target.match( /^[a-z]+:\/\/./ ) ) |
576 | | - target = 'http://' + target; |
577 | | - |
578 | | - // Detect if this is really an internal link in disguise |
579 | | - var match = target.match( $j(this).data( 'articlePathRegex' ) ); |
580 | | - if ( match && !$j(this).data( 'ignoreLooksInternal' ) ) { |
581 | | - var buttons = { }; |
582 | | - var that = this; |
583 | | - buttons[ u.getMsg( 'wikieditor-toolbar-tool-link-lookslikeinternal-int' ) ] = function() { |
584 | | - $j( '#wikieditor-toolbar-link-int-target' ).val( match[1] ).change(); |
585 | | - $j(this).dialog( 'close' ); |
586 | | - }; |
587 | | - buttons[ u.getMsg( 'wikieditor-toolbar-tool-link-lookslikeinternal-ext' ) ] = function() { |
588 | | - $j(that).data( 'ignoreLooksInternal', true ); |
589 | | - $j(that).closest( '.ui-dialog' ).find( 'button:first' ).click(); |
590 | | - $j(that).data( 'ignoreLooksInternal', false ); |
591 | | - $j(this).dialog( 'close' ); |
592 | | - }; |
593 | | - $j.wikiEditor.modules.dialogs.quickDialog( |
594 | | - u.getMsg( 'wikieditor-toolbar-tool-link-lookslikeinternal', match[1] ), |
595 | | - { buttons: buttons } |
596 | | - ); |
597 | | - return; |
| 293 | + }, |
| 294 | + 'indent': { |
| 295 | + labelMsg: 'wikieditor-toolbar-tool-indent', |
| 296 | + type: 'button', |
| 297 | + icon: 'format-indent.png', |
| 298 | + offset: [2, -646], |
| 299 | + action: { |
| 300 | + type: 'encapsulate', |
| 301 | + options: { |
| 302 | + pre: ":", |
| 303 | + periMsg: 'wikieditor-toolbar-tool-indent-example', |
| 304 | + post: "", |
| 305 | + ownline: true, |
| 306 | + splitlines: true |
| 307 | + } |
598 | 308 | } |
599 | | - |
600 | | - var escTarget = escapeExternalTarget( target ); |
601 | | - var escText = escapeExternalText( text ); |
602 | | - |
603 | | - if ( escTarget == escText ) |
604 | | - insertText = escTarget; |
605 | | - else if ( text == '' ) |
606 | | - insertText = '[' + escTarget + ']'; |
607 | | - else |
608 | | - insertText = '[' + escTarget + ' ' + escText + ']'; |
609 | | - } |
610 | | - // Preserve whitespace in selection when replacing |
611 | | - if ( whitespace ) insertText = whitespace[0] + insertText + whitespace[1]; |
612 | | - $j(this).dialog( 'close' ); |
613 | | - $j.wikiEditor.modules.toolbar.fn.doAction( $j(this).data( 'context' ), { |
614 | | - type: 'replace', |
615 | | - options: { |
616 | | - pre: insertText |
| 309 | + }, |
| 310 | + 'nowiki': { |
| 311 | + labelMsg: 'wikieditor-toolbar-tool-nowiki', |
| 312 | + type: 'button', |
| 313 | + icon: 'insert-nowiki.png', |
| 314 | + offset: [-70, -70], |
| 315 | + action: { |
| 316 | + type: 'encapsulate', |
| 317 | + options: { |
| 318 | + pre: "<nowiki>", |
| 319 | + periMsg: 'wikieditor-toolbar-tool-nowiki-example', |
| 320 | + post: "</nowiki>" |
| 321 | + } |
617 | 322 | } |
618 | | - }, $j(this) ); |
619 | | - |
620 | | - // Blank form |
621 | | - $j( '#wikieditor-toolbar-link-int-target, #wikieditor-toolbar-link-int-text' ).val( '' ); |
622 | | - $j( '#wikieditor-toolbar-link-type-int, #wikieditor-toolbar-link-type-ext' ).attr( 'checked', '' ); |
623 | | - }, |
624 | | - 'wikieditor-toolbar-tool-link-cancel': function() { |
625 | | - // Clear any saved selection state |
626 | | - var context = $j(this).data( 'context' ); |
627 | | - context.fn.restoreStuffForIE(); |
628 | | - $j(this).dialog( 'close' ); |
629 | | - } |
630 | | - }, |
631 | | - open: function() { |
632 | | - // Cache the articlepath regex |
633 | | - $j(this).data( 'articlePathRegex', new RegExp( |
634 | | - '^' + RegExp.escape( wgServer + wgArticlePath ) |
635 | | - .replace( /\\\$1/g, '(.*)' ) + '$' |
636 | | - ) ); |
637 | | - // Pre-fill the text fields based on the current selection |
638 | | - var context = $j(this).data( 'context' ); |
639 | | - // Restore and immediately save selection state, needed for inserting stuff later |
640 | | - context.fn.restoreStuffForIE(); |
641 | | - context.fn.saveStuffForIE(); |
642 | | - var selection = context.$textarea.textSelection( 'getSelection' ); |
643 | | - $j( '#wikieditor-toolbar-link-int-target' ).focus(); |
644 | | - // Trigger the change event, so the link status indicator is up to date |
645 | | - $j( '#wikieditor-toolbar-link-int-target' ).change(); |
646 | | - $j( '#wikieditor-toolbar-link-dialog' ).data( 'whitespace', [ '', '' ] ); |
647 | | - if ( selection != '' ) { |
648 | | - var target, text, type; |
649 | | - var matches; |
650 | | - if ( ( matches = selection.match( /^(\s*)\[\[([^\]\|]+)(\|([^\]\|]*))?\]\](\s*)$/ ) ) ) { |
651 | | - // [[foo|bar]] or [[foo]] |
652 | | - target = matches[2]; |
653 | | - text = ( matches[4] ? matches[4] : matches[2] ); |
654 | | - type = 'int'; |
655 | | - // Preserve whitespace when replacing |
656 | | - $j( '#wikieditor-toolbar-link-dialog' ).data( 'whitespace', [ matches[1], matches[5] ] ); |
657 | | - } else if ( ( matches = selection.match( /^(\s*)\[([^\] ]+)( ([^\]]+))?\](\s*)$/ ) ) ) { |
658 | | - // [http://www.example.com foo] or [http://www.example.com] |
659 | | - target = matches[2]; |
660 | | - text = ( matches[4] ? matches[4] : '' ); |
661 | | - type = 'ext'; |
662 | | - // Preserve whitespace when replacing |
663 | | - $j( '#wikieditor-toolbar-link-dialog' ).data( 'whitespace', [ matches[1], matches[5] ] ); |
664 | | - } else { |
665 | | - // Trim any leading and trailing whitespace from the selection, |
666 | | - // but preserve it when replacing |
667 | | - target = text = $j.trim( selection ); |
668 | | - if ( target.length < selection.length ) { |
669 | | - $j( '#wikieditor-toolbar-link-dialog' ).data( 'whitespace', [ |
670 | | - selection.substr( 0, selection.indexOf( target.charAt( 0 ) ) ), |
671 | | - selection.substr( |
672 | | - selection.lastIndexOf( target.charAt( target.length - 1 ) ) + 1 |
673 | | - ) ] |
674 | | - ); |
| 323 | + }, |
| 324 | + 'newline': { |
| 325 | + labelMsg: 'wikieditor-toolbar-tool-newline', |
| 326 | + type: 'button', |
| 327 | + icon: 'insert-newline.png', |
| 328 | + offset: [2, -1726], |
| 329 | + action: { |
| 330 | + type: 'encapsulate', |
| 331 | + options: { |
| 332 | + pre: "<br />\n" |
| 333 | + } |
675 | 334 | } |
676 | 335 | } |
677 | | - |
678 | | - // Change the value by calling val() doesn't trigger the change event, so let's do that ourselves |
679 | | - if ( typeof text != 'undefined' ) |
680 | | - $j( '#wikieditor-toolbar-link-int-text' ).val( text ).change(); |
681 | | - if ( typeof target != 'undefined' ) |
682 | | - $j( '#wikieditor-toolbar-link-int-target' ).val( target ).change(); |
683 | | - if ( typeof type != 'undefined' ) |
684 | | - $j( '#wikieditor-toolbar-link-' + type ).attr( 'checked', 'checked' ); |
685 | 336 | } |
686 | | - $j( '#wikieditor-toolbar-link-int-text' ).data( 'untouched', |
687 | | - $j( '#wikieditor-toolbar-link-int-text' ).val() == |
688 | | - $j( '#wikieditor-toolbar-link-int-target' ).val() || |
689 | | - $j( '#wikieditor-toolbar-link-int-text' ).hasClass( 'wikieditor-toolbar-dialog-hint' ) |
690 | | - ); |
691 | | - $j( '#wikieditor-toolbar-link-int-target' ).suggestions(); |
692 | | - |
693 | | - //don't overwrite user's text |
694 | | - if( selection != '' ){ |
695 | | - $j( '#wikieditor-toolbar-link-int-text' ).data( 'untouched', false ); |
696 | | - } |
697 | | - |
698 | | - $j( '#wikieditor-toolbar-link-int-text, #wikiedit-toolbar-link-int-target' ) |
699 | | - .each( function() { |
700 | | - if ( $j(this).val() == '' ) |
701 | | - $j(this).parent().find( 'label' ).show(); |
702 | | - }); |
703 | | - |
704 | | - if ( !( $j(this).data( 'dialogkeypressset' ) ) ) { |
705 | | - $j(this).data( 'dialogkeypressset', true ); |
706 | | - // Execute the action associated with the first button |
707 | | - // when the user presses Enter |
708 | | - $j(this).closest( '.ui-dialog' ).keypress( function( e ) { |
709 | | - if ( ( e.keyCode || e.which ) == 13 ) { |
710 | | - var button = $j(this).data( 'dialogaction' ) || $j(this).find( 'button:first' ); |
711 | | - button.click(); |
712 | | - e.preventDefault(); |
| 337 | + }, |
| 338 | + 'size': { |
| 339 | + tools: { |
| 340 | + 'big': { |
| 341 | + labelMsg: 'wikieditor-toolbar-tool-big', |
| 342 | + type: 'button', |
| 343 | + icon: 'format-big.png', |
| 344 | + offset: [2, 2], |
| 345 | + action: { |
| 346 | + type: 'encapsulate', |
| 347 | + options: { |
| 348 | + pre: "<big>", |
| 349 | + periMsg: 'wikieditor-toolbar-tool-big-example', |
| 350 | + post: "</big>" |
| 351 | + } |
713 | 352 | } |
714 | | - }); |
715 | | - |
716 | | - // Make tabbing to a button and pressing |
717 | | - // Enter do what people expect |
718 | | - $j(this).closest( '.ui-dialog' ).find( 'button' ).focus( function() { |
719 | | - $j(this).closest( '.ui-dialog' ).data( 'dialogaction', this ); |
720 | | - }); |
721 | | - } |
722 | | - } |
723 | | - } |
724 | | - } |
725 | | - } |
726 | | -}; |
727 | | - |
728 | | -/* TODO: Get wikiEditor strings loading and then switch to this configuration |
729 | | - |
730 | | -liquidThreads.toolbar.config = { |
731 | | - // Main section |
732 | | - 'main': { |
733 | | - type: 'toolbar', |
734 | | - groups: { |
735 | | - 'format': { |
736 | | - tools: { |
737 | | - 'bold': { |
738 | | - labelMsg: 'wikieditor-toolbar-tool-bold', |
739 | | - type: 'button', |
740 | | - offset: { |
741 | | - 'default': [2, -574], |
742 | | - 'en': [2, -142], |
743 | | - 'cs': [2, -142], |
744 | | - 'de': [2, -214], |
745 | | - 'fr': [2, -286], |
746 | | - 'es': [2, -358], |
747 | | - 'he': [2, -142], |
748 | | - 'it': [2, -286], |
749 | | - 'nl': [2, -502], |
750 | | - 'pt': [2, -358], |
751 | | - 'pt-br': [2, -358], |
752 | | - 'pl': [2, -142] |
753 | 353 | }, |
754 | | - icon: { |
755 | | - 'default': 'format-bold.png', |
756 | | - 'en': 'format-bold-B.png', |
757 | | - 'cs': 'format-bold-B.png', |
758 | | - 'de': 'format-bold-F.png', |
759 | | - 'fr': 'format-bold-G.png', |
760 | | - 'es': 'format-bold-N.png', |
761 | | - 'he': 'format-bold-B.png', |
762 | | - 'it': 'format-bold-G.png', |
763 | | - 'ka': 'format-bold-ka.png', |
764 | | - 'nl': 'format-bold-V.png', |
765 | | - 'pt': 'format-bold-N.png', |
766 | | - 'pt-br': 'format-bold-N.png', |
767 | | - 'pl': 'format-bold-B.png', |
768 | | - 'ru': 'format-bold-ru.png' |
| 354 | + 'small': { |
| 355 | + labelMsg: 'wikieditor-toolbar-tool-small', |
| 356 | + type: 'button', |
| 357 | + icon: 'format-small.png', |
| 358 | + offset: [2, -1150], |
| 359 | + action: { |
| 360 | + type: 'encapsulate', |
| 361 | + options: { |
| 362 | + pre: "<small>", |
| 363 | + periMsg: 'wikieditor-toolbar-tool-small-example', |
| 364 | + post: "</small>" |
| 365 | + } |
| 366 | + } |
769 | 367 | }, |
770 | | - action: { |
771 | | - type: 'encapsulate', |
772 | | - options: { |
773 | | - pre: "'''", |
774 | | - periMsg: 'wikieditor-toolbar-tool-bold-example', |
775 | | - post: "'''" |
| 368 | + 'superscript': { |
| 369 | + labelMsg: 'wikieditor-toolbar-tool-superscript', |
| 370 | + type: 'button', |
| 371 | + icon: 'format-superscript.png', |
| 372 | + offset: [2, -1294], |
| 373 | + action: { |
| 374 | + type: 'encapsulate', |
| 375 | + options: { |
| 376 | + pre: "<sup>", |
| 377 | + periMsg: 'wikieditor-toolbar-tool-superscript-example', |
| 378 | + post: "</sup>" |
| 379 | + } |
776 | 380 | } |
777 | | - } |
778 | | - }, |
779 | | - 'italic': { |
780 | | - section: 'main', |
781 | | - group: 'format', |
782 | | - id: 'italic', |
783 | | - labelMsg: 'wikieditor-toolbar-tool-italic', |
784 | | - type: 'button', |
785 | | - offset: { |
786 | | - 'default': [2, -718], |
787 | | - 'en': [2, -862], |
788 | | - 'cs': [2, -862], |
789 | | - 'de': [2, -934], |
790 | | - 'fr': [2, -862], |
791 | | - 'es': [2, -790], |
792 | | - 'he': [2, -862], |
793 | | - 'it': [2, -790], |
794 | | - 'nl': [2, -790], |
795 | | - 'pt': [2, -862], |
796 | | - 'pt-br': [2, -862], |
797 | | - 'pl': [2, -862], |
798 | | - 'ru': [2, -934] |
799 | 381 | }, |
800 | | - icon: { |
801 | | - 'default': 'format-italic.png', |
802 | | - 'en': 'format-italic-I.png', |
803 | | - 'cs': 'format-italic-I.png', |
804 | | - 'de': 'format-italic-K.png', |
805 | | - 'fr': 'format-italic-I.png', |
806 | | - 'es': 'format-italic-C.png', |
807 | | - 'he': 'format-italic-I.png', |
808 | | - 'it': 'format-italic-C.png', |
809 | | - 'ka': 'format-italic-ka.png', |
810 | | - 'nl': 'format-italic-C.png', |
811 | | - 'pt': 'format-italic-I.png', |
812 | | - 'pt-br': 'format-italic-I.png', |
813 | | - 'pl': 'format-italic-I.png', |
814 | | - 'ru': 'format-italic-K.png' |
815 | | - }, |
816 | | - action: { |
817 | | - type: 'encapsulate', |
818 | | - options: { |
819 | | - pre: "''", |
820 | | - periMsg: 'wikieditor-toolbar-tool-italic-example', |
821 | | - post: "''" |
| 382 | + 'subscript': { |
| 383 | + labelMsg: 'wikieditor-toolbar-tool-subscript', |
| 384 | + type: 'button', |
| 385 | + icon: 'format-subscript.png', |
| 386 | + offset: [2, -1222], |
| 387 | + action: { |
| 388 | + type: 'encapsulate', |
| 389 | + options: { |
| 390 | + pre: "<sub>", |
| 391 | + periMsg: 'wikieditor-toolbar-tool-subscript-example', |
| 392 | + post: "</sub>" |
| 393 | + } |
822 | 394 | } |
823 | 395 | } |
824 | 396 | } |
825 | | - } |
826 | | - }, |
827 | | - 'insert': { |
828 | | - tools: { |
829 | | - 'xlink': { |
830 | | - labelMsg: 'wikieditor-toolbar-tool-xlink', |
831 | | - type: 'button', |
832 | | - icon: 'insert-xlink.png', |
833 | | - offset: [-70, 2], |
834 | | - filters: [ '#wpTextbox1:not(.toolbar-dialogs)' ], |
835 | | - action: { |
836 | | - type: 'encapsulate', |
837 | | - options: { |
838 | | - pre: "[", |
839 | | - periMsg: 'wikieditor-toolbar-tool-xlink-example', |
840 | | - post: "]" |
| 397 | + }, |
| 398 | + 'insert': { |
| 399 | + labelMsg: 'wikieditor-toolbar-group-insert', |
| 400 | + tools: { |
| 401 | + 'gallery': { |
| 402 | + labelMsg: 'wikieditor-toolbar-tool-gallery', |
| 403 | + type: 'button', |
| 404 | + icon: 'insert-gallery.png', |
| 405 | + offset: [2, -1510], |
| 406 | + action: { |
| 407 | + type: 'encapsulate', |
| 408 | + options: { |
| 409 | + pre: "<gallery>\n", |
| 410 | + periMsg: 'wikieditor-toolbar-tool-gallery-example', |
| 411 | + post: "\n</gallery>", |
| 412 | + ownline: true |
| 413 | + } |
841 | 414 | } |
842 | | - } |
843 | | - }, |
844 | | - 'ilink': { |
845 | | - labelMsg: 'wikieditor-toolbar-tool-ilink', |
846 | | - type: 'button', |
847 | | - icon: 'insert-ilink.png', |
848 | | - offset: [2, -1582], |
849 | | - filters: [ '#wpTextbox1:not(.toolbar-dialogs)' ], |
850 | | - action: { |
851 | | - type: 'encapsulate', |
852 | | - options: { |
853 | | - pre: "[[", |
854 | | - periMsg: 'wikieditor-toolbar-tool-ilink-example', |
855 | | - post: "]]" |
| 415 | + }, |
| 416 | + 'tableCGD': { |
| 417 | + labelMsg: 'wikieditor-toolbar-tool-table', |
| 418 | + type: 'button', |
| 419 | + icon: 'insert-table.png', |
| 420 | + offset: [2, -1942], |
| 421 | + filters: [ '#wpTextbox1.toolbar-dialogs' ], |
| 422 | + action: { |
| 423 | + type: 'dialog', |
| 424 | + module: 'insert-table' |
856 | 425 | } |
857 | | - } |
858 | | - }, |
859 | | - 'linkCGD': { |
860 | | - labelMsg: 'wikieditor-toolbar-tool-link', |
861 | | - type: 'button', |
862 | | - icon: 'insert-link.png', |
863 | | - offset: [2, -1654], |
864 | | - filters: [ '#wpTextbox1.toolbar-dialogs' ], |
865 | | - action: { |
866 | | - type: 'dialog', |
867 | | - module: 'insert-link' |
868 | | - } |
869 | | - }, |
870 | | - 'file': { |
871 | | - labelMsg: 'wikieditor-toolbar-tool-file', |
872 | | - type: 'button', |
873 | | - icon: 'insert-file.png', |
874 | | - offset: [2, -1438], |
875 | | - action: { |
876 | | - type: 'encapsulate', |
877 | | - options: { |
878 | | - // FIXME: Why the hell was this done this way? |
879 | | - preMsg: [ 'wikieditor-toolbar-tool-file-pre', '[[' ], |
880 | | - periMsg: 'wikieditor-toolbar-tool-file-example', |
881 | | - post: "]]" |
| 426 | + }, |
| 427 | + 'table': { |
| 428 | + labelMsg: 'wikieditor-toolbar-tool-table', |
| 429 | + type: 'button', |
| 430 | + icon: 'insert-table.png', |
| 431 | + offset: [2, -1942], |
| 432 | + filters: [ '#wpTextbox1:not(.toolbar-dialogs)' ], |
| 433 | + action: { |
| 434 | + type: 'encapsulate', |
| 435 | + options: { |
| 436 | + pre: "{| class=\"wikitable\" border=\"1\"\n|", |
| 437 | + periMsg: 'wikieditor-toolbar-tool-table-example-old', |
| 438 | + post: "\n|}", |
| 439 | + ownline: true |
| 440 | + } |
882 | 441 | } |
883 | | - } |
884 | | - }, |
885 | | - 'referenceCGD': { |
886 | | - labelMsg: 'wikieditor-toolbar-tool-reference', |
887 | | - type: 'button', |
888 | | - icon: 'insert-reference.png', |
889 | | - offset: [2, -1798], |
890 | | - filters: [ 'body.ns-subject', '#wpTextbox1.toolbar-dialogs' ], |
891 | | - action: { |
892 | | - type: 'dialog', |
893 | | - module: 'insert-reference' |
894 | | - } |
895 | | - }, |
896 | | - 'reference': { |
897 | | - labelMsg: 'wikieditor-toolbar-tool-reference', |
898 | | - filters: [ 'body.ns-subject', '#wpTextbox1:not(.toolbar-dialogs)' ], |
899 | | - type: 'button', |
900 | | - offset: [2, -1798], |
901 | | - icon: 'insert-reference.png', |
902 | | - action: { |
903 | | - type: 'encapsulate', |
904 | | - options: { |
905 | | - pre: "<ref>", |
906 | | - periMsg: 'wikieditor-toolbar-tool-reference-example', |
907 | | - post: "</ref>" |
| 442 | + }, |
| 443 | + 'redirect': { |
| 444 | + labelMsg: 'wikieditor-toolbar-tool-redirect', |
| 445 | + type: 'button', |
| 446 | + icon: 'insert-redirect.png', |
| 447 | + offset: [-70, -142], |
| 448 | + action: { |
| 449 | + type: 'encapsulate', |
| 450 | + options: { |
| 451 | + pre: "#REDIRECT [[", |
| 452 | + periMsg: 'wikieditor-toolbar-tool-redirect-example', |
| 453 | + post: "]]", |
| 454 | + ownline: true |
| 455 | + } |
908 | 456 | } |
909 | 457 | } |
910 | | - }, |
911 | | - 'signature': { |
912 | | - labelMsg: 'wikieditor-toolbar-tool-signature', |
913 | | - filters: [ 'body:not(.ns-0)' ], |
914 | | - type: 'button', |
915 | | - offset: [2, -1872], |
916 | | - icon: 'insert-signature.png', |
917 | | - action: { |
918 | | - type: 'encapsulate', |
919 | | - options: { |
920 | | - post: "--~~~~" |
| 458 | + } |
| 459 | + }, |
| 460 | + 'search': { |
| 461 | + tools: { |
| 462 | + 'replace': { |
| 463 | + labelMsg: 'wikieditor-toolbar-tool-replace', |
| 464 | + type: 'button', |
| 465 | + icon: 'search-replace.png', |
| 466 | + offset: [-70, -214], |
| 467 | + filters: [ '#wpTextbox1.toolbar-dialogs' ], |
| 468 | + action: { |
| 469 | + type: 'dialog', |
| 470 | + module: 'search-and-replace' |
921 | 471 | } |
922 | 472 | } |
923 | 473 | } |
924 | 474 | } |
925 | 475 | } |
926 | | - } |
927 | | - }, |
928 | | - // Format section |
929 | | - 'advanced': { |
930 | | - labelMsg: 'wikieditor-toolbar-section-advanced', |
931 | | - type: 'toolbar', |
932 | | - groups: { |
933 | | - 'heading': { |
934 | | - tools: { |
935 | | - 'heading': { |
936 | | - labelMsg: 'wikieditor-toolbar-tool-heading', |
937 | | - type: 'select', |
938 | | - list: { |
939 | | - 'heading-2' : { |
940 | | - labelMsg: 'wikieditor-toolbar-tool-heading-2', |
941 | | - action: { |
942 | | - type: 'encapsulate', |
943 | | - options: { |
944 | | - pre: '== ', |
945 | | - periMsg: 'wikieditor-toolbar-tool-heading-example', |
946 | | - post: ' ==', |
947 | | - regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
948 | | - regexReplace: "\$1==\$3==\$4", |
949 | | - ownline: true |
950 | | - } |
951 | | - } |
952 | | - }, |
953 | | - 'heading-3' : { |
954 | | - labelMsg: 'wikieditor-toolbar-tool-heading-3', |
955 | | - action: { |
956 | | - type: 'encapsulate', |
957 | | - options: { |
958 | | - pre: '=== ', |
959 | | - periMsg: 'wikieditor-toolbar-tool-heading-example', |
960 | | - post: ' ===', |
961 | | - regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
962 | | - regexReplace: "\$1===\$3===\$4", |
963 | | - ownline: true |
964 | | - } |
965 | | - } |
966 | | - }, |
967 | | - 'heading-4' : { |
968 | | - labelMsg: 'wikieditor-toolbar-tool-heading-4', |
969 | | - action: { |
970 | | - type: 'encapsulate', |
971 | | - options: { |
972 | | - pre: '==== ', |
973 | | - periMsg: 'wikieditor-toolbar-tool-heading-example', |
974 | | - post: ' ====', |
975 | | - regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
976 | | - regexReplace: "\$1====\$3====\$4", |
977 | | - ownline: true |
978 | | - } |
979 | | - } |
980 | | - }, |
981 | | - 'heading-5' : { |
982 | | - labelMsg: 'wikieditor-toolbar-tool-heading-5', |
983 | | - action: { |
984 | | - type: 'encapsulate', |
985 | | - options: { |
986 | | - pre: '===== ', |
987 | | - periMsg: 'wikieditor-toolbar-tool-heading-example', |
988 | | - post: ' =====', |
989 | | - regex: /^(\s*)(={1,6})(.*?)\2(\s*)$/, |
990 | | - regexReplace: "\$1=====\$3=====\$4", |
991 | | - ownline: true |
992 | | - } |
993 | | - } |
| 476 | + }, |
| 477 | + 'characters': { |
| 478 | + labelMsg: 'wikieditor-toolbar-section-characters', |
| 479 | + type: 'booklet', |
| 480 | + deferLoad: true, |
| 481 | + pages: { |
| 482 | + 'latin': { |
| 483 | + 'labelMsg': 'wikieditor-toolbar-characters-page-latin', |
| 484 | + 'layout': 'characters', |
| 485 | + 'characters': [ |
| 486 | + "\u00c1", "\u00e1", "\u00c0", "\u00e0", "\u00c2", "\u00e2", "\u00c4", "\u00e4", "\u00c3", "\u00e3", |
| 487 | + "\u01cd", "\u01ce", "\u0100", "\u0101", "\u0102", "\u0103", "\u0104", "\u0105", "\u00c5", "\u00e5", |
| 488 | + "\u0106", "\u0107", "\u0108", "\u0109", "\u00c7", "\u00e7", "\u010c", "\u010d", "\u010a", "\u010b", |
| 489 | + "\u0110", "\u0111", "\u010e", "\u010f", "\u00c9", "\u00e9", "\u00c8", "\u00e8", "\u00ca", "\u00ea", |
| 490 | + "\u00cb", "\u00eb", "\u011a", "\u011b", "\u0112", "\u0113", "\u0114", "\u0115", "\u0116", "\u0117", |
| 491 | + "\u0118", "\u0119", "\u011c", "\u011d", "\u0122", "\u0123", "\u011e", "\u011f", "\u0120", "\u0121", |
| 492 | + "\u0124", "\u0125", "\u0126", "\u0127", "\u00cd", "\u00ed", "\u00cc", "\u00ec", "\u00ce", "\u00ee", |
| 493 | + "\u00cf", "\u00ef", "\u0128", "\u0129", "\u01cf", "\u01d0", "\u012a", "\u012b", "\u012c", "\u012d", |
| 494 | + "\u0130", "\u0131", "\u012e", "\u012f", "\u0134", "\u0135", "\u0136", "\u0137", "\u0139", "\u013a", |
| 495 | + "\u013b", "\u013c", "\u013d", "\u013e", "\u0141", "\u0142", "\u013f", "\u0140", "\u0143", "\u0144", |
| 496 | + "\u00d1", "\u00f1", "\u0145", "\u0146", "\u0147", "\u0148", "\u00d3", "\u00f3", "\u00d2", "\u00f2", |
| 497 | + "\u00d4", "\u00f4", "\u00d6", "\u00f6", "\u00d5", "\u00f5", "\u01d1", "\u01d2", "\u014c", "\u014d", |
| 498 | + "\u014e", "\u014f", "\u01ea", "\u01eb", "\u0150", "\u0151", "\u0154", "\u0155", "\u0156", "\u0157", |
| 499 | + "\u0158", "\u0159", "\u015a", "\u015b", "\u015c", "\u015d", "\u015e", "\u015f", "\u0160", "\u0161", |
| 500 | + "\u0162", "\u0163", "\u0164", "\u0165", "\u00da", "\u00fa", "\u00d9", "\u00f9", "\u00db", "\u00fb", |
| 501 | + "\u00dc", "\u00fc", "\u0168", "\u0169", "\u016e", "\u016f", "\u01d3", "\u01d4", "\u016a", "\u016b", |
| 502 | + "\u01d6", "\u01d8", "\u01da", "\u01dc", "\u016c", "\u016d", "\u0172", "\u0173", "\u0170", "\u0171", |
| 503 | + "\u0174", "\u0175", "\u00dd", "\u00fd", "\u0176", "\u0177", "\u0178", "\u00ff", "\u0232", "\u0233", |
| 504 | + "\u0179", "\u017a", "\u017d", "\u017e", "\u017b", "\u017c", "\u00c6", "\u00e6", "\u01e2", "\u01e3", |
| 505 | + "\u00d8", "\u00f8", "\u0152", "\u0153", "\u00df", "\u00f0", "\u00de", "\u00fe", "\u018f", "\u0259" |
| 506 | + ] |
| 507 | + }, |
| 508 | + 'latinextended': { |
| 509 | + 'labelMsg': 'wikieditor-toolbar-characters-page-latinextended', |
| 510 | + 'layout': 'characters', |
| 511 | + 'characters': [ |
| 512 | + "\u1e00", "\u1e01", "\u1e9a", "\u1ea0", "\u1ea1", "\u1ea2", "\u1ea3", "\u1ea4", "\u1ea5", "\u1ea6", |
| 513 | + "\u1ea7", "\u1ea8", "\u1ea9", "\u1eaa", "\u1eab", "\u1eac", "\u1ead", "\u1eae", "\u1eaf", "\u1eb0", |
| 514 | + "\u1eb1", "\u1eb2", "\u1eb3", "\u1eb4", "\u1eb5", "\u1eb6", "\u1eb7", "\u1e02", "\u1e03", "\u1e04", |
| 515 | + "\u1e05", "\u1e06", "\u1e07", "\u1e08", "\u1e09", "\u1e0a", "\u1e0b", "\u1e0c", "\u1e0d", "\u1e0e", |
| 516 | + "\u1e0f", "\u1e10", "\u1e11", "\u1e12", "\u1e13", "\u1e14", "\u1e15", "\u1e16", "\u1e17", "\u1e18", |
| 517 | + "\u1e19", "\u1e1a", "\u1e1b", "\u1e1c", "\u1e1d", "\u1eb8", "\u1eb9", "\u1eba", "\u1ebb", "\u1ebc", |
| 518 | + "\u1ebd", "\u1ebe", "\u1ebf", "\u1ec0", "\u1ec1", "\u1ec2", "\u1ec3", "\u1ec4", "\u1ec5", "\u1ec6", |
| 519 | + "\u1ec7", "\u1e1e", "\u1e1f", "\u1e20", "\u1e21", "\u1e22", "\u1e23", "\u1e24", "\u1e25", "\u1e26", |
| 520 | + "\u1e27", "\u1e28", "\u1e29", "\u1e2a", "\u1e2b", "\u1e96", "\u1e2c", "\u1e2d", "\u1e2e", "\u1e2f", |
| 521 | + "\u1ec8", "\u1ec9", "\u1eca", "\u1ecb", "\u1e30", "\u1e31", "\u1e32", "\u1e33", "\u1e34", "\u1e35", |
| 522 | + "\u1e36", "\u1e37", "\u1e38", "\u1e39", "\u1e3a", "\u1e3b", "\u1e3c", "\u1e3d", "\u1efa", "\u1efb", |
| 523 | + "\u1e3e", "\u1e3f", "\u1e40", "\u1e41", "\u1e42", "\u1e43", "\u1e44", "\u1e45", "\u1e46", "\u1e47", |
| 524 | + "\u1e48", "\u1e49", "\u1e4a", "\u1e4b", "\u1e4c", "\u1e4d", "\u1e4e", "\u1e4f", "\u1e50", "\u1e51", |
| 525 | + "\u1e52", "\u1e53", "\u1ecc", "\u1ecd", "\u1ece", "\u1ecf", "\u1ed0", "\u1ed1", "\u1ed2", "\u1ed3", |
| 526 | + "\u1ed4", "\u1ed5", "\u1ed6", "\u1ed7", "\u1ed8", "\u1ed9", "\u1eda", "\u1edb", "\u1edc", "\u1edd", |
| 527 | + "\u1ede", "\u1edf", "\u1ee0", "\u1ee1", "\u1ee2", "\u1ee3", "\u1e54", "\u1e55", "\u1e56", "\u1e57", |
| 528 | + "\u1e58", "\u1e59", "\u1e5a", "\u1e5b", "\u1e5c", "\u1e5d", "\u1e5e", "\u1e5f", "\u1e60", "\u1e61", |
| 529 | + "\u1e9b", "\u1e62", "\u1e63", "\u1e64", "\u1e65", "\u1e66", "\u1e67", "\u1e68", "\u1e69", "\u1e9c", |
| 530 | + "\u1e9d", "\u1e6a", "\u1e6b", "\u1e6c", "\u1e6d", "\u1e6e", "\u1e6f", "\u1e70", "\u1e71", "\u1e97", |
| 531 | + "\u1e72", "\u1e73", "\u1e74", "\u1e75", "\u1e76", "\u1e77", "\u1e78", "\u1e79", "\u1e7a", "\u1e7b", |
| 532 | + "\u1ee4", "\u1ee5", "\u1ee6", "\u1ee7", "\u1ee8", "\u1ee9", "\u1eea", "\u1eeb", "\u1eec", "\u1eed", |
| 533 | + "\u1eee", "\u1eef", "\u1ef0", "\u1ef1", "\u1e7c", "\u1e7d", "\u1e7e", "\u1e7f", "\u1efc", "\u1efd", |
| 534 | + "\u1e80", "\u1e81", "\u1e82", "\u1e83", "\u1e84", "\u1e85", "\u1e86", "\u1e87", "\u1e88", "\u1e89", |
| 535 | + "\u1e98", "\u1e8a", "\u1e8b", "\u1e8c", "\u1e8d", "\u1e8e", "\u1e8f", "\u1e99", "\u1ef2", "\u1ef3", |
| 536 | + "\u1ef4", "\u1ef5", "\u1ef6", "\u1ef7", "\u1ef8", "\u1ef9", "\u1efe", "\u1eff", "\u1e90", "\u1e91", |
| 537 | + "\u1e92", "\u1e93", "\u1e94", "\u1e95", "\u1e9e", "\u1e9f" |
| 538 | + ] |
| 539 | + }, |
| 540 | + 'ipa': { |
| 541 | + labelMsg: 'wikieditor-toolbar-characters-page-ipa', |
| 542 | + layout: 'characters', |
| 543 | + characters: [ |
| 544 | + "p", "t\u032a", "t", "\u0288", "c", "k", "q", "\u02a1", "\u0294", "b","d\u032a", "d", "\u0256", |
| 545 | + "\u025f", "\u0261", "\u0262", "\u0253", "\u0257", "\u0284", "\u0260", "\u029b", "t\u0361s", |
| 546 | + "t\u0361\u0283", "t\u0361\u0255", "d\u0361z", "d\u0361\u0292", "d\u0361\u0291", "\u0278", "f", |
| 547 | + "\u03b8", "s", "\u0283", "\u0285", "\u0286", "\u0282", "\u0255", "\u00e7", "\u0267", "x", "\u03c7", |
| 548 | + "\u0127", "\u029c", "h", "\u03b2", "v", "\u028d", "\u00f0", "z", "\u0292", "\u0293", "\u0290", |
| 549 | + "\u0291", "\u029d", "\u0263", "\u0281", "\u0295", "\u0296", "\u02a2", "\u0266", "\u026c", "\u026e", |
| 550 | + "m", "m\u0329", "\u0271", "\u0271\u0329", "\u0271\u030d", "n\u032a", "n\u032a\u030d", "n", |
| 551 | + "n\u0329", "\u0273", "\u0273\u0329", "\u0272", "\u0272\u0329", "\u014b", "\u014b\u030d", |
| 552 | + "\u014b\u0329", "\u0274", "\u0274\u0329", "\u0299", "\u0299\u0329", "r", "r\u0329", "\u0280", |
| 553 | + "\u0280\u0329", "\u027e", "\u027d", "\u027f", "\u027a", "l\u032a", "l\u032a\u0329", "l", "l\u0329", |
| 554 | + "\u026b", "\u026b\u0329", "\u026d", "\u026d\u0329", "\u028e", "\u028e\u0329", "\u029f", |
| 555 | + "\u029f\u0329", "w", "\u0265", "\u028b", "\u0279", "\u027b", "j", "\u0270", "\u0298", "\u01c2", |
| 556 | + "\u01c0", "!", "\u01c1", "\u02b0", "\u02b1", "\u02b7", "\u02b8", "\u02b2", "\u02b3", "\u207f", |
| 557 | + "\u02e1", "\u02b4", "\u02b5", "\u02e2", "\u02e3", "\u02e0", "\u02b6", "\u02e4", "\u02c1", "\u02c0", |
| 558 | + "\u02bc", "i", "i\u032f", "\u0129", "y", "y\u032f", "\u1ef9", "\u026a", "\u026a\u032f", |
| 559 | + "\u026a\u0303", "\u028f", "\u028f\u032f", "\u028f\u0303", "\u0268", "\u0268\u032f", "\u0268\u0303", |
| 560 | + "\u0289", "\u0289\u032f", "\u0289\u0303", "\u026f", "\u026f\u032f", "\u026f\u0303", "u", "u\u032f", |
| 561 | + "\u0169", "\u028a", "\u028a\u032f", "\u028a\u0303", "e", "e\u032f", "\u1ebd", "\u00f8", |
| 562 | + "\u00f8\u032f", "\u00f8\u0303", "\u0258", "\u0258\u032f", "\u0258\u0303", "\u0275", "\u0275\u032f", |
| 563 | + "\u0275\u0303", "\u0264", "\u0264\u032f", "\u0264\u0303", "o", "o\u032f", "\u00f5", "\u025b", |
| 564 | + "\u025b\u032f", "\u025b\u0303", "\u0153", "\u0153\u032f", "\u0153\u0303", "\u025c", "\u025c\u032f", |
| 565 | + "\u025c\u0303", "\u0259", "\u0259\u032f", "\u0259\u0303", "\u025e", "\u025e\u032f", "\u025e\u0303", |
| 566 | + "\u028c", "\u028c\u032f", "\u028c\u0303", "\u0254", "\u0254\u032f", "\u0254\u0303", "\u00e6", |
| 567 | + "\u00e6\u032f", "\u00e6\u0303", "\u0276", "\u0276\u032f", "\u0276\u0303", "a", "a\u032f", "\u00e3", |
| 568 | + "\u0250", "\u0250\u032f", "\u0250\u0303", "\u0251", "\u0251\u032f", "\u0251\u0303", "\u0252", |
| 569 | + "\u0252\u032f", "\u0252\u0303", "\u02c8", "\u02cc", "\u02d0", "\u02d1", "\u02d8", ".", "\u203f", |
| 570 | + "|", "\u2016" |
| 571 | + ] |
| 572 | + }, |
| 573 | + 'symbols': { |
| 574 | + 'labelMsg': 'wikieditor-toolbar-characters-page-symbols', |
| 575 | + 'layout': 'characters', |
| 576 | + 'characters': [ |
| 577 | + "~", "|", "\u00a1", "\u00bf", "\u2020", "\u2021", "\u2194", "\u2191", "\u2193", "\u2022", "\u00b6", |
| 578 | + "#", "\u00bd", "\u2153", "\u2154", "\u00bc", "\u00be", "\u215b", "\u215c", "\u215d", "\u215e", |
| 579 | + "\u221e", "\u2018", "\u201e", "\u201c", "\u2019", "\u201d", |
| 580 | + { |
| 581 | + 'label': "\u00ab\u00bb", |
| 582 | + 'action': { |
| 583 | + 'type': 'encapsulate', 'options': { 'pre': "\u00ab", 'post': "\u00bb" } |
994 | 584 | } |
995 | | - } |
996 | | - } |
| 585 | + }, |
| 586 | + "\u00a4", "\u20b3", "\u0e3f", "\u20b5", "\u00a2", "\u20a1", "\u20a2", "$", "\u20ab", "\u20af", |
| 587 | + "\u20ac", "\u20a0", "\u20a3", "\u0192", "\u20b4", "\u20ad", "\u20a4", "\u2133", "\u20a5", "\u20a6", |
| 588 | + "\u2116", "\u20a7", "\u20b0", "\u00a3", "\u17db", "\u20a8", "\u20aa", "\u09f3", "\u20ae", "\u20a9", |
| 589 | + "\u00a5", "\u2660", "\u2663", "\u2665", "\u2666", "m\u00b2", "m\u00b3", "\u2013", "\u2014", |
| 590 | + "\u2026", "\u2018", "\u201c", "\u2019", "\u201d", "\u00b0", "\u2033", "\u2032", "\u2248", "\u2260", |
| 591 | + "\u2264", "\u2265", "\u00b1", "\u2212", "\u00d7", "\u00f7", "\u2190", "\u2192", "\u00b7", "\u00a7" |
| 592 | + ] |
| 593 | + }, |
| 594 | + 'greek': { |
| 595 | + 'labelMsg': 'wikieditor-toolbar-characters-page-greek', |
| 596 | + 'layout': 'characters', |
| 597 | + 'language': 'hl', |
| 598 | + 'characters': [ |
| 599 | + "\u0391", "\u0386", "\u03b1", "\u03ac", "\u0392", "\u03b2", "\u0393", "\u03b3", "\u0394", "\u03b4", |
| 600 | + "\u0395", "\u0388", "\u03b5", "\u03ad", "\u0396", "\u03b6", "\u0397", "\u0389", "\u03b7", "\u03ae", |
| 601 | + "\u0398", "\u03b8", "\u0399", "\u038a", "\u03b9", "\u03af", "\u039a", "\u03ba", "\u039b", "\u03bb", |
| 602 | + "\u039c", "\u03bc", "\u039d", "\u03bd", "\u039e", "\u03be", "\u039f", "\u038c", "\u03bf", "\u03cc", |
| 603 | + "\u03a0", "\u03c0", "\u03a1", "\u03c1", "\u03a3", "\u03c3", "\u03c2", "\u03a4", "\u03c4", "\u03a5", |
| 604 | + "\u038e", "\u03c5", "\u03cd", "\u03a6", "\u03c6", "\u03a7", "\u03c7", "\u03a8", "\u03c8", "\u03a9", |
| 605 | + "\u038f", "\u03c9", "\u03ce" |
| 606 | + ] |
| 607 | + }, |
| 608 | + 'cyrillic': { |
| 609 | + 'labelMsg': 'wikieditor-toolbar-characters-page-cyrillic', |
| 610 | + 'layout': 'characters', |
| 611 | + 'characters': [ |
| 612 | + "\u0410", "\u0430", "\u04d8", "\u04d9", "\u0411", "\u0431", "\u0412", "\u0432", "\u0413", "\u0433", |
| 613 | + "\u0490", "\u0491", "\u0403", "\u0453", "\u0492", "\u0493", "\u0414", "\u0434", "\u0402", "\u0452", |
| 614 | + "\u0415", "\u0435", "\u0404", "\u0454", "\u0401", "\u0451", "\u0416", "\u0436", "\u0417", "\u0437", |
| 615 | + "\u0405", "\u0455", "\u0418", "\u0438", "\u0406", "\u0456", "\u0407", "\u0457", "\u0130", "\u0419", |
| 616 | + "\u0439", "\u04e2", "\u04e3", "\u0408", "\u0458", "\u041a", "\u043a", "\u040c", "\u045c", "\u049a", |
| 617 | + "\u049b", "\u041b", "\u043b", "\u0409", "\u0459", "\u041c", "\u043c", "\u041d", "\u043d", "\u040a", |
| 618 | + "\u045a", "\u04a2", "\u04a3", "\u041e", "\u043e", "\u04e8", "\u04e9", "\u041f", "\u043f", "\u0420", |
| 619 | + "\u0440", "\u0421", "\u0441", "\u0422", "\u0442", "\u040b", "\u045b", "\u0423", "\u0443", "\u040e", |
| 620 | + "\u045e", "\u04ee", "\u04ef", "\u04b0", "\u04b1", "\u04ae", "\u04af", "\u0424", "\u0444", "\u0425", |
| 621 | + "\u0445", "\u04b2", "\u04b3", "\u04ba", "\u04bb", "\u0426", "\u0446", "\u0427", "\u0447", "\u04b6", |
| 622 | + "\u04b7", "\u040f", "\u045f", "\u0428", "\u0448", "\u0429", "\u0449", "\u042a", "\u044a", "\u042b", |
| 623 | + "\u044b", "\u042c", "\u044c", "\u042d", "\u044d", "\u042e", "\u044e", "\u042f", "\u044f" |
| 624 | + ] |
| 625 | + }, |
| 626 | + 'arabic': { |
| 627 | + 'labelMsg': 'wikieditor-toolbar-characters-page-arabic', |
| 628 | + 'layout': 'characters', |
| 629 | + 'language': 'ar', |
| 630 | + 'direction': 'rtl', |
| 631 | + 'characters': [ |
| 632 | + "\u061b", "\u061f", "\u0621", "\u0622", "\u0623", "\u0624", "\u0625", "\u0626", "\u0627", "\u0628", |
| 633 | + "\u0629", "\u062a", "\u062b", "\u062c", "\u062d", "\u062e", "\u062f", "\u0630", "\u0631", "\u0632", |
| 634 | + "\u0633", "\u0634", "\u0635", "\u0636", "\u0637", "\u0638", "\u0639", "\u063a", "\u0641", "\u0642", |
| 635 | + "\u0643", "\u0644", "\u0645", "\u0646", "\u0647", "\u0648", "\u0649", "\u064a", "\u060c", "\u067e", |
| 636 | + "\u0686", "\u0698", "\u06af", "\u06ad" |
| 637 | + ] |
| 638 | + }, |
| 639 | + 'hebrew': { |
| 640 | + 'labelMsg': 'wikieditor-toolbar-characters-page-hebrew', |
| 641 | + 'layout': 'characters', |
| 642 | + 'direction': 'rtl', |
| 643 | + 'characters': [ |
| 644 | + "\u05d0", "\u05d1", "\u05d2", "\u05d3", "\u05d4", "\u05d5", "\u05d6", "\u05d7", "\u05d8", "\u05d9", |
| 645 | + "\u05db", "\u05da", "\u05dc", "\u05de", "\u05dd", "\u05e0", "\u05df", "\u05e1", "\u05e2", "\u05e4", |
| 646 | + "\u05e3", "\u05e6", "\u05e5", "\u05e7", "\u05e8", "\u05e9", "\u05ea", "\u05f3", "\u05f4", "\u05f0", |
| 647 | + "\u05f1", "\u05f2", "\u05d0", "\u05d3", "\u05d4", "\u05d5", "\u05d6", "\u05d7", "\u05d8", "\u05d9", |
| 648 | + "\u05da", "\u05db", "\u05dc", "\u05dd", "\u05de", "\u05df", "\u05e0", "\u05e1", "\u05e2", "\u05e3", |
| 649 | + "\u05e4", "\u05be", "\u05f3", "\u05f4", |
| 650 | + [ "\u05b0\u25cc", "\u05b0" ], [ "\u05b1\u25cc", "\u05b1" ], [ "\u05b2\u25cc", "\u05b2" ], |
| 651 | + [ "\u05b3\u25cc", "\u05b3" ], [ "\u05b4\u25cc", "\u05b4" ], [ "\u05b5\u25cc", "\u05b5" ], |
| 652 | + [ "\u05b6\u25cc", "\u05b6" ], [ "\u05b7\u25cc", "\u05b7" ], [ "\u05b8\u25cc", "\u05b8" ], |
| 653 | + [ "\u05b9\u25cc", "\u05b9" ], [ "\u05bb\u25cc", "\u05bb" ], [ "\u05bc\u25cc", "\u05bc" ], |
| 654 | + [ "\u05c1\u25cc", "\u05c1" ], [ "\u05c2\u25cc", "\u05c2" ], [ "\u05c7\u25cc", "\u05c7" ], |
| 655 | + [ "\u0591\u25cc", "\u0591" ], [ "\u0592\u25cc", "\u0592" ], [ "\u0593\u25cc", "\u0593" ], |
| 656 | + [ "\u0594\u25cc", "\u0594" ], [ "\u0595\u25cc", "\u0595" ], [ "\u0596\u25cc", "\u0596" ], |
| 657 | + [ "\u0597\u25cc", "\u0597" ], [ "\u0598\u25cc", "\u0598" ], [ "\u0599\u25cc", "\u0599" ], |
| 658 | + [ "\u059a\u25cc", "\u059a" ], [ "\u059b\u25cc", "\u059b" ], [ "\u059c\u25cc", "\u059c" ], |
| 659 | + [ "\u059d\u25cc", "\u059d" ], [ "\u059e\u25cc", "\u059e" ], [ "\u059f\u25cc", "\u059f" ], |
| 660 | + [ "\u05a0\u25cc", "\u05a0" ], [ "\u05a1\u25cc", "\u05a1" ], [ "\u05a2\u25cc", "\u05a2" ], |
| 661 | + [ "\u05a3\u25cc", "\u05a3" ], [ "\u05a4\u25cc", "\u05a4" ], [ "\u05a5\u25cc", "\u05a5" ], |
| 662 | + [ "\u05a6\u25cc", "\u05a6" ], [ "\u05a7\u25cc", "\u05a7" ], [ "\u05a8\u25cc", "\u05a8" ], |
| 663 | + [ "\u05a9\u25cc", "\u05a9" ], [ "\u05aa\u25cc", "\u05aa" ], [ "\u05ab\u25cc", "\u05ab" ], |
| 664 | + [ "\u05ac\u25cc", "\u05ac" ], [ "\u05ad\u25cc", "\u05ad" ], [ "\u05ae\u25cc", "\u05ae" ], |
| 665 | + [ "\u05af\u25cc", "\u05af" ], [ "\u05bf\u25cc", "\u05bf" ], [ "\u05c0\u25cc", "\u05c0" ], |
| 666 | + [ "\u05c3\u25cc", "\u05c3" ] |
| 667 | + ] |
| 668 | + }, |
| 669 | + 'bangla': { |
| 670 | + 'labelMsg': 'wikieditor-toolbar-characters-page-bangla', |
| 671 | + 'language': 'bn', |
| 672 | + 'layout': 'characters', |
| 673 | + 'characters': [ |
| 674 | + "\u0985", "\u0986", "\u0987", "\u0988", "\u0989", "\u098a", "\u098b", "\u098f", "\u0990", "\u0993", |
| 675 | + "\u0994", "\u09be", "\u09bf", "\u09c0", "\u09c1", "\u09c2", "\u09c3", "\u09c7", "\u09c8", "\u09cb", |
| 676 | + "\u09cc", "\u0995", "\u0996", "\u0997", "\u0998", "\u0999", "\u099a", "\u099b", "\u099c", "\u099d", |
| 677 | + "\u099e", "\u099f", "\u09a0", "\u09a1", "\u09a2", "\u09a3", "\u09a4", "\u09a5", "\u09a6", "\u09a7", |
| 678 | + "\u09a8", "\u09aa", "\u09ab", "\u09ac", "\u09ad", "\u09ae", "\u09af", "\u09b0", "\u09b2", "\u09b6", |
| 679 | + "\u09b7", "\u09b8", "\u09b9", "\u09a1\u09bc", "\u09a2\u09bc", "\u09af\u09bc", "\u09ce", "\u0982", |
| 680 | + "\u0983", "\u0981", "\u09cd", "\u09e7", "\u09e8", "\u09e9", "\u09ea", "\u09eb", "\u09ec", "\u09ed", |
| 681 | + "\u09ee", "\u09ef", "\u09e6" |
| 682 | + ] |
| 683 | + }, |
| 684 | + 'telugu': { |
| 685 | + 'labelMsg': 'wikieditor-toolbar-characters-page-telugu', |
| 686 | + 'language': 'te', |
| 687 | + 'layout': 'characters', |
| 688 | + 'characters': [ |
| 689 | + "\u0c01", "\u0c02", "\u0c03", "\u0c05", "\u0c06", "\u0c07", "\u0c08", "\u0c09", "\u0c0a", "\u0c0b", |
| 690 | + "\u0c60", "\u0c0c", "\u0c61", "\u0c0e", "\u0c0f", "\u0c10", "\u0c12", "\u0c13", "\u0c14", "\u0c15", |
| 691 | + "\u0c16", "\u0c17", "\u0c18", "\u0c19", "\u0c1a", "\u0c1b", "\u0c1c", "\u0c1d", "\u0c1e", "\u0c1f", |
| 692 | + "\u0c20", "\u0c21", "\u0c22", "\u0c23", "\u0c24", "\u0c25", "\u0c26", "\u0c27", "\u0c28", "\u0c2a", |
| 693 | + "\u0c2b", "\u0c2c", "\u0c2d", "\u0c2e", "\u0c2f", "\u0c30", "\u0c31", "\u0c32", "\u0c33", "\u0c35", |
| 694 | + "\u0c36", "\u0c37", "\u0c38", "\u0c39", "\u0c3e", "\u0c3f", "\u0c40", "\u0c41", "\u0c42", "\u0c43", |
| 695 | + "\u0c44", "\u0c46", "\u0c47", "\u0c48", "\u0c4a", "\u0c4b", "\u0c4c", "\u0c4d", "\u0c62", "\u0c63", |
| 696 | + "\u0c58", "\u0c59", "\u0c66", "\u0c67", "\u0c68", "\u0c69", "\u0c6a", "\u0c6b", "\u0c6c", "\u0c6d", |
| 697 | + "\u0c6e", "\u0c6f", "\u0c3d", "\u0c78", "\u0c79", "\u0c7a", "\u0c7b", "\u0c7c", "\u0c7d", "\u0c7e", |
| 698 | + "\u0c7f" |
| 699 | + ] |
| 700 | + }, |
| 701 | + 'sinhala': { |
| 702 | + 'labelMsg': 'wikieditor-toolbar-characters-page-sinhala', |
| 703 | + 'language': 'si', |
| 704 | + 'layout': 'characters', |
| 705 | + 'characters': [ |
| 706 | + "\u0d85", "\u0d86", "\u0d87", "\u0d88", "\u0d89", "\u0d8a", "\u0d8b", "\u0d8c", "\u0d8d", "\u0d8e", |
| 707 | + "\u0d8f", "\u0d90", "\u0d91", "\u0d92", "\u0d93", "\u0d94", "\u0d95", "\u0d96", "\u0d9a", "\u0d9b", |
| 708 | + "\u0d9c", "\u0d9d", "\u0d9e", "\u0d9f", "\u0da0", "\u0da1", "\u0da2", "\u0da3", "\u0da4", "\u0da5", |
| 709 | + "\u0da6", "\u0da7", "\u0da8", "\u0da9", "\u0daa", "\u0dab", "\u0dac", "\u0dad", "\u0dae", "\u0daf", |
| 710 | + "\u0db0", "\u0db1", "\u0db3", "\u0db4", "\u0db5", "\u0db6", "\u0db7", "\u0db8", "\u0db9", "\u0dba", |
| 711 | + "\u0dbb", "\u0dbd", "\u0dc0", "\u0dc1", "\u0dc2", "\u0dc3", "\u0dc4", "\u0dc5", "\u0dc6", |
| 712 | + [ "\u25cc\u0dcf", "\u0dcf" ], [ "\u25cc\u0dd0", "\u0dd0" ], [ "\u25cc\u0dd1", "\u0dd1" ], |
| 713 | + [ "\u25cc\u0dd2", "\u0dd2" ], [ "\u25cc\u0dd3", "\u0dd3" ], [ "\u25cc\u0dd4", "\u0dd4" ], |
| 714 | + [ "\u25cc\u0dd6", "\u0dd6" ], [ "\u25cc\u0dd8", "\u0dd8" ], [ "\u25cc\u0df2", "\u0df2" ], |
| 715 | + [ "\u25cc\u0ddf", "\u0ddf" ], [ "\u25cc\u0df3", "\u0df3" ], [ "\u25cc\u0dd9", "\u0dd9" ], |
| 716 | + [ "\u25cc\u0dda", "\u0dda" ], [ "\u25cc\u0ddc", "\u0ddc" ], [ "\u25cc\u0ddd", "\u0ddd" ], |
| 717 | + [ "\u25cc\u0dde", "\u0dde" ], [ "\u25cc\u0dca", "\u0dca" ] |
| 718 | + ] |
| 719 | + }, |
| 720 | + 'gujarati': { |
| 721 | + 'labelMsg': 'wikieditor-toolbar-characters-page-gujarati', |
| 722 | + 'language': 'gu', |
| 723 | + 'layout': 'characters', |
| 724 | + 'characters': [ |
| 725 | + "\u0ad0", "\u0a85", "\u0a86", "\u0a87", "\u0a88", "\u0a89", "\u0a8a", "\u0a8b", "\u0ae0", "\u0a8c", |
| 726 | + "\u0ae1", "\u0a8d", "\u0a8f", "\u0a90", "\u0a91", "\u0a93", "\u0a94", "\u0a95", "\u0a96", "\u0a97", |
| 727 | + "\u0a98", "\u0a99", "\u0a9a", "\u0a9b", "\u0a9c", "\u0a9d", "\u0a9e", "\u0a9f", "\u0aa0", "\u0aa1", |
| 728 | + "\u0aa2", "\u0aa3", "\u0aa4", "\u0aa5", "\u0aa6", "\u0aa7", "\u0aa8", "\u0aaa", "\u0aab", "\u0aac", |
| 729 | + "\u0aad", "\u0aae", "\u0aaf", "\u0ab0", "\u0ab2", "\u0ab5", "\u0ab6", "\u0ab7", "\u0ab8", "\u0ab9", |
| 730 | + "\u0ab3", "\u0abd", [ "\u25cc\u0abe", "\u0abe" ], [ "\u25cc\u0abf", "\u0abf" ], |
| 731 | + [ "\u25cc\u0ac0", "\u0ac0" ], [ "\u25cc\u0ac1", "\u0ac1" ], [ "\u25cc\u0ac2", "\u0ac2" ], |
| 732 | + [ "\u25cc\u0ac3", "\u0ac3" ], [ "\u25cc\u0ac4", "\u0ac4" ], [ "\u25cc\u0ae2", "\u0ae2" ], |
| 733 | + [ "\u25cc\u0ae3", "\u0ae3" ], [ "\u25cc\u0ac5", "\u0ac5" ], [ "\u25cc\u0ac7", "\u0ac7" ], |
| 734 | + [ "\u25cc\u0ac8", "\u0ac8" ], [ "\u25cc\u0ac9", "\u0ac9" ], [ "\u25cc\u0acb", "\u0acb" ], |
| 735 | + [ "\u25cc\u0acc", "\u0acc" ], [ "\u25cc\u0acd", "\u0acd" ] |
| 736 | + ] |
997 | 737 | } |
998 | | - }, |
999 | | - 'format': { |
1000 | | - labelMsg: 'wikieditor-toolbar-group-format', |
1001 | | - tools: { |
1002 | | - 'ulist': { |
1003 | | - labelMsg: 'wikieditor-toolbar-tool-ulist', |
1004 | | - type: 'button', |
1005 | | - icon: 'format-ulist.png', |
1006 | | - offset: [2, -1366], |
1007 | | - action: { |
1008 | | - type: 'encapsulate', |
1009 | | - options: { |
1010 | | - pre: "* ", |
1011 | | - periMsg: 'wikieditor-toolbar-tool-ulist-example', |
1012 | | - post: "", |
1013 | | - ownline: true |
1014 | | - } |
| 738 | + } |
| 739 | + }, |
| 740 | + 'help': { |
| 741 | + labelMsg: 'wikieditor-toolbar-section-help', |
| 742 | + type: 'booklet', |
| 743 | + deferLoad: true, |
| 744 | + pages: { |
| 745 | + 'format': { |
| 746 | + labelMsg: 'wikieditor-toolbar-help-page-format', |
| 747 | + layout: 'table', |
| 748 | + headings: [ |
| 749 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 750 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 751 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 752 | + ], |
| 753 | + rows: [ |
| 754 | + { |
| 755 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-italic-description' }, |
| 756 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-italic-syntax' }, |
| 757 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-italic-result' } |
| 758 | + }, |
| 759 | + { |
| 760 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-bold-description' }, |
| 761 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-bold-syntax' }, |
| 762 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-bold-result' } |
| 763 | + }, |
| 764 | + { |
| 765 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-description' }, |
| 766 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-syntax' }, |
| 767 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-result' } |
1015 | 768 | } |
1016 | | - }, |
1017 | | - 'olist': { |
1018 | | - labelMsg: 'wikieditor-toolbar-tool-olist', |
1019 | | - type: 'button', |
1020 | | - icon: 'format-olist.png', |
1021 | | - offset: [2, -1078], |
1022 | | - action: { |
1023 | | - type: 'encapsulate', |
1024 | | - options: { |
1025 | | - pre: "# ", |
1026 | | - periMsg: 'wikieditor-toolbar-tool-olist-example', |
1027 | | - post: "", |
1028 | | - ownline: true |
1029 | | - } |
| 769 | + ] |
| 770 | + }, |
| 771 | + 'link': { |
| 772 | + labelMsg: 'wikieditor-toolbar-help-page-link', |
| 773 | + layout: 'table', |
| 774 | + headings: [ |
| 775 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 776 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 777 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 778 | + ], |
| 779 | + rows: [ |
| 780 | + { |
| 781 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-description' }, |
| 782 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-syntax' }, |
| 783 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-result' } |
| 784 | + }, |
| 785 | + { |
| 786 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-description' }, |
| 787 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-syntax' }, |
| 788 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-result' } |
1030 | 789 | } |
1031 | | - }, |
1032 | | - 'indent': { |
1033 | | - labelMsg: 'wikieditor-toolbar-tool-indent', |
1034 | | - type: 'button', |
1035 | | - icon: 'format-indent.png', |
1036 | | - offset: [2, -646], |
1037 | | - action: { |
1038 | | - type: 'encapsulate', |
1039 | | - options: { |
1040 | | - pre: ":", |
1041 | | - periMsg: 'wikieditor-toolbar-tool-indent-example', |
1042 | | - post: "", |
1043 | | - ownline: true, |
1044 | | - splitlines: true |
1045 | | - } |
| 790 | + ] |
| 791 | + }, |
| 792 | + 'heading': { |
| 793 | + labelMsg: 'wikieditor-toolbar-help-page-heading', |
| 794 | + layout: 'table', |
| 795 | + headings: [ |
| 796 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 797 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 798 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 799 | + ], |
| 800 | + rows: [ |
| 801 | + { |
| 802 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-description' }, |
| 803 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-syntax' }, |
| 804 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-result' } |
| 805 | + }, |
| 806 | + { |
| 807 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-description' }, |
| 808 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-syntax' }, |
| 809 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-result' } |
| 810 | + }, |
| 811 | + { |
| 812 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-description' }, |
| 813 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-syntax' }, |
| 814 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-result' } |
| 815 | + }, |
| 816 | + { |
| 817 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-description' }, |
| 818 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-syntax' }, |
| 819 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-result' } |
| 820 | + }, |
| 821 | + { |
| 822 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-description' }, |
| 823 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-syntax' }, |
| 824 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-result' } |
1046 | 825 | } |
1047 | | - }, |
1048 | | - 'nowiki': { |
1049 | | - labelMsg: 'wikieditor-toolbar-tool-nowiki', |
1050 | | - type: 'button', |
1051 | | - icon: 'insert-nowiki.png', |
1052 | | - offset: [-70, -70], |
1053 | | - action: { |
1054 | | - type: 'encapsulate', |
1055 | | - options: { |
1056 | | - pre: "<nowiki>", |
1057 | | - periMsg: 'wikieditor-toolbar-tool-nowiki-example', |
1058 | | - post: "</nowiki>" |
1059 | | - } |
| 826 | + ] |
| 827 | + }, |
| 828 | + 'list': { |
| 829 | + labelMsg: 'wikieditor-toolbar-help-page-list', |
| 830 | + layout: 'table', |
| 831 | + headings: [ |
| 832 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 833 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 834 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 835 | + ], |
| 836 | + rows: [ |
| 837 | + { |
| 838 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-description' }, |
| 839 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-syntax' }, |
| 840 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-result' } |
| 841 | + }, |
| 842 | + { |
| 843 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-olist-description' }, |
| 844 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-olist-syntax' }, |
| 845 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-olist-result' } |
1060 | 846 | } |
1061 | | - }, |
1062 | | - 'newline': { |
1063 | | - labelMsg: 'wikieditor-toolbar-tool-newline', |
1064 | | - type: 'button', |
1065 | | - icon: 'insert-newline.png', |
1066 | | - offset: [2, -1726], |
1067 | | - action: { |
1068 | | - type: 'encapsulate', |
1069 | | - options: { |
1070 | | - pre: "<br />\n" |
1071 | | - } |
| 847 | + ] |
| 848 | + }, |
| 849 | + 'file': { |
| 850 | + labelMsg: 'wikieditor-toolbar-help-page-file', |
| 851 | + layout: 'table', |
| 852 | + headings: [ |
| 853 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 854 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 855 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 856 | + ], |
| 857 | + rows: [ |
| 858 | + { |
| 859 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-file-description' }, |
| 860 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-file-syntax' }, |
| 861 | + 'result': { htmlMsg: [ 'wikieditor-toolbar-help-content-file-result', stylepath ] } |
1072 | 862 | } |
1073 | | - } |
1074 | | - } |
1075 | | - }, |
1076 | | - 'size': { |
1077 | | - tools: { |
1078 | | - 'big': { |
1079 | | - labelMsg: 'wikieditor-toolbar-tool-big', |
1080 | | - type: 'button', |
1081 | | - icon: 'format-big.png', |
1082 | | - offset: [2, 2], |
1083 | | - action: { |
1084 | | - type: 'encapsulate', |
1085 | | - options: { |
1086 | | - pre: "<big>", |
1087 | | - periMsg: 'wikieditor-toolbar-tool-big-example', |
1088 | | - post: "</big>" |
1089 | | - } |
| 863 | + ] |
| 864 | + }, |
| 865 | + 'reference': { |
| 866 | + labelMsg: 'wikieditor-toolbar-help-page-reference', |
| 867 | + layout: 'table', |
| 868 | + headings: [ |
| 869 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 870 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 871 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 872 | + ], |
| 873 | + rows: [ |
| 874 | + { |
| 875 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-reference-description' }, |
| 876 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-reference-syntax' }, |
| 877 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-reference-result' } |
| 878 | + }, |
| 879 | + { |
| 880 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-description' }, |
| 881 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-syntax' }, |
| 882 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-result' } |
| 883 | + }, |
| 884 | + { |
| 885 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-description' }, |
| 886 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-syntax' }, |
| 887 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-result' } |
1090 | 888 | } |
1091 | | - }, |
1092 | | - 'small': { |
1093 | | - labelMsg: 'wikieditor-toolbar-tool-small', |
1094 | | - type: 'button', |
1095 | | - icon: 'format-small.png', |
1096 | | - offset: [2, -1150], |
1097 | | - action: { |
1098 | | - type: 'encapsulate', |
1099 | | - options: { |
1100 | | - pre: "<small>", |
1101 | | - periMsg: 'wikieditor-toolbar-tool-small-example', |
1102 | | - post: "</small>" |
1103 | | - } |
| 889 | + ] |
| 890 | + }, |
| 891 | + 'discussion': { |
| 892 | + labelMsg: 'wikieditor-toolbar-help-page-discussion', |
| 893 | + layout: 'table', |
| 894 | + headings: [ |
| 895 | + { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
| 896 | + { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
| 897 | + { textMsg: 'wikieditor-toolbar-help-heading-result' } |
| 898 | + ], |
| 899 | + rows: [ |
| 900 | + { |
| 901 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-description' }, |
| 902 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-syntax' }, |
| 903 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-result' } |
| 904 | + }, |
| 905 | + { |
| 906 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-signature-description' }, |
| 907 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-signature-syntax' }, |
| 908 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-signature-result' } |
| 909 | + }, |
| 910 | + { |
| 911 | + 'description': { htmlMsg: 'wikieditor-toolbar-help-content-indent-description' }, |
| 912 | + 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-indent-syntax' }, |
| 913 | + 'result': { htmlMsg: 'wikieditor-toolbar-help-content-indent-result' } |
1104 | 914 | } |
1105 | | - }, |
1106 | | - 'superscript': { |
1107 | | - labelMsg: 'wikieditor-toolbar-tool-superscript', |
1108 | | - type: 'button', |
1109 | | - icon: 'format-superscript.png', |
1110 | | - offset: [2, -1294], |
1111 | | - action: { |
1112 | | - type: 'encapsulate', |
1113 | | - options: { |
1114 | | - pre: "<sup>", |
1115 | | - periMsg: 'wikieditor-toolbar-tool-superscript-example', |
1116 | | - post: "</sup>" |
1117 | | - } |
1118 | | - } |
1119 | | - }, |
1120 | | - 'subscript': { |
1121 | | - labelMsg: 'wikieditor-toolbar-tool-subscript', |
1122 | | - type: 'button', |
1123 | | - icon: 'format-subscript.png', |
1124 | | - offset: [2, -1222], |
1125 | | - action: { |
1126 | | - type: 'encapsulate', |
1127 | | - options: { |
1128 | | - pre: "<sub>", |
1129 | | - periMsg: 'wikieditor-toolbar-tool-subscript-example', |
1130 | | - post: "</sub>" |
1131 | | - } |
1132 | | - } |
1133 | | - } |
| 915 | + ] |
1134 | 916 | } |
1135 | | - }, |
1136 | | - 'insert': { |
1137 | | - labelMsg: 'wikieditor-toolbar-group-insert', |
1138 | | - tools: { |
1139 | | - 'gallery': { |
1140 | | - labelMsg: 'wikieditor-toolbar-tool-gallery', |
1141 | | - type: 'button', |
1142 | | - icon: 'insert-gallery.png', |
1143 | | - offset: [2, -1510], |
1144 | | - action: { |
1145 | | - type: 'encapsulate', |
1146 | | - options: { |
1147 | | - pre: "<gallery>\n", |
1148 | | - periMsg: 'wikieditor-toolbar-tool-gallery-example', |
1149 | | - post: "\n</gallery>", |
1150 | | - ownline: true |
1151 | | - } |
1152 | | - } |
1153 | | - }, |
1154 | | - 'tableCGD': { |
1155 | | - labelMsg: 'wikieditor-toolbar-tool-table', |
1156 | | - type: 'button', |
1157 | | - icon: 'insert-table.png', |
1158 | | - offset: [2, -1942], |
1159 | | - filters: [ '#wpTextbox1.toolbar-dialogs' ], |
1160 | | - action: { |
1161 | | - type: 'dialog', |
1162 | | - module: 'insert-table' |
1163 | | - } |
1164 | | - }, |
1165 | | - 'table': { |
1166 | | - labelMsg: 'wikieditor-toolbar-tool-table', |
1167 | | - type: 'button', |
1168 | | - icon: 'insert-table.png', |
1169 | | - offset: [2, -1942], |
1170 | | - filters: [ '#wpTextbox1:not(.toolbar-dialogs)' ], |
1171 | | - action: { |
1172 | | - type: 'encapsulate', |
1173 | | - options: { |
1174 | | - pre: "{| class=\"wikitable\" border=\"1\"\n|", |
1175 | | - periMsg: 'wikieditor-toolbar-tool-table-example-old', |
1176 | | - post: "\n|}", |
1177 | | - ownline: true |
1178 | | - } |
1179 | | - } |
1180 | | - }, |
1181 | | - 'redirect': { |
1182 | | - labelMsg: 'wikieditor-toolbar-tool-redirect', |
1183 | | - type: 'button', |
1184 | | - icon: 'insert-redirect.png', |
1185 | | - offset: [-70, -142], |
1186 | | - action: { |
1187 | | - type: 'encapsulate', |
1188 | | - options: { |
1189 | | - pre: "#REDIRECT [[", |
1190 | | - periMsg: 'wikieditor-toolbar-tool-redirect-example', |
1191 | | - post: "]]", |
1192 | | - ownline: true |
1193 | | - } |
1194 | | - } |
1195 | | - } |
1196 | | - } |
1197 | | - }, |
1198 | | - 'search': { |
1199 | | - tools: { |
1200 | | - 'replace': { |
1201 | | - labelMsg: 'wikieditor-toolbar-tool-replace', |
1202 | | - type: 'button', |
1203 | | - icon: 'search-replace.png', |
1204 | | - offset: [-70, -214], |
1205 | | - filters: [ '#wpTextbox1.toolbar-dialogs' ], |
1206 | | - action: { |
1207 | | - type: 'dialog', |
1208 | | - module: 'search-and-replace' |
1209 | | - } |
1210 | | - } |
1211 | | - } |
1212 | 917 | } |
1213 | 918 | } |
1214 | 919 | }, |
1215 | | - 'characters': { |
1216 | | - labelMsg: 'wikieditor-toolbar-section-characters', |
1217 | | - type: 'booklet', |
1218 | | - deferLoad: true, |
1219 | | - pages: { |
1220 | | - 'latin': { |
1221 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-latin', |
1222 | | - 'layout': 'characters', |
1223 | | - 'characters': [ |
1224 | | - "\u00c1", "\u00e1", "\u00c0", "\u00e0", "\u00c2", "\u00e2", "\u00c4", "\u00e4", "\u00c3", "\u00e3", |
1225 | | - "\u01cd", "\u01ce", "\u0100", "\u0101", "\u0102", "\u0103", "\u0104", "\u0105", "\u00c5", "\u00e5", |
1226 | | - "\u0106", "\u0107", "\u0108", "\u0109", "\u00c7", "\u00e7", "\u010c", "\u010d", "\u010a", "\u010b", |
1227 | | - "\u0110", "\u0111", "\u010e", "\u010f", "\u00c9", "\u00e9", "\u00c8", "\u00e8", "\u00ca", "\u00ea", |
1228 | | - "\u00cb", "\u00eb", "\u011a", "\u011b", "\u0112", "\u0113", "\u0114", "\u0115", "\u0116", "\u0117", |
1229 | | - "\u0118", "\u0119", "\u011c", "\u011d", "\u0122", "\u0123", "\u011e", "\u011f", "\u0120", "\u0121", |
1230 | | - "\u0124", "\u0125", "\u0126", "\u0127", "\u00cd", "\u00ed", "\u00cc", "\u00ec", "\u00ce", "\u00ee", |
1231 | | - "\u00cf", "\u00ef", "\u0128", "\u0129", "\u01cf", "\u01d0", "\u012a", "\u012b", "\u012c", "\u012d", |
1232 | | - "\u0130", "\u0131", "\u012e", "\u012f", "\u0134", "\u0135", "\u0136", "\u0137", "\u0139", "\u013a", |
1233 | | - "\u013b", "\u013c", "\u013d", "\u013e", "\u0141", "\u0142", "\u013f", "\u0140", "\u0143", "\u0144", |
1234 | | - "\u00d1", "\u00f1", "\u0145", "\u0146", "\u0147", "\u0148", "\u00d3", "\u00f3", "\u00d2", "\u00f2", |
1235 | | - "\u00d4", "\u00f4", "\u00d6", "\u00f6", "\u00d5", "\u00f5", "\u01d1", "\u01d2", "\u014c", "\u014d", |
1236 | | - "\u014e", "\u014f", "\u01ea", "\u01eb", "\u0150", "\u0151", "\u0154", "\u0155", "\u0156", "\u0157", |
1237 | | - "\u0158", "\u0159", "\u015a", "\u015b", "\u015c", "\u015d", "\u015e", "\u015f", "\u0160", "\u0161", |
1238 | | - "\u0162", "\u0163", "\u0164", "\u0165", "\u00da", "\u00fa", "\u00d9", "\u00f9", "\u00db", "\u00fb", |
1239 | | - "\u00dc", "\u00fc", "\u0168", "\u0169", "\u016e", "\u016f", "\u01d3", "\u01d4", "\u016a", "\u016b", |
1240 | | - "\u01d6", "\u01d8", "\u01da", "\u01dc", "\u016c", "\u016d", "\u0172", "\u0173", "\u0170", "\u0171", |
1241 | | - "\u0174", "\u0175", "\u00dd", "\u00fd", "\u0176", "\u0177", "\u0178", "\u00ff", "\u0232", "\u0233", |
1242 | | - "\u0179", "\u017a", "\u017d", "\u017e", "\u017b", "\u017c", "\u00c6", "\u00e6", "\u01e2", "\u01e3", |
1243 | | - "\u00d8", "\u00f8", "\u0152", "\u0153", "\u00df", "\u00f0", "\u00de", "\u00fe", "\u018f", "\u0259" |
1244 | | - ] |
1245 | | - }, |
1246 | | - 'latinextended': { |
1247 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-latinextended', |
1248 | | - 'layout': 'characters', |
1249 | | - 'characters': [ |
1250 | | - "\u1e00", "\u1e01", "\u1e9a", "\u1ea0", "\u1ea1", "\u1ea2", "\u1ea3", "\u1ea4", "\u1ea5", "\u1ea6", |
1251 | | - "\u1ea7", "\u1ea8", "\u1ea9", "\u1eaa", "\u1eab", "\u1eac", "\u1ead", "\u1eae", "\u1eaf", "\u1eb0", |
1252 | | - "\u1eb1", "\u1eb2", "\u1eb3", "\u1eb4", "\u1eb5", "\u1eb6", "\u1eb7", "\u1e02", "\u1e03", "\u1e04", |
1253 | | - "\u1e05", "\u1e06", "\u1e07", "\u1e08", "\u1e09", "\u1e0a", "\u1e0b", "\u1e0c", "\u1e0d", "\u1e0e", |
1254 | | - "\u1e0f", "\u1e10", "\u1e11", "\u1e12", "\u1e13", "\u1e14", "\u1e15", "\u1e16", "\u1e17", "\u1e18", |
1255 | | - "\u1e19", "\u1e1a", "\u1e1b", "\u1e1c", "\u1e1d", "\u1eb8", "\u1eb9", "\u1eba", "\u1ebb", "\u1ebc", |
1256 | | - "\u1ebd", "\u1ebe", "\u1ebf", "\u1ec0", "\u1ec1", "\u1ec2", "\u1ec3", "\u1ec4", "\u1ec5", "\u1ec6", |
1257 | | - "\u1ec7", "\u1e1e", "\u1e1f", "\u1e20", "\u1e21", "\u1e22", "\u1e23", "\u1e24", "\u1e25", "\u1e26", |
1258 | | - "\u1e27", "\u1e28", "\u1e29", "\u1e2a", "\u1e2b", "\u1e96", "\u1e2c", "\u1e2d", "\u1e2e", "\u1e2f", |
1259 | | - "\u1ec8", "\u1ec9", "\u1eca", "\u1ecb", "\u1e30", "\u1e31", "\u1e32", "\u1e33", "\u1e34", "\u1e35", |
1260 | | - "\u1e36", "\u1e37", "\u1e38", "\u1e39", "\u1e3a", "\u1e3b", "\u1e3c", "\u1e3d", "\u1efa", "\u1efb", |
1261 | | - "\u1e3e", "\u1e3f", "\u1e40", "\u1e41", "\u1e42", "\u1e43", "\u1e44", "\u1e45", "\u1e46", "\u1e47", |
1262 | | - "\u1e48", "\u1e49", "\u1e4a", "\u1e4b", "\u1e4c", "\u1e4d", "\u1e4e", "\u1e4f", "\u1e50", "\u1e51", |
1263 | | - "\u1e52", "\u1e53", "\u1ecc", "\u1ecd", "\u1ece", "\u1ecf", "\u1ed0", "\u1ed1", "\u1ed2", "\u1ed3", |
1264 | | - "\u1ed4", "\u1ed5", "\u1ed6", "\u1ed7", "\u1ed8", "\u1ed9", "\u1eda", "\u1edb", "\u1edc", "\u1edd", |
1265 | | - "\u1ede", "\u1edf", "\u1ee0", "\u1ee1", "\u1ee2", "\u1ee3", "\u1e54", "\u1e55", "\u1e56", "\u1e57", |
1266 | | - "\u1e58", "\u1e59", "\u1e5a", "\u1e5b", "\u1e5c", "\u1e5d", "\u1e5e", "\u1e5f", "\u1e60", "\u1e61", |
1267 | | - "\u1e9b", "\u1e62", "\u1e63", "\u1e64", "\u1e65", "\u1e66", "\u1e67", "\u1e68", "\u1e69", "\u1e9c", |
1268 | | - "\u1e9d", "\u1e6a", "\u1e6b", "\u1e6c", "\u1e6d", "\u1e6e", "\u1e6f", "\u1e70", "\u1e71", "\u1e97", |
1269 | | - "\u1e72", "\u1e73", "\u1e74", "\u1e75", "\u1e76", "\u1e77", "\u1e78", "\u1e79", "\u1e7a", "\u1e7b", |
1270 | | - "\u1ee4", "\u1ee5", "\u1ee6", "\u1ee7", "\u1ee8", "\u1ee9", "\u1eea", "\u1eeb", "\u1eec", "\u1eed", |
1271 | | - "\u1eee", "\u1eef", "\u1ef0", "\u1ef1", "\u1e7c", "\u1e7d", "\u1e7e", "\u1e7f", "\u1efc", "\u1efd", |
1272 | | - "\u1e80", "\u1e81", "\u1e82", "\u1e83", "\u1e84", "\u1e85", "\u1e86", "\u1e87", "\u1e88", "\u1e89", |
1273 | | - "\u1e98", "\u1e8a", "\u1e8b", "\u1e8c", "\u1e8d", "\u1e8e", "\u1e8f", "\u1e99", "\u1ef2", "\u1ef3", |
1274 | | - "\u1ef4", "\u1ef5", "\u1ef6", "\u1ef7", "\u1ef8", "\u1ef9", "\u1efe", "\u1eff", "\u1e90", "\u1e91", |
1275 | | - "\u1e92", "\u1e93", "\u1e94", "\u1e95", "\u1e9e", "\u1e9f" |
1276 | | - ] |
1277 | | - }, |
1278 | | - 'ipa': { |
1279 | | - labelMsg: 'wikieditor-toolbar-characters-page-ipa', |
1280 | | - layout: 'characters', |
1281 | | - characters: [ |
1282 | | - "p", "t\u032a", "t", "\u0288", "c", "k", "q", "\u02a1", "\u0294", "b","d\u032a", "d", "\u0256", |
1283 | | - "\u025f", "\u0261", "\u0262", "\u0253", "\u0257", "\u0284", "\u0260", "\u029b", "t\u0361s", |
1284 | | - "t\u0361\u0283", "t\u0361\u0255", "d\u0361z", "d\u0361\u0292", "d\u0361\u0291", "\u0278", "f", |
1285 | | - "\u03b8", "s", "\u0283", "\u0285", "\u0286", "\u0282", "\u0255", "\u00e7", "\u0267", "x", "\u03c7", |
1286 | | - "\u0127", "\u029c", "h", "\u03b2", "v", "\u028d", "\u00f0", "z", "\u0292", "\u0293", "\u0290", |
1287 | | - "\u0291", "\u029d", "\u0263", "\u0281", "\u0295", "\u0296", "\u02a2", "\u0266", "\u026c", "\u026e", |
1288 | | - "m", "m\u0329", "\u0271", "\u0271\u0329", "\u0271\u030d", "n\u032a", "n\u032a\u030d", "n", |
1289 | | - "n\u0329", "\u0273", "\u0273\u0329", "\u0272", "\u0272\u0329", "\u014b", "\u014b\u030d", |
1290 | | - "\u014b\u0329", "\u0274", "\u0274\u0329", "\u0299", "\u0299\u0329", "r", "r\u0329", "\u0280", |
1291 | | - "\u0280\u0329", "\u027e", "\u027d", "\u027f", "\u027a", "l\u032a", "l\u032a\u0329", "l", "l\u0329", |
1292 | | - "\u026b", "\u026b\u0329", "\u026d", "\u026d\u0329", "\u028e", "\u028e\u0329", "\u029f", |
1293 | | - "\u029f\u0329", "w", "\u0265", "\u028b", "\u0279", "\u027b", "j", "\u0270", "\u0298", "\u01c2", |
1294 | | - "\u01c0", "!", "\u01c1", "\u02b0", "\u02b1", "\u02b7", "\u02b8", "\u02b2", "\u02b3", "\u207f", |
1295 | | - "\u02e1", "\u02b4", "\u02b5", "\u02e2", "\u02e3", "\u02e0", "\u02b6", "\u02e4", "\u02c1", "\u02c0", |
1296 | | - "\u02bc", "i", "i\u032f", "\u0129", "y", "y\u032f", "\u1ef9", "\u026a", "\u026a\u032f", |
1297 | | - "\u026a\u0303", "\u028f", "\u028f\u032f", "\u028f\u0303", "\u0268", "\u0268\u032f", "\u0268\u0303", |
1298 | | - "\u0289", "\u0289\u032f", "\u0289\u0303", "\u026f", "\u026f\u032f", "\u026f\u0303", "u", "u\u032f", |
1299 | | - "\u0169", "\u028a", "\u028a\u032f", "\u028a\u0303", "e", "e\u032f", "\u1ebd", "\u00f8", |
1300 | | - "\u00f8\u032f", "\u00f8\u0303", "\u0258", "\u0258\u032f", "\u0258\u0303", "\u0275", "\u0275\u032f", |
1301 | | - "\u0275\u0303", "\u0264", "\u0264\u032f", "\u0264\u0303", "o", "o\u032f", "\u00f5", "\u025b", |
1302 | | - "\u025b\u032f", "\u025b\u0303", "\u0153", "\u0153\u032f", "\u0153\u0303", "\u025c", "\u025c\u032f", |
1303 | | - "\u025c\u0303", "\u0259", "\u0259\u032f", "\u0259\u0303", "\u025e", "\u025e\u032f", "\u025e\u0303", |
1304 | | - "\u028c", "\u028c\u032f", "\u028c\u0303", "\u0254", "\u0254\u032f", "\u0254\u0303", "\u00e6", |
1305 | | - "\u00e6\u032f", "\u00e6\u0303", "\u0276", "\u0276\u032f", "\u0276\u0303", "a", "a\u032f", "\u00e3", |
1306 | | - "\u0250", "\u0250\u032f", "\u0250\u0303", "\u0251", "\u0251\u032f", "\u0251\u0303", "\u0252", |
1307 | | - "\u0252\u032f", "\u0252\u0303", "\u02c8", "\u02cc", "\u02d0", "\u02d1", "\u02d8", ".", "\u203f", |
1308 | | - "|", "\u2016" |
1309 | | - ] |
1310 | | - }, |
1311 | | - 'symbols': { |
1312 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-symbols', |
1313 | | - 'layout': 'characters', |
1314 | | - 'characters': [ |
1315 | | - "~", "|", "\u00a1", "\u00bf", "\u2020", "\u2021", "\u2194", "\u2191", "\u2193", "\u2022", "\u00b6", |
1316 | | - "#", "\u00bd", "\u2153", "\u2154", "\u00bc", "\u00be", "\u215b", "\u215c", "\u215d", "\u215e", |
1317 | | - "\u221e", "\u2018", "\u201e", "\u201c", "\u2019", "\u201d", |
1318 | | - { |
1319 | | - 'label': "\u00ab\u00bb", |
1320 | | - 'action': { |
1321 | | - 'type': 'encapsulate', 'options': { 'pre': "\u00ab", 'post': "\u00bb" } |
1322 | | - } |
1323 | | - }, |
1324 | | - "\u00a4", "\u20b3", "\u0e3f", "\u20b5", "\u00a2", "\u20a1", "\u20a2", "$", "\u20ab", "\u20af", |
1325 | | - "\u20ac", "\u20a0", "\u20a3", "\u0192", "\u20b4", "\u20ad", "\u20a4", "\u2133", "\u20a5", "\u20a6", |
1326 | | - "\u2116", "\u20a7", "\u20b0", "\u00a3", "\u17db", "\u20a8", "\u20aa", "\u09f3", "\u20ae", "\u20a9", |
1327 | | - "\u00a5", "\u2660", "\u2663", "\u2665", "\u2666", "m\u00b2", "m\u00b3", "\u2013", "\u2014", |
1328 | | - "\u2026", "\u2018", "\u201c", "\u2019", "\u201d", "\u00b0", "\u2033", "\u2032", "\u2248", "\u2260", |
1329 | | - "\u2264", "\u2265", "\u00b1", "\u2212", "\u00d7", "\u00f7", "\u2190", "\u2192", "\u00b7", "\u00a7" |
1330 | | - ] |
1331 | | - }, |
1332 | | - 'greek': { |
1333 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-greek', |
1334 | | - 'layout': 'characters', |
1335 | | - 'language': 'hl', |
1336 | | - 'characters': [ |
1337 | | - "\u0391", "\u0386", "\u03b1", "\u03ac", "\u0392", "\u03b2", "\u0393", "\u03b3", "\u0394", "\u03b4", |
1338 | | - "\u0395", "\u0388", "\u03b5", "\u03ad", "\u0396", "\u03b6", "\u0397", "\u0389", "\u03b7", "\u03ae", |
1339 | | - "\u0398", "\u03b8", "\u0399", "\u038a", "\u03b9", "\u03af", "\u039a", "\u03ba", "\u039b", "\u03bb", |
1340 | | - "\u039c", "\u03bc", "\u039d", "\u03bd", "\u039e", "\u03be", "\u039f", "\u038c", "\u03bf", "\u03cc", |
1341 | | - "\u03a0", "\u03c0", "\u03a1", "\u03c1", "\u03a3", "\u03c3", "\u03c2", "\u03a4", "\u03c4", "\u03a5", |
1342 | | - "\u038e", "\u03c5", "\u03cd", "\u03a6", "\u03c6", "\u03a7", "\u03c7", "\u03a8", "\u03c8", "\u03a9", |
1343 | | - "\u038f", "\u03c9", "\u03ce" |
1344 | | - ] |
1345 | | - }, |
1346 | | - 'cyrillic': { |
1347 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-cyrillic', |
1348 | | - 'layout': 'characters', |
1349 | | - 'characters': [ |
1350 | | - "\u0410", "\u0430", "\u04d8", "\u04d9", "\u0411", "\u0431", "\u0412", "\u0432", "\u0413", "\u0433", |
1351 | | - "\u0490", "\u0491", "\u0403", "\u0453", "\u0492", "\u0493", "\u0414", "\u0434", "\u0402", "\u0452", |
1352 | | - "\u0415", "\u0435", "\u0404", "\u0454", "\u0401", "\u0451", "\u0416", "\u0436", "\u0417", "\u0437", |
1353 | | - "\u0405", "\u0455", "\u0418", "\u0438", "\u0406", "\u0456", "\u0407", "\u0457", "\u0130", "\u0419", |
1354 | | - "\u0439", "\u04e2", "\u04e3", "\u0408", "\u0458", "\u041a", "\u043a", "\u040c", "\u045c", "\u049a", |
1355 | | - "\u049b", "\u041b", "\u043b", "\u0409", "\u0459", "\u041c", "\u043c", "\u041d", "\u043d", "\u040a", |
1356 | | - "\u045a", "\u04a2", "\u04a3", "\u041e", "\u043e", "\u04e8", "\u04e9", "\u041f", "\u043f", "\u0420", |
1357 | | - "\u0440", "\u0421", "\u0441", "\u0422", "\u0442", "\u040b", "\u045b", "\u0423", "\u0443", "\u040e", |
1358 | | - "\u045e", "\u04ee", "\u04ef", "\u04b0", "\u04b1", "\u04ae", "\u04af", "\u0424", "\u0444", "\u0425", |
1359 | | - "\u0445", "\u04b2", "\u04b3", "\u04ba", "\u04bb", "\u0426", "\u0446", "\u0427", "\u0447", "\u04b6", |
1360 | | - "\u04b7", "\u040f", "\u045f", "\u0428", "\u0448", "\u0429", "\u0449", "\u042a", "\u044a", "\u042b", |
1361 | | - "\u044b", "\u042c", "\u044c", "\u042d", "\u044d", "\u042e", "\u044e", "\u042f", "\u044f" |
1362 | | - ] |
1363 | | - }, |
1364 | | - 'arabic': { |
1365 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-arabic', |
1366 | | - 'layout': 'characters', |
1367 | | - 'language': 'ar', |
1368 | | - 'direction': 'rtl', |
1369 | | - 'characters': [ |
1370 | | - "\u061b", "\u061f", "\u0621", "\u0622", "\u0623", "\u0624", "\u0625", "\u0626", "\u0627", "\u0628", |
1371 | | - "\u0629", "\u062a", "\u062b", "\u062c", "\u062d", "\u062e", "\u062f", "\u0630", "\u0631", "\u0632", |
1372 | | - "\u0633", "\u0634", "\u0635", "\u0636", "\u0637", "\u0638", "\u0639", "\u063a", "\u0641", "\u0642", |
1373 | | - "\u0643", "\u0644", "\u0645", "\u0646", "\u0647", "\u0648", "\u0649", "\u064a", "\u060c", "\u067e", |
1374 | | - "\u0686", "\u0698", "\u06af", "\u06ad" |
1375 | | - ] |
1376 | | - }, |
1377 | | - 'hebrew': { |
1378 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-hebrew', |
1379 | | - 'layout': 'characters', |
1380 | | - 'direction': 'rtl', |
1381 | | - 'characters': [ |
1382 | | - "\u05d0", "\u05d1", "\u05d2", "\u05d3", "\u05d4", "\u05d5", "\u05d6", "\u05d7", "\u05d8", "\u05d9", |
1383 | | - "\u05db", "\u05da", "\u05dc", "\u05de", "\u05dd", "\u05e0", "\u05df", "\u05e1", "\u05e2", "\u05e4", |
1384 | | - "\u05e3", "\u05e6", "\u05e5", "\u05e7", "\u05e8", "\u05e9", "\u05ea", "\u05f3", "\u05f4", "\u05f0", |
1385 | | - "\u05f1", "\u05f2", "\u05d0", "\u05d3", "\u05d4", "\u05d5", "\u05d6", "\u05d7", "\u05d8", "\u05d9", |
1386 | | - "\u05da", "\u05db", "\u05dc", "\u05dd", "\u05de", "\u05df", "\u05e0", "\u05e1", "\u05e2", "\u05e3", |
1387 | | - "\u05e4", "\u05be", "\u05f3", "\u05f4", |
1388 | | - [ "\u05b0\u25cc", "\u05b0" ], [ "\u05b1\u25cc", "\u05b1" ], [ "\u05b2\u25cc", "\u05b2" ], |
1389 | | - [ "\u05b3\u25cc", "\u05b3" ], [ "\u05b4\u25cc", "\u05b4" ], [ "\u05b5\u25cc", "\u05b5" ], |
1390 | | - [ "\u05b6\u25cc", "\u05b6" ], [ "\u05b7\u25cc", "\u05b7" ], [ "\u05b8\u25cc", "\u05b8" ], |
1391 | | - [ "\u05b9\u25cc", "\u05b9" ], [ "\u05bb\u25cc", "\u05bb" ], [ "\u05bc\u25cc", "\u05bc" ], |
1392 | | - [ "\u05c1\u25cc", "\u05c1" ], [ "\u05c2\u25cc", "\u05c2" ], [ "\u05c7\u25cc", "\u05c7" ], |
1393 | | - [ "\u0591\u25cc", "\u0591" ], [ "\u0592\u25cc", "\u0592" ], [ "\u0593\u25cc", "\u0593" ], |
1394 | | - [ "\u0594\u25cc", "\u0594" ], [ "\u0595\u25cc", "\u0595" ], [ "\u0596\u25cc", "\u0596" ], |
1395 | | - [ "\u0597\u25cc", "\u0597" ], [ "\u0598\u25cc", "\u0598" ], [ "\u0599\u25cc", "\u0599" ], |
1396 | | - [ "\u059a\u25cc", "\u059a" ], [ "\u059b\u25cc", "\u059b" ], [ "\u059c\u25cc", "\u059c" ], |
1397 | | - [ "\u059d\u25cc", "\u059d" ], [ "\u059e\u25cc", "\u059e" ], [ "\u059f\u25cc", "\u059f" ], |
1398 | | - [ "\u05a0\u25cc", "\u05a0" ], [ "\u05a1\u25cc", "\u05a1" ], [ "\u05a2\u25cc", "\u05a2" ], |
1399 | | - [ "\u05a3\u25cc", "\u05a3" ], [ "\u05a4\u25cc", "\u05a4" ], [ "\u05a5\u25cc", "\u05a5" ], |
1400 | | - [ "\u05a6\u25cc", "\u05a6" ], [ "\u05a7\u25cc", "\u05a7" ], [ "\u05a8\u25cc", "\u05a8" ], |
1401 | | - [ "\u05a9\u25cc", "\u05a9" ], [ "\u05aa\u25cc", "\u05aa" ], [ "\u05ab\u25cc", "\u05ab" ], |
1402 | | - [ "\u05ac\u25cc", "\u05ac" ], [ "\u05ad\u25cc", "\u05ad" ], [ "\u05ae\u25cc", "\u05ae" ], |
1403 | | - [ "\u05af\u25cc", "\u05af" ], [ "\u05bf\u25cc", "\u05bf" ], [ "\u05c0\u25cc", "\u05c0" ], |
1404 | | - [ "\u05c3\u25cc", "\u05c3" ] |
1405 | | - ] |
1406 | | - }, |
1407 | | - 'bangla': { |
1408 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-bangla', |
1409 | | - 'language': 'bn', |
1410 | | - 'layout': 'characters', |
1411 | | - 'characters': [ |
1412 | | - "\u0985", "\u0986", "\u0987", "\u0988", "\u0989", "\u098a", "\u098b", "\u098f", "\u0990", "\u0993", |
1413 | | - "\u0994", "\u09be", "\u09bf", "\u09c0", "\u09c1", "\u09c2", "\u09c3", "\u09c7", "\u09c8", "\u09cb", |
1414 | | - "\u09cc", "\u0995", "\u0996", "\u0997", "\u0998", "\u0999", "\u099a", "\u099b", "\u099c", "\u099d", |
1415 | | - "\u099e", "\u099f", "\u09a0", "\u09a1", "\u09a2", "\u09a3", "\u09a4", "\u09a5", "\u09a6", "\u09a7", |
1416 | | - "\u09a8", "\u09aa", "\u09ab", "\u09ac", "\u09ad", "\u09ae", "\u09af", "\u09b0", "\u09b2", "\u09b6", |
1417 | | - "\u09b7", "\u09b8", "\u09b9", "\u09a1\u09bc", "\u09a2\u09bc", "\u09af\u09bc", "\u09ce", "\u0982", |
1418 | | - "\u0983", "\u0981", "\u09cd", "\u09e7", "\u09e8", "\u09e9", "\u09ea", "\u09eb", "\u09ec", "\u09ed", |
1419 | | - "\u09ee", "\u09ef", "\u09e6" |
1420 | | - ] |
1421 | | - }, |
1422 | | - 'telugu': { |
1423 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-telugu', |
1424 | | - 'language': 'te', |
1425 | | - 'layout': 'characters', |
1426 | | - 'characters': [ |
1427 | | - "\u0c01", "\u0c02", "\u0c03", "\u0c05", "\u0c06", "\u0c07", "\u0c08", "\u0c09", "\u0c0a", "\u0c0b", |
1428 | | - "\u0c60", "\u0c0c", "\u0c61", "\u0c0e", "\u0c0f", "\u0c10", "\u0c12", "\u0c13", "\u0c14", "\u0c15", |
1429 | | - "\u0c16", "\u0c17", "\u0c18", "\u0c19", "\u0c1a", "\u0c1b", "\u0c1c", "\u0c1d", "\u0c1e", "\u0c1f", |
1430 | | - "\u0c20", "\u0c21", "\u0c22", "\u0c23", "\u0c24", "\u0c25", "\u0c26", "\u0c27", "\u0c28", "\u0c2a", |
1431 | | - "\u0c2b", "\u0c2c", "\u0c2d", "\u0c2e", "\u0c2f", "\u0c30", "\u0c31", "\u0c32", "\u0c33", "\u0c35", |
1432 | | - "\u0c36", "\u0c37", "\u0c38", "\u0c39", "\u0c3e", "\u0c3f", "\u0c40", "\u0c41", "\u0c42", "\u0c43", |
1433 | | - "\u0c44", "\u0c46", "\u0c47", "\u0c48", "\u0c4a", "\u0c4b", "\u0c4c", "\u0c4d", "\u0c62", "\u0c63", |
1434 | | - "\u0c58", "\u0c59", "\u0c66", "\u0c67", "\u0c68", "\u0c69", "\u0c6a", "\u0c6b", "\u0c6c", "\u0c6d", |
1435 | | - "\u0c6e", "\u0c6f", "\u0c3d", "\u0c78", "\u0c79", "\u0c7a", "\u0c7b", "\u0c7c", "\u0c7d", "\u0c7e", |
1436 | | - "\u0c7f" |
1437 | | - ] |
1438 | | - }, |
1439 | | - 'sinhala': { |
1440 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-sinhala', |
1441 | | - 'language': 'si', |
1442 | | - 'layout': 'characters', |
1443 | | - 'characters': [ |
1444 | | - "\u0d85", "\u0d86", "\u0d87", "\u0d88", "\u0d89", "\u0d8a", "\u0d8b", "\u0d8c", "\u0d8d", "\u0d8e", |
1445 | | - "\u0d8f", "\u0d90", "\u0d91", "\u0d92", "\u0d93", "\u0d94", "\u0d95", "\u0d96", "\u0d9a", "\u0d9b", |
1446 | | - "\u0d9c", "\u0d9d", "\u0d9e", "\u0d9f", "\u0da0", "\u0da1", "\u0da2", "\u0da3", "\u0da4", "\u0da5", |
1447 | | - "\u0da6", "\u0da7", "\u0da8", "\u0da9", "\u0daa", "\u0dab", "\u0dac", "\u0dad", "\u0dae", "\u0daf", |
1448 | | - "\u0db0", "\u0db1", "\u0db3", "\u0db4", "\u0db5", "\u0db6", "\u0db7", "\u0db8", "\u0db9", "\u0dba", |
1449 | | - "\u0dbb", "\u0dbd", "\u0dc0", "\u0dc1", "\u0dc2", "\u0dc3", "\u0dc4", "\u0dc5", "\u0dc6", |
1450 | | - [ "\u25cc\u0dcf", "\u0dcf" ], [ "\u25cc\u0dd0", "\u0dd0" ], [ "\u25cc\u0dd1", "\u0dd1" ], |
1451 | | - [ "\u25cc\u0dd2", "\u0dd2" ], [ "\u25cc\u0dd3", "\u0dd3" ], [ "\u25cc\u0dd4", "\u0dd4" ], |
1452 | | - [ "\u25cc\u0dd6", "\u0dd6" ], [ "\u25cc\u0dd8", "\u0dd8" ], [ "\u25cc\u0df2", "\u0df2" ], |
1453 | | - [ "\u25cc\u0ddf", "\u0ddf" ], [ "\u25cc\u0df3", "\u0df3" ], [ "\u25cc\u0dd9", "\u0dd9" ], |
1454 | | - [ "\u25cc\u0dda", "\u0dda" ], [ "\u25cc\u0ddc", "\u0ddc" ], [ "\u25cc\u0ddd", "\u0ddd" ], |
1455 | | - [ "\u25cc\u0dde", "\u0dde" ], [ "\u25cc\u0dca", "\u0dca" ] |
1456 | | - ] |
1457 | | - }, |
1458 | | - 'gujarati': { |
1459 | | - 'labelMsg': 'wikieditor-toolbar-characters-page-gujarati', |
1460 | | - 'language': 'gu', |
1461 | | - 'layout': 'characters', |
1462 | | - 'characters': [ |
1463 | | - "\u0ad0", "\u0a85", "\u0a86", "\u0a87", "\u0a88", "\u0a89", "\u0a8a", "\u0a8b", "\u0ae0", "\u0a8c", |
1464 | | - "\u0ae1", "\u0a8d", "\u0a8f", "\u0a90", "\u0a91", "\u0a93", "\u0a94", "\u0a95", "\u0a96", "\u0a97", |
1465 | | - "\u0a98", "\u0a99", "\u0a9a", "\u0a9b", "\u0a9c", "\u0a9d", "\u0a9e", "\u0a9f", "\u0aa0", "\u0aa1", |
1466 | | - "\u0aa2", "\u0aa3", "\u0aa4", "\u0aa5", "\u0aa6", "\u0aa7", "\u0aa8", "\u0aaa", "\u0aab", "\u0aac", |
1467 | | - "\u0aad", "\u0aae", "\u0aaf", "\u0ab0", "\u0ab2", "\u0ab5", "\u0ab6", "\u0ab7", "\u0ab8", "\u0ab9", |
1468 | | - "\u0ab3", "\u0abd", [ "\u25cc\u0abe", "\u0abe" ], [ "\u25cc\u0abf", "\u0abf" ], |
1469 | | - [ "\u25cc\u0ac0", "\u0ac0" ], [ "\u25cc\u0ac1", "\u0ac1" ], [ "\u25cc\u0ac2", "\u0ac2" ], |
1470 | | - [ "\u25cc\u0ac3", "\u0ac3" ], [ "\u25cc\u0ac4", "\u0ac4" ], [ "\u25cc\u0ae2", "\u0ae2" ], |
1471 | | - [ "\u25cc\u0ae3", "\u0ae3" ], [ "\u25cc\u0ac5", "\u0ac5" ], [ "\u25cc\u0ac7", "\u0ac7" ], |
1472 | | - [ "\u25cc\u0ac8", "\u0ac8" ], [ "\u25cc\u0ac9", "\u0ac9" ], [ "\u25cc\u0acb", "\u0acb" ], |
1473 | | - [ "\u25cc\u0acc", "\u0acc" ], [ "\u25cc\u0acd", "\u0acd" ] |
1474 | | - ] |
1475 | | - } |
1476 | | - } |
1477 | | - }, |
1478 | | - 'help': { |
1479 | | - labelMsg: 'wikieditor-toolbar-section-help', |
1480 | | - type: 'booklet', |
1481 | | - deferLoad: true, |
1482 | | - pages: { |
1483 | | - 'format': { |
1484 | | - labelMsg: 'wikieditor-toolbar-help-page-format', |
1485 | | - layout: 'table', |
1486 | | - headings: [ |
1487 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1488 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1489 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1490 | | - ], |
1491 | | - rows: [ |
1492 | | - { |
1493 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-italic-description' }, |
1494 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-italic-syntax' }, |
1495 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-italic-result' } |
1496 | | - }, |
1497 | | - { |
1498 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-bold-description' }, |
1499 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-bold-syntax' }, |
1500 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-bold-result' } |
1501 | | - }, |
1502 | | - { |
1503 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-description' }, |
1504 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-syntax' }, |
1505 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-bolditalic-result' } |
1506 | | - } |
1507 | | - ] |
1508 | | - }, |
1509 | | - 'link': { |
1510 | | - labelMsg: 'wikieditor-toolbar-help-page-link', |
1511 | | - layout: 'table', |
1512 | | - headings: [ |
1513 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1514 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1515 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1516 | | - ], |
1517 | | - rows: [ |
1518 | | - { |
1519 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-description' }, |
1520 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-syntax' }, |
1521 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-ilink-result' } |
1522 | | - }, |
1523 | | - { |
1524 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-description' }, |
1525 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-syntax' }, |
1526 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-xlink-result' } |
1527 | | - } |
1528 | | - ] |
1529 | | - }, |
1530 | | - 'heading': { |
1531 | | - labelMsg: 'wikieditor-toolbar-help-page-heading', |
1532 | | - layout: 'table', |
1533 | | - headings: [ |
1534 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1535 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1536 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1537 | | - ], |
1538 | | - rows: [ |
1539 | | - { |
1540 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-description' }, |
1541 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-syntax' }, |
1542 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading1-result' } |
1543 | | - }, |
1544 | | - { |
1545 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-description' }, |
1546 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-syntax' }, |
1547 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading2-result' } |
1548 | | - }, |
1549 | | - { |
1550 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-description' }, |
1551 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-syntax' }, |
1552 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading3-result' } |
1553 | | - }, |
1554 | | - { |
1555 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-description' }, |
1556 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-syntax' }, |
1557 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading4-result' } |
1558 | | - }, |
1559 | | - { |
1560 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-description' }, |
1561 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-syntax' }, |
1562 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-heading5-result' } |
1563 | | - } |
1564 | | - ] |
1565 | | - }, |
1566 | | - 'list': { |
1567 | | - labelMsg: 'wikieditor-toolbar-help-page-list', |
1568 | | - layout: 'table', |
1569 | | - headings: [ |
1570 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1571 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1572 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1573 | | - ], |
1574 | | - rows: [ |
1575 | | - { |
1576 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-description' }, |
1577 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-syntax' }, |
1578 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-ulist-result' } |
1579 | | - }, |
1580 | | - { |
1581 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-olist-description' }, |
1582 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-olist-syntax' }, |
1583 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-olist-result' } |
1584 | | - } |
1585 | | - ] |
1586 | | - }, |
1587 | | - 'file': { |
1588 | | - labelMsg: 'wikieditor-toolbar-help-page-file', |
1589 | | - layout: 'table', |
1590 | | - headings: [ |
1591 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1592 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1593 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1594 | | - ], |
1595 | | - rows: [ |
1596 | | - { |
1597 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-file-description' }, |
1598 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-file-syntax' }, |
1599 | | - 'result': { htmlMsg: [ 'wikieditor-toolbar-help-content-file-result', stylepath ] } |
1600 | | - } |
1601 | | - ] |
1602 | | - }, |
1603 | | - 'reference': { |
1604 | | - labelMsg: 'wikieditor-toolbar-help-page-reference', |
1605 | | - layout: 'table', |
1606 | | - headings: [ |
1607 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1608 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1609 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1610 | | - ], |
1611 | | - rows: [ |
1612 | | - { |
1613 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-reference-description' }, |
1614 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-reference-syntax' }, |
1615 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-reference-result' } |
1616 | | - }, |
1617 | | - { |
1618 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-description' }, |
1619 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-syntax' }, |
1620 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-rereference-result' } |
1621 | | - }, |
1622 | | - { |
1623 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-description' }, |
1624 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-syntax' }, |
1625 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-showreferences-result' } |
1626 | | - } |
1627 | | - ] |
1628 | | - }, |
1629 | | - 'discussion': { |
1630 | | - labelMsg: 'wikieditor-toolbar-help-page-discussion', |
1631 | | - layout: 'table', |
1632 | | - headings: [ |
1633 | | - { textMsg: 'wikieditor-toolbar-help-heading-description' }, |
1634 | | - { textMsg: 'wikieditor-toolbar-help-heading-syntax' }, |
1635 | | - { textMsg: 'wikieditor-toolbar-help-heading-result' } |
1636 | | - ], |
1637 | | - rows: [ |
1638 | | - { |
1639 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-description' }, |
1640 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-syntax' }, |
1641 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-signaturetimestamp-result' } |
1642 | | - }, |
1643 | | - { |
1644 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-signature-description' }, |
1645 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-signature-syntax' }, |
1646 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-signature-result' } |
1647 | | - }, |
1648 | | - { |
1649 | | - 'description': { htmlMsg: 'wikieditor-toolbar-help-content-indent-description' }, |
1650 | | - 'syntax': { htmlMsg: 'wikieditor-toolbar-help-content-indent-syntax' }, |
1651 | | - 'result': { htmlMsg: 'wikieditor-toolbar-help-content-indent-result' } |
1652 | | - } |
1653 | | - ] |
1654 | | - } |
1655 | | - } |
1656 | | - }, |
1657 | 920 | 'dialogs': { |
1658 | 921 | 'insert-link': { |
1659 | 922 | filters: [ '#wpTextbox1.toolbar-dialogs' ], |
— | — | @@ -2716,4 +1979,3 @@ |
2717 | 1980 | } |
2718 | 1981 | } |
2719 | 1982 | }; |
2720 | | -*/ |
\ No newline at end of file |