r82637 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82636‎ | r82637 | r82638 >
Date:22:35, 22 February 2011
Author:janpaul123
Status:deferred (Comments)
Tags:
Comment:
Actually fixes bug 27165 and 27168, plus some minor stuff.
Modified paths:
  • /trunk/extensions/InlineEditor/InlineEditor.class.php (modified) (history)
  • /trunk/extensions/InlineEditor/InlineEditor.i18n.php (modified) (history)
  • /trunk/extensions/InlineEditor/InlineEditor.php (modified) (history)
  • /trunk/extensions/InlineEditor/InlineEditorNode.class.php (modified) (history)
  • /trunk/extensions/InlineEditor/jquery.inlineEditor.basicEditor.js (modified) (history)
  • /trunk/extensions/InlineEditor/jquery.inlineEditor.configWikiEditor.js (added) (history)
  • /trunk/extensions/InlineEditor/jquery.inlineEditor.js (modified) (history)

Diff [purge]

Index: trunk/extensions/InlineEditor/InlineEditor.class.php
@@ -22,7 +22,11 @@
2323 * Checks whether or not to spawn the editor, and does so if necessary.
2424 */
2525 public static function mediaWikiPerformAction( $output, $article, $title, $user, $request, $wiki) {
26 - global $wgHooks;
 26+ global $wgHooks, $wgInlineEditorEnableGlobal;
 27+
 28+ if ( $user->getOption( 'inline-editor-enabled' ) != true && !$wgInlineEditorEnableGlobal ) {
 29+ return true;
 30+ }
2731
2832 // return if the action is not 'edit' or if it's disabled
2933 // @todo: FIXME: we don't want to break with older versions just yet,
@@ -228,6 +232,10 @@
229233 $output->addScriptFile( $wgExtensionAssetsPath . "/InlineEditor/jquery.inlineEditor.basicEditor.js?0" );
230234 $output->addScriptFile( $wgExtensionAssetsPath . "/InlineEditor/jquery-ui-effects-1.8.4.min.js?0" );
231235
 236+ // include the JS file needed for the WikiEditor toolbar
 237+ // @todo: FIXME: get the configuration from the WikiEditor extension
 238+ $output->addScriptFile( $wgExtensionAssetsPath . "/InlineEditor/jquery.inlineEditor.configWikiEditor.js?0" );
 239+
232240 // include the required JS files for scrolling
233241 $output->addScriptFile( $wgExtensionAssetsPath . "/InlineEditor/jquery.sectionScroller.js?0" );
234242
@@ -303,6 +311,21 @@
304312 }
305313
306314 /**
 315+ * Add the preference in the user preferences
 316+ * @param $user
 317+ * @param $preferences
 318+ */
 319+
 320+ public static function getPreferences( $user, &$preferences ) {
 321+ $preferences['inline-editor-enabled'] = array(
 322+ 'type' => 'check',
 323+ 'section' => 'editing/labs',
 324+ 'label-message' => 'inline-editor-enable-preference',
 325+ );
 326+ return true;
 327+ }
 328+
 329+ /**
307330 * Get an anchor to scroll to, or null
308331 * @param $parserOutput ParserOutput
309332 * @return string or null
Index: trunk/extensions/InlineEditor/InlineEditorNode.class.php
@@ -12,7 +12,7 @@
1313 * @param $marking InlineEditorMarking Marking to wrap in the tree
1414 */
1515 public function __construct( &$wiki, InlineEditorMarking $marking ) {
16 - parent::__construct( &$wiki );
 16+ parent::__construct( $wiki );
1717 $this->marking = $marking;
1818 }
1919
Index: trunk/extensions/InlineEditor/InlineEditor.i18n.php
@@ -27,6 +27,7 @@
2828 You can only use the '''full editor''' for this page.",
2929 'inline-editor-editmodes-undo' => 'Undo',
3030 'inline-editor-editmodes-redo' => 'Redo',
 31+ 'inline-editor-enable-preference' => 'Enable inline editing',
3132 );
3233
3334 /** Language descriptions
@@ -60,5 +61,5 @@
6162 it be saved into some kind of database, waiting for approval?" "Publish" is
6263 unambiguous: it will be shown to the world. On the other hand, using the word "Publish" may have legal
6364 consequences in some countries, which should be looked into.',
64 -
 65+ 'inline-editor-enable-preference' => '',
6566 );
Index: trunk/extensions/InlineEditor/jquery.inlineEditor.basicEditor.js
@@ -82,6 +82,11 @@
8383 // create the edit field and build the edit bar
8484 var $newField = $.inlineEditor.basicEditor.newField( $field, $.inlineEditor.basicEditor.click );
8585 $.inlineEditor.basicEditor.addEditBar( $newField, wiki );
 86+
 87+ // add the wikiEditor toolbar
 88+ if ( $.fn.wikiEditor && $.wikiEditor.isSupported( $j.wikiEditor.modules.toolbar ) ) {
 89+ $.inlineEditor.configWikiEditor.configToolbar( );
 90+ }
8691 }
8792 },
8893
Index: trunk/extensions/InlineEditor/InlineEditor.php
@@ -42,6 +42,7 @@
4343 // register hooks
4444 $wgHooks['MediaWikiPerformAction'][] = 'InlineEditor::mediaWikiPerformAction';
4545 $wgHooks['EditPage::showEditForm:initial'][] = 'InlineEditor::showEditForm';
 46+$wgHooks['GetPreferences'][] = 'InlineEditor::getPreferences';
4647
4748 $wgHooks['InlineEditorPartialBeforeParse'] = array();
4849 $wgHooks['InlineEditorPartialAfterParse'] = array();
@@ -54,5 +55,9 @@
5556 $wgAjaxExportList[] = 'InlineEditor::ajaxPreview';
5657
5758 // default options
 59+$wgInlineEditorEnableGlobal = false;
5860 $wgInlineEditorBrowserBlacklist = $wgBrowserBlackList;
5961 $wgInlineEditorAllowedNamespaces = array( NS_MAIN, NS_TALK, NS_USER, NS_USER_TALK );
 62+
 63+// default user options
 64+$wgDefaultUserOptions['inline-editor-enabled'] = 1;
\ No newline at end of file
Index: trunk/extensions/InlineEditor/jquery.inlineEditor.configWikiEditor.js
@@ -0,0 +1,987 @@
 2+/**
 3+ * Configuration file for the wikiEditor Toolbar.
 4+ * @todo: FIXME: make the WikiEditor toolbar configuration portable and use that instead
 5+ * of this file!!!
 6+ */
 7+
 8+( function( $ ) { $.inlineEditor.configWikiEditor = {
 9+
 10+ /**
 11+ * Configuration for WikiEditor.
 12+ */
 13+
 14+ configToolbar: function ( ) {
 15+
 16+ // Add toolbar module
 17+ var fileNamespace = mediaWiki.config.get( 'wgFormattedNamespaces' )[6];
 18+ $( 'textarea' ).wikiEditor( 'addModule', { 'toolbar': {
 19+ // Main section
 20+ 'main': {
 21+ 'type': 'toolbar',
 22+ 'groups': {
 23+ 'format': {
 24+ 'tools': {
 25+ 'bold': {
 26+ 'labelMsg': 'wikieditor-toolbar-tool-bold',
 27+ 'type': 'button',
 28+ 'offset': {
 29+ 'default': [2, -574],
 30+ 'en': [2, -142],
 31+ 'cs': [2, -142],
 32+ 'de': [2, -214],
 33+ 'fr': [2, -286],
 34+ 'es': [2, -358],
 35+ 'he': [2, -142],
 36+ 'hu': [2, -214],
 37+ 'it': [2, -286],
 38+ 'nl': [2, -502],
 39+ 'pt': [2, -358],
 40+ 'pt-br': [2, -358],
 41+ 'pl': [2, -142],
 42+ 'ml': [2, -142]
 43+ },
 44+ 'icon': {
 45+ 'default': 'format-bold.png',
 46+ 'en': 'format-bold-B.png',
 47+ 'cs': 'format-bold-B.png',
 48+ 'de': 'format-bold-F.png',
 49+ 'fr': 'format-bold-G.png',
 50+ 'es': 'format-bold-N.png',
 51+ 'he': 'format-bold-B.png',
 52+ 'hu': 'format-bold-F.png',
 53+ 'it': 'format-bold-G.png',
 54+ 'ka': 'format-bold-ka.png',
 55+ 'nl': 'format-bold-V.png',
 56+ 'pt': 'format-bold-N.png',
 57+ 'pt-br': 'format-bold-N.png',
 58+ 'pl': 'format-bold-B.png',
 59+ 'ru': 'format-bold-ru.png',
 60+ 'ml': 'format-bold-B.png'
 61+ },
 62+ 'action': {
 63+ 'type': 'encapsulate',
 64+ 'options': {
 65+ 'pre': "'''",
 66+ 'periMsg': 'wikieditor-toolbar-tool-bold-example',
 67+ 'post': "'''"
 68+ }
 69+ }
 70+ },
 71+ 'italic': {
 72+ 'section': 'main',
 73+ 'group': 'format',
 74+ 'id': 'italic',
 75+ 'labelMsg': 'wikieditor-toolbar-tool-italic',
 76+ 'type': 'button',
 77+ 'offset': {
 78+ 'default': [2, -718],
 79+ 'en': [2, -862],
 80+ 'cs': [2, -862],
 81+ 'de': [2, -934],
 82+ 'fr': [2, -862],
 83+ 'es': [2, -790],
 84+ 'he': [2, -862],
 85+ 'it': [2, -790],
 86+ 'nl': [2, -790],
 87+ 'pt': [2, -862],
 88+ 'pt-br': [2, -862],
 89+ 'pl': [2, -862],
 90+ 'ru': [2, -934],
 91+ 'ml': [2, -862]
 92+ },
 93+ 'icon': {
 94+ 'default': 'format-italic.png',
 95+ 'en': 'format-italic-I.png',
 96+ 'cs': 'format-italic-I.png',
 97+ 'de': 'format-italic-K.png',
 98+ 'fr': 'format-italic-I.png',
 99+ 'es': 'format-italic-C.png',
 100+ 'he': 'format-italic-I.png',
 101+ 'hu': 'format-italic-D.png',
 102+ 'it': 'format-italic-C.png',
 103+ 'ka': 'format-italic-ka.png',
 104+ 'nl': 'format-italic-C.png',
 105+ 'pt': 'format-italic-I.png',
 106+ 'pt-br': 'format-italic-I.png',
 107+ 'pl': 'format-italic-I.png',
 108+ 'ru': 'format-italic-K.png',
 109+ 'ml': 'format-italic-I.png'
 110+ },
 111+ 'action': {
 112+ 'type': 'encapsulate',
 113+ 'options': {
 114+ 'pre': "''",
 115+ 'periMsg': 'wikieditor-toolbar-tool-italic-example',
 116+ 'post': "''"
 117+ }
 118+ }
 119+ }
 120+ }
 121+ },
 122+ 'insert': {
 123+ 'tools': {
 124+ 'xlink': {
 125+ 'labelMsg': 'wikieditor-toolbar-tool-xlink',
 126+ 'type': 'button',
 127+ 'icon': 'insert-xlink.png',
 128+ 'offset': [-70, 2],
 129+ 'action': {
 130+ 'type': 'encapsulate',
 131+ 'options': {
 132+ 'pre': "[",
 133+ 'periMsg': 'wikieditor-toolbar-tool-xlink-example',
 134+ 'post': "]"
 135+ }
 136+ }
 137+ },
 138+ 'ilink': {
 139+ 'labelMsg': 'wikieditor-toolbar-tool-ilink',
 140+ 'type': 'button',
 141+ 'icon': 'insert-ilink.png',
 142+ 'offset': [2, -1582],
 143+ 'action': {
 144+ 'type': 'encapsulate',
 145+ 'options': {
 146+ 'pre': "[[",
 147+ 'periMsg': 'wikieditor-toolbar-tool-ilink-example',
 148+ 'post': "]]"
 149+ }
 150+ }
 151+ },
 152+ 'file': {
 153+ 'labelMsg': 'wikieditor-toolbar-tool-file',
 154+ 'type': 'button',
 155+ 'icon': 'insert-file.png',
 156+ 'offset': [2, -1438],
 157+ 'action': {
 158+ 'type': 'encapsulate',
 159+ 'options': {
 160+ 'pre': '[[' + fileNamespace + ':',
 161+ 'periMsg': 'wikieditor-toolbar-tool-file-example',
 162+ 'post': "]]"
 163+ }
 164+ }
 165+ },
 166+ 'reference': {
 167+ 'labelMsg': 'wikieditor-toolbar-tool-reference',
 168+ 'filters': [ 'body.ns-subject' ],
 169+ 'type': 'button',
 170+ 'offset': [2, -1798],
 171+ 'icon': 'insert-reference.png',
 172+ 'action': {
 173+ 'type': 'encapsulate',
 174+ 'options': {
 175+ 'pre': "<ref>",
 176+ 'periMsg': 'wikieditor-toolbar-tool-reference-example',
 177+ 'post': "</ref>"
 178+ }
 179+ }
 180+ },
 181+ 'signature': {
 182+ 'labelMsg': 'wikieditor-toolbar-tool-signature',
 183+ 'filters': [ 'body:not(.ns-0)' ],
 184+ 'type': 'button',
 185+ 'offset': [2, -1872],
 186+ 'icon': 'insert-signature.png',
 187+ 'action': {
 188+ 'type': 'encapsulate',
 189+ 'options': {
 190+ 'pre': "--~~~~"
 191+ }
 192+ }
 193+ }
 194+
 195+ }
 196+ }
 197+
 198+
 199+ }
 200+ },
 201+ // Format section
 202+ 'advanced': {
 203+ 'labelMsg': 'wikieditor-toolbar-section-advanced',
 204+ 'type': 'toolbar',
 205+ 'groups': {
 206+ 'heading': {
 207+ 'tools': {
 208+ 'heading': {
 209+ 'labelMsg': 'wikieditor-toolbar-tool-heading',
 210+ 'type': 'select',
 211+ 'list': {
 212+ 'heading-2' : {
 213+ 'labelMsg': 'wikieditor-toolbar-tool-heading-2',
 214+ 'action': {
 215+ 'type': 'encapsulate',
 216+ 'options': {
 217+ 'pre': '== ',
 218+ 'periMsg': 'wikieditor-toolbar-tool-heading-example',
 219+ 'post': ' ==',
 220+ 'regex': /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 221+ 'regexReplace': "\$1==\$3==\$4",
 222+ 'ownline': true
 223+ }
 224+ }
 225+ },
 226+ 'heading-3' : {
 227+ 'labelMsg': 'wikieditor-toolbar-tool-heading-3',
 228+ 'action': {
 229+ 'type': 'encapsulate',
 230+ 'options': {
 231+ 'pre': '=== ',
 232+ 'periMsg': 'wikieditor-toolbar-tool-heading-example',
 233+ 'post': ' ===',
 234+ 'regex': /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 235+ 'regexReplace': "\$1===\$3===\$4",
 236+ 'ownline': true
 237+ }
 238+ }
 239+ },
 240+ 'heading-4' : {
 241+ 'labelMsg': 'wikieditor-toolbar-tool-heading-4',
 242+ 'action': {
 243+ 'type': 'encapsulate',
 244+ 'options': {
 245+ 'pre': '==== ',
 246+ 'periMsg': 'wikieditor-toolbar-tool-heading-example',
 247+ 'post': ' ====',
 248+ 'regex': /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 249+ 'regexReplace': "\$1====\$3====\$4",
 250+ 'ownline': true
 251+ }
 252+ }
 253+ },
 254+ 'heading-5' : {
 255+ 'labelMsg': 'wikieditor-toolbar-tool-heading-5',
 256+ 'action': {
 257+ 'type': 'encapsulate',
 258+ 'options': {
 259+ 'pre': '===== ',
 260+ 'periMsg': 'wikieditor-toolbar-tool-heading-example',
 261+ 'post': ' =====',
 262+ 'regex': /^(\s*)(={1,6})(.*?)\2(\s*)$/,
 263+ 'regexReplace': "\$1=====\$3=====\$4",
 264+ 'ownline': true
 265+ }
 266+ }
 267+ }
 268+ }
 269+ }
 270+ }
 271+ },
 272+ 'format': {
 273+ 'labelMsg': 'wikieditor-toolbar-group-format',
 274+ 'tools': {
 275+ 'ulist': {
 276+ 'labelMsg': 'wikieditor-toolbar-tool-ulist',
 277+ 'type': 'button',
 278+ 'icon': 'format-ulist.png',
 279+ 'offset': [2, -1366],
 280+ 'action': {
 281+ 'type': 'encapsulate',
 282+ 'options': {
 283+ 'pre': "* ",
 284+ 'periMsg': 'wikieditor-toolbar-tool-ulist-example',
 285+ 'post': "",
 286+ 'ownline': true
 287+ }
 288+ }
 289+ },
 290+ 'olist': {
 291+ 'labelMsg': 'wikieditor-toolbar-tool-olist',
 292+ 'type': 'button',
 293+ 'icon': 'format-olist.png',
 294+ 'offset': [2, -1078],
 295+ 'action': {
 296+ 'type': 'encapsulate',
 297+ 'options': {
 298+ 'pre': "# ",
 299+ 'periMsg': 'wikieditor-toolbar-tool-olist-example',
 300+ 'post': "",
 301+ 'ownline': true
 302+ }
 303+ }
 304+ },
 305+ 'indent': {
 306+ 'labelMsg': 'wikieditor-toolbar-tool-indent',
 307+ 'type': 'button',
 308+ 'icon': 'format-indent.png',
 309+ 'offset': [2, -646],
 310+ 'action': {
 311+ 'type': 'encapsulate',
 312+ 'options': {
 313+ 'pre': ":",
 314+ 'periMsg': 'wikieditor-toolbar-tool-indent-example',
 315+ 'post': "",
 316+ 'ownline': true,
 317+ 'splitlines': true
 318+ }
 319+ }
 320+ },
 321+ 'nowiki': {
 322+ 'labelMsg': 'wikieditor-toolbar-tool-nowiki',
 323+ 'type': 'button',
 324+ 'icon': 'insert-nowiki.png',
 325+ 'offset': [-70, -70],
 326+ 'action': {
 327+ 'type': 'encapsulate',
 328+ 'options': {
 329+ 'pre': "<nowiki>",
 330+ 'periMsg': 'wikieditor-toolbar-tool-nowiki-example',
 331+ 'post': "</nowiki>"
 332+ }
 333+ }
 334+ },
 335+ 'newline': {
 336+ 'labelMsg': 'wikieditor-toolbar-tool-newline',
 337+ 'type': 'button',
 338+ 'icon': 'insert-newline.png',
 339+ 'offset': [2, -1726],
 340+ 'action': {
 341+ 'type': 'encapsulate',
 342+ 'options': {
 343+ 'pre': "<br />\n"
 344+ }
 345+ }
 346+ }
 347+ }
 348+ },
 349+ 'size': {
 350+ 'tools': {
 351+ 'big': {
 352+ 'labelMsg': 'wikieditor-toolbar-tool-big',
 353+ 'type': 'button',
 354+ 'icon': 'format-big.png',
 355+ 'offset': [2, 2],
 356+ 'action': {
 357+ 'type': 'encapsulate',
 358+ 'options': {
 359+ 'pre': "<big>",
 360+ 'periMsg': 'wikieditor-toolbar-tool-big-example',
 361+ 'post': "</big>"
 362+ }
 363+ }
 364+ },
 365+ 'small': {
 366+ 'labelMsg': 'wikieditor-toolbar-tool-small',
 367+ 'type': 'button',
 368+ 'icon': 'format-small.png',
 369+ 'offset': [2, -1150],
 370+ 'action': {
 371+ 'type': 'encapsulate',
 372+ 'options': {
 373+ 'pre': "<small>",
 374+ 'periMsg': 'wikieditor-toolbar-tool-small-example',
 375+ 'post': "</small>"
 376+ }
 377+ }
 378+ },
 379+ 'superscript': {
 380+ 'labelMsg': 'wikieditor-toolbar-tool-superscript',
 381+ 'type': 'button',
 382+ 'icon': 'format-superscript.png',
 383+ 'offset': [2, -1294],
 384+ 'action': {
 385+ 'type': 'encapsulate',
 386+ 'options': {
 387+ 'pre': "<sup>",
 388+ 'periMsg': 'wikieditor-toolbar-tool-superscript-example',
 389+ 'post': "</sup>"
 390+ }
 391+ }
 392+ },
 393+ 'subscript': {
 394+ 'labelMsg': 'wikieditor-toolbar-tool-subscript',
 395+ 'type': 'button',
 396+ 'icon': 'format-subscript.png',
 397+ 'offset': [2, -1222],
 398+ 'action': {
 399+ 'type': 'encapsulate',
 400+ 'options': {
 401+ 'pre': "<sub>",
 402+ 'periMsg': 'wikieditor-toolbar-tool-subscript-example',
 403+ 'post': "</sub>"
 404+ }
 405+ }
 406+ }
 407+ }
 408+ },
 409+ 'insert': {
 410+ 'labelMsg': 'wikieditor-toolbar-group-insert',
 411+ 'tools': {
 412+ 'gallery': {
 413+ 'labelMsg': 'wikieditor-toolbar-tool-gallery',
 414+ 'type': 'button',
 415+ 'icon': 'insert-gallery.png',
 416+ 'offset': [2, -1510],
 417+ 'action': {
 418+ 'type': 'encapsulate',
 419+ 'options': {
 420+ 'pre': "<gallery>\n",
 421+ 'periMsg': [
 422+ 'wikieditor-toolbar-tool-gallery-example', fileNamespace
 423+ ],
 424+ 'post': "\n</gallery>",
 425+ 'ownline': true
 426+ }
 427+ }
 428+ },
 429+ 'table': {
 430+ 'labelMsg': 'wikieditor-toolbar-tool-table',
 431+ 'type': 'button',
 432+ 'icon': 'insert-table.png',
 433+ 'offset': [2, -1942],
 434+ 'filters': [ '#wpTextbox1:not(.toolbar-dialogs)' ],
 435+ 'action': {
 436+ 'type': 'encapsulate',
 437+ 'options': {
 438+ 'pre': "{| class=\"wikitable\" border=\"1\"\n|",
 439+ 'periMsg': 'wikieditor-toolbar-tool-table-example-old',
 440+ 'post': "\n|}",
 441+ 'ownline': true
 442+ }
 443+ }
 444+ },
 445+ 'redirect': {
 446+ 'labelMsg': 'wikieditor-toolbar-tool-redirect',
 447+ 'type': 'button',
 448+ 'icon': 'insert-redirect.png',
 449+ 'offset': [-70, -142],
 450+ 'action': {
 451+ 'type': 'encapsulate',
 452+ 'options': {
 453+ 'pre': "#REDIRECT [[",
 454+ 'periMsg': 'wikieditor-toolbar-tool-redirect-example',
 455+ 'post': "]]",
 456+ 'ownline': true
 457+ }
 458+ }
 459+ }
 460+ }
 461+ }
 462+ }
 463+ },
 464+ 'characters': {
 465+ 'labelMsg': 'wikieditor-toolbar-section-characters',
 466+ 'type': 'booklet',
 467+ 'deferLoad': true,
 468+ 'pages': {
 469+ 'latin': {
 470+ 'labelMsg': 'wikieditor-toolbar-characters-page-latin',
 471+ 'layout': 'characters',
 472+ 'characters': [
 473+ "\u00c1", "\u00e1", "\u00c0", "\u00e0", "\u00c2", "\u00e2", "\u00c4", "\u00e4", "\u00c3",
 474+ "\u00e3", "\u01cd", "\u01ce", "\u0100", "\u0101", "\u0102", "\u0103", "\u0104", "\u0105",
 475+ "\u00c5", "\u00e5", "\u0106", "\u0107", "\u0108", "\u0109", "\u00c7", "\u00e7", "\u010c",
 476+ "\u010d", "\u010a", "\u010b", "\u0110", "\u0111", "\u010e", "\u010f", "\u00c9", "\u00e9",
 477+ "\u00c8", "\u00e8", "\u00ca", "\u00ea", "\u00cb", "\u00eb", "\u011a", "\u011b", "\u0112",
 478+ "\u0113", "\u0114", "\u0115", "\u0116", "\u0117", "\u0118", "\u0119", "\u011c", "\u011d",
 479+ "\u0122", "\u0123", "\u011e", "\u011f", "\u0120", "\u0121", "\u0124", "\u0125", "\u0126",
 480+ "\u0127", "\u00cd", "\u00ed", "\u00cc", "\u00ec", "\u00ce", "\u00ee", "\u00cf", "\u00ef",
 481+ "\u0128", "\u0129", "\u01cf", "\u01d0", "\u012a", "\u012b", "\u012c", "\u012d", "\u0130",
 482+ "\u0131", "\u012e", "\u012f", "\u0134", "\u0135", "\u0136", "\u0137", "\u0139", "\u013a",
 483+ "\u013b", "\u013c", "\u013d", "\u013e", "\u0141", "\u0142", "\u013f", "\u0140", "\u0143",
 484+ "\u0144", "\u00d1", "\u00f1", "\u0145", "\u0146", "\u0147", "\u0148", "\u00d3", "\u00f3",
 485+ "\u00d2", "\u00f2", "\u00d4", "\u00f4", "\u00d6", "\u00f6", "\u00d5", "\u00f5", "\u01d1",
 486+ "\u01d2", "\u014c", "\u014d", "\u014e", "\u014f", "\u01ea", "\u01eb", "\u0150", "\u0151",
 487+ "\u0154", "\u0155", "\u0156", "\u0157", "\u0158", "\u0159", "\u015a", "\u015b", "\u015c",
 488+ "\u015d", "\u015e", "\u015f", "\u0160", "\u0161", "\u0162", "\u0163", "\u0164", "\u0165",
 489+ "\u00da", "\u00fa", "\u00d9", "\u00f9", "\u00db", "\u00fb", "\u00dc", "\u00fc", "\u0168",
 490+ "\u0169", "\u016e", "\u016f", "\u01d3", "\u01d4", "\u016a", "\u016b", "\u01d6", "\u01d8",
 491+ "\u01da", "\u01dc", "\u016c", "\u016d", "\u0172", "\u0173", "\u0170", "\u0171", "\u0174",
 492+ "\u0175", "\u00dd", "\u00fd", "\u0176", "\u0177", "\u0178", "\u00ff", "\u0232", "\u0233",
 493+ "\u0179", "\u017a", "\u017d", "\u017e", "\u017b", "\u017c", "\u00c6", "\u00e6", "\u01e2",
 494+ "\u01e3", "\u00d8", "\u00f8", "\u0152", "\u0153", "\u00df", "\u00f0", "\u00de", "\u00fe",
 495+ "\u018f", "\u0259"
 496+ ]
 497+ },
 498+ 'latinextended': {
 499+ 'labelMsg': 'wikieditor-toolbar-characters-page-latinextended',
 500+ 'layout': 'characters',
 501+ 'characters': [
 502+ "\u1e00", "\u1e01", "\u1e9a", "\u1ea0", "\u1ea1", "\u1ea2", "\u1ea3", "\u1ea4", "\u1ea5",
 503+ "\u1ea6", "\u1ea7", "\u1ea8", "\u1ea9", "\u1eaa", "\u1eab", "\u1eac", "\u1ead", "\u1eae",
 504+ "\u1eaf", "\u1eb0", "\u1eb1", "\u1eb2", "\u1eb3", "\u1eb4", "\u1eb5", "\u1eb6", "\u1eb7",
 505+ "\u1e02", "\u1e03", "\u1e04", "\u1e05", "\u1e06", "\u1e07", "\u1e08", "\u1e09", "\u1e0a",
 506+ "\u1e0b", "\u1e0c", "\u1e0d", "\u1e0e", "\u1e0f", "\u1e10", "\u1e11", "\u1e12", "\u1e13",
 507+ "\u1e14", "\u1e15", "\u1e16", "\u1e17", "\u1e18", "\u1e19", "\u1e1a", "\u1e1b", "\u1e1c",
 508+ "\u1e1d", "\u1eb8", "\u1eb9", "\u1eba", "\u1ebb", "\u1ebc", "\u1ebd", "\u1ebe", "\u1ebf",
 509+ "\u1ec0", "\u1ec1", "\u1ec2", "\u1ec3", "\u1ec4", "\u1ec5", "\u1ec6", "\u1ec7", "\u1e1e",
 510+ "\u1e1f", "\u1e20", "\u1e21", "\u1e22", "\u1e23", "\u1e24", "\u1e25", "\u1e26", "\u1e27",
 511+ "\u1e28", "\u1e29", "\u1e2a", "\u1e2b", "\u1e96", "\u1e2c", "\u1e2d", "\u1e2e", "\u1e2f",
 512+ "\u1ec8", "\u1ec9", "\u1eca", "\u1ecb", "\u1e30", "\u1e31", "\u1e32", "\u1e33", "\u1e34",
 513+ "\u1e35", "\u1e36", "\u1e37", "\u1e38", "\u1e39", "\u1e3a", "\u1e3b", "\u1e3c", "\u1e3d",
 514+ "\u1efa", "\u1efb", "\u1e3e", "\u1e3f", "\u1e40", "\u1e41", "\u1e42", "\u1e43", "\u1e44",
 515+ "\u1e45", "\u1e46", "\u1e47", "\u1e48", "\u1e49", "\u1e4a", "\u1e4b", "\u1e4c", "\u1e4d",
 516+ "\u1e4e", "\u1e4f", "\u1e50", "\u1e51", "\u1e52", "\u1e53", "\u1ecc", "\u1ecd", "\u1ece",
 517+ "\u1ecf", "\u1ed0", "\u1ed1", "\u1ed2", "\u1ed3", "\u1ed4", "\u1ed5", "\u1ed6", "\u1ed7",
 518+ "\u1ed8", "\u1ed9", "\u1eda", "\u1edb", "\u1edc", "\u1edd", "\u1ede", "\u1edf", "\u1ee0",
 519+ "\u1ee1", "\u1ee2", "\u1ee3", "\u1e54", "\u1e55", "\u1e56", "\u1e57", "\u1e58", "\u1e59",
 520+ "\u1e5a", "\u1e5b", "\u1e5c", "\u1e5d", "\u1e5e", "\u1e5f", "\u1e60", "\u1e61", "\u1e9b",
 521+ "\u1e62", "\u1e63", "\u1e64", "\u1e65", "\u1e66", "\u1e67", "\u1e68", "\u1e69", "\u1e9c",
 522+ "\u1e9d", "\u1e6a", "\u1e6b", "\u1e6c", "\u1e6d", "\u1e6e", "\u1e6f", "\u1e70", "\u1e71",
 523+ "\u1e97", "\u1e72", "\u1e73", "\u1e74", "\u1e75", "\u1e76", "\u1e77", "\u1e78", "\u1e79",
 524+ "\u1e7a", "\u1e7b", "\u1ee4", "\u1ee5", "\u1ee6", "\u1ee7", "\u1ee8", "\u1ee9", "\u1eea",
 525+ "\u1eeb", "\u1eec", "\u1eed", "\u1eee", "\u1eef", "\u1ef0", "\u1ef1", "\u1e7c", "\u1e7d",
 526+ "\u1e7e", "\u1e7f", "\u1efc", "\u1efd", "\u1e80", "\u1e81", "\u1e82", "\u1e83", "\u1e84",
 527+ "\u1e85", "\u1e86", "\u1e87", "\u1e88", "\u1e89", "\u1e98", "\u1e8a", "\u1e8b", "\u1e8c",
 528+ "\u1e8d", "\u1e8e", "\u1e8f", "\u1e99", "\u1ef2", "\u1ef3", "\u1ef4", "\u1ef5", "\u1ef6",
 529+ "\u1ef7", "\u1ef8", "\u1ef9", "\u1efe", "\u1eff", "\u1e90", "\u1e91", "\u1e92", "\u1e93",
 530+ "\u1e94", "\u1e95", "\u1e9e", "\u1e9f"
 531+ ]
 532+ },
 533+ 'ipa': {
 534+ 'labelMsg': 'wikieditor-toolbar-characters-page-ipa',
 535+ 'layout': 'characters',
 536+ 'characters': [
 537+ "p", "t\u032a", "t", "\u0288", "c", "k", "q", "\u02a1", "\u0294", "b","d\u032a", "d", "\u0256",
 538+ "\u025f", "\u0261", "\u0262", "\u0253", "\u0257", "\u0284", "\u0260", "\u029b", "t\u0361s",
 539+ "t\u0361\u0283", "t\u0361\u0255", "d\u0361z", "d\u0361\u0292", "d\u0361\u0291", "\u0278", "f",
 540+ "\u03b8", "s", "\u0283", "\u0285", "\u0286", "\u0282", "\u0255", "\u00e7", "\u0267", "x",
 541+ "\u03c7", "\u0127", "\u029c", "h", "\u03b2", "v", "\u028d", "\u00f0", "z", "\u0292", "\u0293",
 542+ "\u0290", "\u0291", "\u029d", "\u0263", "\u0281", "\u0295", "\u0296", "\u02a2", "\u0266",
 543+ "\u026c", "\u026e", "m", "m\u0329", "\u0271", "\u0271\u0329", "\u0271\u030d", "n\u032a",
 544+ "n\u032a\u030d", "n", "n\u0329", "\u0273", "\u0273\u0329", "\u0272", "\u0272\u0329", "\u014b",
 545+ "\u014b\u030d", "\u014b\u0329", "\u0274", "\u0274\u0329", "\u0299", "\u0299\u0329", "r",
 546+ "r\u0329", "\u0280", "\u0280\u0329", "\u027e", "\u027d", "\u027f", "\u027a", "l\u032a",
 547+ "l\u032a\u0329", "l", "l\u0329", "\u026b", "\u026b\u0329", "\u026d", "\u026d\u0329", "\u028e",
 548+ "\u028e\u0329", "\u029f", "\u029f\u0329", "w", "\u0265", "\u028b", "\u0279", "\u027b", "j",
 549+ "\u0270", "\u0298", "\u01c2", "\u01c0", "!", "\u01c1", "\u02b0", "\u02b1", "\u02b7", "\u02b8",
 550+ "\u02b2", "\u02b3", "\u207f", "\u02e1", "\u02b4", "\u02b5", "\u02e2", "\u02e3", "\u02e0",
 551+ "\u02b6", "\u02e4", "\u02c1", "\u02c0", "\u02bc", "i", "i\u032f", "\u0129", "y", "y\u032f",
 552+ "\u1ef9", "\u026a", "\u026a\u032f", "\u026a\u0303", "\u028f", "\u028f\u032f", "\u028f\u0303",
 553+ "\u0268", "\u0268\u032f", "\u0268\u0303", "\u0289", "\u0289\u032f", "\u0289\u0303", "\u026f",
 554+ "\u026f\u032f", "\u026f\u0303", "u", "u\u032f", "\u0169", "\u028a", "\u028a\u032f",
 555+ "\u028a\u0303", "e", "e\u032f", "\u1ebd", "\u00f8", "\u00f8\u032f", "\u00f8\u0303", "\u0258",
 556+ "\u0258\u032f", "\u0258\u0303", "\u0275", "\u0275\u032f", "\u0275\u0303", "\u0264",
 557+ "\u0264\u032f", "\u0264\u0303", "o", "o\u032f", "\u00f5", "\u025b", "\u025b\u032f",
 558+ "\u025b\u0303", "\u0153", "\u0153\u032f", "\u0153\u0303", "\u025c", "\u025c\u032f",
 559+ "\u025c\u0303", "\u0259", "\u0259\u032f", "\u0259\u0303", "\u025e", "\u025e\u032f",
 560+ "\u025e\u0303", "\u028c", "\u028c\u032f", "\u028c\u0303", "\u0254", "\u0254\u032f",
 561+ "\u0254\u0303", "\u00e6", "\u00e6\u032f", "\u00e6\u0303", "\u0276", "\u0276\u032f",
 562+ "\u0276\u0303", "a", "a\u032f", "\u00e3", "\u0250", "\u0250\u032f", "\u0250\u0303", "\u0251",
 563+ "\u0251\u032f", "\u0251\u0303", "\u0252", "\u0252\u032f", "\u0252\u0303", "\u02c8", "\u02cc",
 564+ "\u02d0", "\u02d1", "\u02d8", ".", "\u203f", "|", "\u2016"
 565+ ]
 566+ },
 567+ 'symbols': {
 568+ 'labelMsg': 'wikieditor-toolbar-characters-page-symbols',
 569+ 'layout': 'characters',
 570+ 'characters': [
 571+ "~", "|", "\u00a1", "\u00bf", "\u2020", "\u2021", "\u2194", "\u2191", "\u2193", "\u2022",
 572+ "\u00b6", "#", "\u00bd", "\u2153", "\u2154", "\u00bc", "\u00be", "\u215b", "\u215c", "\u215d",
 573+ "\u215e", "\u221e", "\u2018", "\u2019",
 574+ {
 575+ 'label': "\u201c\u201d",
 576+ 'action': {
 577+ 'type': 'encapsulate', 'options': { 'pre': "\u201c", 'post': "\u201d" }
 578+ }
 579+ },
 580+ {
 581+ 'label': "\u201e\u201c",
 582+ 'action': {
 583+ 'type': 'encapsulate', 'options': { 'pre': "\u201e", 'post': "\u201c" }
 584+ }
 585+ },
 586+ {
 587+ 'label': "\u00ab\u00bb",
 588+ 'action': {
 589+ 'type': 'encapsulate', 'options': { 'pre': "\u00ab", 'post': "\u00bb" }
 590+ }
 591+ },
 592+ "\u00a4", "\u20b3", "\u0e3f", "\u20b5", "\u00a2", "\u20a1", "\u20a2", "$", "\u20ab", "\u20af",
 593+ "\u20ac", "\u20a0", "\u20a3", "\u0192", "\u20b4", "\u20ad", "\u20a4", "\u2133", "\u20a5",
 594+ "\u20a6", "\u2116", "\u20a7", "\u20b0", "\u00a3", "\u17db", "\u20a8", "\u20aa", "\u09f3",
 595+ "\u20ae", "\u20a9", "\u00a5", "\u2660", "\u2663", "\u2665", "\u2666", "m\u00b2", "m\u00b3",
 596+ "\u2013", "\u2014", "\u2026", "\u2018", "\u2019", "\u201c", "\u201d", "\u00b0", "\u2032",
 597+ "\u2033", "\u2248", "\u2260", "\u2264", "\u2265", "\u00b1", "\u2212", "\u00d7", "\u00f7",
 598+ "\u2190", "\u2192", "\u00b7", "\u00a7"
 599+ ]
 600+ },
 601+ 'greek': {
 602+ 'labelMsg': 'wikieditor-toolbar-characters-page-greek',
 603+ 'layout': 'characters',
 604+ 'language': 'hl',
 605+ 'characters': [
 606+ "\u0391", "\u0386", "\u03b1", "\u03ac", "\u0392", "\u03b2", "\u0393", "\u03b3", "\u0394",
 607+ "\u03b4", "\u0395", "\u0388", "\u03b5", "\u03ad", "\u0396", "\u03b6", "\u0397", "\u0389",
 608+ "\u03b7", "\u03ae", "\u0398", "\u03b8", "\u0399", "\u038a", "\u03b9", "\u03af", "\u039a",
 609+ "\u03ba", "\u039b", "\u03bb", "\u039c", "\u03bc", "\u039d", "\u03bd", "\u039e", "\u03be",
 610+ "\u039f", "\u038c", "\u03bf", "\u03cc", "\u03a0", "\u03c0", "\u03a1", "\u03c1", "\u03a3",
 611+ "\u03c3", "\u03c2", "\u03a4", "\u03c4", "\u03a5", "\u038e", "\u03c5", "\u03cd", "\u03a6",
 612+ "\u03c6", "\u03a7", "\u03c7", "\u03a8", "\u03c8", "\u03a9", "\u038f", "\u03c9", "\u03ce"
 613+ ]
 614+ },
 615+ 'cyrillic': {
 616+ 'labelMsg': 'wikieditor-toolbar-characters-page-cyrillic',
 617+ 'layout': 'characters',
 618+ 'characters': [
 619+ "\u0410", "\u0430", "\u04d8", "\u04d9", "\u0411", "\u0431", "\u0412", "\u0432", "\u0413",
 620+ "\u0433", "\u0490", "\u0491", "\u0403", "\u0453", "\u0492", "\u0493", "\u0414", "\u0434",
 621+ "\u0402", "\u0452", "\u0415", "\u0435", "\u0404", "\u0454", "\u0401", "\u0451", "\u0416",
 622+ "\u0436", "\u0417", "\u0437", "\u0405", "\u0455", "\u0418", "\u0438", "\u0406", "\u0456",
 623+ "\u0407", "\u0457", "\u04c0", "\u0419", "\u0439", "\u04e2", "\u04e3", "\u0408", "\u0458",
 624+ "\u041a", "\u043a", "\u040c", "\u045c", "\u049a", "\u049b", "\u041b", "\u043b", "\u0409",
 625+ "\u0459", "\u041c", "\u043c", "\u041d", "\u043d", "\u040a", "\u045a", "\u04a2", "\u04a3",
 626+ "\u041e", "\u043e", "\u04e8", "\u04e9", "\u041f", "\u043f", "\u0420", "\u0440", "\u0421",
 627+ "\u0441", "\u0422", "\u0442", "\u040b", "\u045b", "\u0423", "\u0443", "\u040e", "\u045e",
 628+ "\u04ee", "\u04ef", "\u04b0", "\u04b1", "\u04ae", "\u04af", "\u0424", "\u0444", "\u0425",
 629+ "\u0445", "\u04b2", "\u04b3", "\u04ba", "\u04bb", "\u0426", "\u0446", "\u0427", "\u0447",
 630+ "\u04b6", "\u04b7", "\u040f", "\u045f", "\u0428", "\u0448", "\u0429", "\u0449", "\u042a",
 631+ "\u044a", "\u042b", "\u044b", "\u042c", "\u044c", "\u042d", "\u044d", "\u042e", "\u044e",
 632+ "\u042f", "\u044f"
 633+ ]
 634+ },
 635+ 'arabic': {
 636+ 'labelMsg': 'wikieditor-toolbar-characters-page-arabic',
 637+ 'layout': 'characters',
 638+ 'language': 'ar',
 639+ 'direction': 'rtl',
 640+ 'characters': [
 641+ "\u061b", "\u061f", "\u0621", "\u0622", "\u0623", "\u0624", "\u0625", "\u0626", "\u0627",
 642+ "\u0628", "\u0629", "\u062a", "\u062b", "\u062c", "\u062d", "\u062e", "\u062f", "\u0630",
 643+ "\u0631", "\u0632", "\u0633", "\u0634", "\u0635", "\u0636", "\u0637", "\u0638", "\u0639",
 644+ "\u063a", "\u0641", "\u0642", "\u0643", "\u0644", "\u0645", "\u0646", "\u0647", "\u0648",
 645+ "\u0649", "\u064a", "\u060c", "\u067e", "\u0686", "\u0698", "\u06af", "\u06ad"
 646+ ]
 647+ },
 648+ 'hebrew': {
 649+ 'labelMsg': 'wikieditor-toolbar-characters-page-hebrew',
 650+ 'layout': 'characters',
 651+ 'direction': 'rtl',
 652+ 'characters': [
 653+ "\u05d0", "\u05d1", "\u05d2", "\u05d3", "\u05d4", "\u05d5", "\u05d6", "\u05d7", "\u05d8",
 654+ "\u05d9", "\u05db", "\u05da", "\u05dc", "\u05de", "\u05dd", "\u05e0", "\u05df", "\u05e1",
 655+ "\u05e2", "\u05e4", "\u05e3", "\u05e6", "\u05e5", "\u05e7", "\u05e8", "\u05e9", "\u05ea",
 656+ "\u05f3", "\u05f4", "\u05f0", "\u05f1", "\u05f2", "\u05d0", "\u05d3", "\u05d4", "\u05d5",
 657+ "\u05d6", "\u05d7", "\u05d8", "\u05d9", "\u05da", "\u05db", "\u05dc", "\u05dd", "\u05de",
 658+ "\u05df", "\u05e0", "\u05e1", "\u05e2", "\u05e3", "\u05e4", "\u05be", "\u05f3", "\u05f4",
 659+ [ "\u05b0\u25cc", "\u05b0" ], [ "\u05b1\u25cc", "\u05b1" ], [ "\u05b2\u25cc", "\u05b2" ],
 660+ [ "\u05b3\u25cc", "\u05b3" ], [ "\u05b4\u25cc", "\u05b4" ], [ "\u05b5\u25cc", "\u05b5" ],
 661+ [ "\u05b6\u25cc", "\u05b6" ], [ "\u05b7\u25cc", "\u05b7" ], [ "\u05b8\u25cc", "\u05b8" ],
 662+ [ "\u05b9\u25cc", "\u05b9" ], [ "\u05bb\u25cc", "\u05bb" ], [ "\u05bc\u25cc", "\u05bc" ],
 663+ [ "\u05c1\u25cc", "\u05c1" ], [ "\u05c2\u25cc", "\u05c2" ], [ "\u05c7\u25cc", "\u05c7" ],
 664+ [ "\u0591\u25cc", "\u0591" ], [ "\u0592\u25cc", "\u0592" ], [ "\u0593\u25cc", "\u0593" ],
 665+ [ "\u0594\u25cc", "\u0594" ], [ "\u0595\u25cc", "\u0595" ], [ "\u0596\u25cc", "\u0596" ],
 666+ [ "\u0597\u25cc", "\u0597" ], [ "\u0598\u25cc", "\u0598" ], [ "\u0599\u25cc", "\u0599" ],
 667+ [ "\u059a\u25cc", "\u059a" ], [ "\u059b\u25cc", "\u059b" ], [ "\u059c\u25cc", "\u059c" ],
 668+ [ "\u059d\u25cc", "\u059d" ], [ "\u059e\u25cc", "\u059e" ], [ "\u059f\u25cc", "\u059f" ],
 669+ [ "\u05a0\u25cc", "\u05a0" ], [ "\u05a1\u25cc", "\u05a1" ], [ "\u05a2\u25cc", "\u05a2" ],
 670+ [ "\u05a3\u25cc", "\u05a3" ], [ "\u05a4\u25cc", "\u05a4" ], [ "\u05a5\u25cc", "\u05a5" ],
 671+ [ "\u05a6\u25cc", "\u05a6" ], [ "\u05a7\u25cc", "\u05a7" ], [ "\u05a8\u25cc", "\u05a8" ],
 672+ [ "\u05a9\u25cc", "\u05a9" ], [ "\u05aa\u25cc", "\u05aa" ], [ "\u05ab\u25cc", "\u05ab" ],
 673+ [ "\u05ac\u25cc", "\u05ac" ], [ "\u05ad\u25cc", "\u05ad" ], [ "\u05ae\u25cc", "\u05ae" ],
 674+ [ "\u05af\u25cc", "\u05af" ], [ "\u05bf\u25cc", "\u05bf" ], [ "\u05c0\u25cc", "\u05c0" ],
 675+ [ "\u05c3\u25cc", "\u05c3" ]
 676+ ]
 677+ },
 678+ 'bangla': {
 679+ 'labelMsg': 'wikieditor-toolbar-characters-page-bangla',
 680+ 'language': 'bn',
 681+ 'layout': 'characters',
 682+ 'characters': [
 683+ "\u0985", "\u0986", "\u0987", "\u0988", "\u0989", "\u098a", "\u098b", "\u098f", "\u0990",
 684+ "\u0993", "\u0994", "\u09be", "\u09bf", "\u09c0", "\u09c1", "\u09c2", "\u09c3", "\u09c7",
 685+ "\u09c8", "\u09cb", "\u09cc", "\u0995", "\u0996", "\u0997", "\u0998", "\u0999", "\u099a",
 686+ "\u099b", "\u099c", "\u099d", "\u099e", "\u099f", "\u09a0", "\u09a1", "\u09a2", "\u09a3",
 687+ "\u09a4", "\u09a5", "\u09a6", "\u09a7", "\u09a8", "\u09aa", "\u09ab", "\u09ac", "\u09ad",
 688+ "\u09ae", "\u09af", "\u09b0", "\u09b2", "\u09b6", "\u09b7", "\u09b8", "\u09b9", "\u09a1\u09bc",
 689+ "\u09a2\u09bc", "\u09af\u09bc", "\u09ce", "\u0982", "\u0983", "\u0981", "\u09cd", "\u09e7",
 690+ "\u09e8", "\u09e9", "\u09ea", "\u09eb", "\u09ec", "\u09ed", "\u09ee", "\u09ef", "\u09e6"
 691+ ]
 692+ },
 693+ 'telugu': {
 694+ 'labelMsg': 'wikieditor-toolbar-characters-page-telugu',
 695+ 'language': 'te',
 696+ 'layout': 'characters',
 697+ 'characters': [
 698+ "\u0c01", "\u0c02", "\u0c03", "\u0c05", "\u0c06", "\u0c07", "\u0c08", "\u0c09", "\u0c0a",
 699+ "\u0c0b", "\u0c60", "\u0c0c", "\u0c61", "\u0c0e", "\u0c0f", "\u0c10", "\u0c12", "\u0c13",
 700+ "\u0c14", "\u0c15", "\u0c16", "\u0c17", "\u0c18", "\u0c19", "\u0c1a", "\u0c1b", "\u0c1c",
 701+ "\u0c1d", "\u0c1e", "\u0c1f", "\u0c20", "\u0c21", "\u0c22", "\u0c23", "\u0c24", "\u0c25",
 702+ "\u0c26", "\u0c27", "\u0c28", "\u0c2a", "\u0c2b", "\u0c2c", "\u0c2d", "\u0c2e", "\u0c2f",
 703+ "\u0c30", "\u0c31", "\u0c32", "\u0c33", "\u0c35", "\u0c36", "\u0c37", "\u0c38", "\u0c39",
 704+ "\u0c3e", "\u0c3f", "\u0c40", "\u0c41", "\u0c42", "\u0c43", "\u0c44", "\u0c46", "\u0c47",
 705+ "\u0c48", "\u0c4a", "\u0c4b", "\u0c4c", "\u0c4d", "\u0c62", "\u0c63", "\u0c58", "\u0c59",
 706+ "\u0c66", "\u0c67", "\u0c68", "\u0c69", "\u0c6a", "\u0c6b", "\u0c6c", "\u0c6d", "\u0c6e",
 707+ "\u0c6f", "\u0c3d", "\u0c78", "\u0c79", "\u0c7a", "\u0c7b", "\u0c7c", "\u0c7d", "\u0c7e",
 708+ "\u0c7f"
 709+ ]
 710+ },
 711+ 'sinhala': {
 712+ 'labelMsg': 'wikieditor-toolbar-characters-page-sinhala',
 713+ 'language': 'si',
 714+ 'layout': 'characters',
 715+ 'characters': [
 716+ "\u0d85", "\u0d86", "\u0d87", "\u0d88", "\u0d89", "\u0d8a", "\u0d8b", "\u0d8c", "\u0d8d",
 717+ "\u0d8e", "\u0d8f", "\u0d90", "\u0d91", "\u0d92", "\u0d93", "\u0d94", "\u0d95", "\u0d96",
 718+ "\u0d9a", "\u0d9b", "\u0d9c", "\u0d9d", "\u0d9e", "\u0d9f", "\u0da0", "\u0da1", "\u0da2",
 719+ "\u0da3", "\u0da4", "\u0da5", "\u0da6", "\u0da7", "\u0da8", "\u0da9", "\u0daa", "\u0dab",
 720+ "\u0dac", "\u0dad", "\u0dae", "\u0daf", "\u0db0", "\u0db1", "\u0db3", "\u0db4", "\u0db5",
 721+ "\u0db6", "\u0db7", "\u0db8", "\u0db9", "\u0dba", "\u0dbb", "\u0dbd", "\u0dc0", "\u0dc1",
 722+ "\u0dc2", "\u0dc3", "\u0dc4", "\u0dc5", "\u0dc6",
 723+ [ "\u25cc\u0dcf", "\u0dcf" ], [ "\u25cc\u0dd0", "\u0dd0" ], [ "\u25cc\u0dd1", "\u0dd1" ],
 724+ [ "\u25cc\u0dd2", "\u0dd2" ], [ "\u25cc\u0dd3", "\u0dd3" ], [ "\u25cc\u0dd4", "\u0dd4" ],
 725+ [ "\u25cc\u0dd6", "\u0dd6" ], [ "\u25cc\u0dd8", "\u0dd8" ], [ "\u25cc\u0df2", "\u0df2" ],
 726+ [ "\u25cc\u0ddf", "\u0ddf" ], [ "\u25cc\u0df3", "\u0df3" ], [ "\u25cc\u0dd9", "\u0dd9" ],
 727+ [ "\u25cc\u0dda", "\u0dda" ], [ "\u25cc\u0ddc", "\u0ddc" ], [ "\u25cc\u0ddd", "\u0ddd" ],
 728+ [ "\u25cc\u0dde", "\u0dde" ], [ "\u25cc\u0dca", "\u0dca" ]
 729+ ]
 730+ },
 731+ 'gujarati': {
 732+ 'labelMsg': 'wikieditor-toolbar-characters-page-gujarati',
 733+ 'language': 'gu',
 734+ 'layout': 'characters',
 735+ 'characters': [
 736+ "\u0ad0", "\u0a85", "\u0a86", "\u0a87", "\u0a88", "\u0a89", "\u0a8a", "\u0a8b", "\u0ae0",
 737+ "\u0a8c", "\u0ae1", "\u0a8d", "\u0a8f", "\u0a90", "\u0a91", "\u0a93", "\u0a94", "\u0a95",
 738+ "\u0a96", "\u0a97", "\u0a98", "\u0a99", "\u0a9a", "\u0a9b", "\u0a9c", "\u0a9d", "\u0a9e",
 739+ "\u0a9f", "\u0aa0", "\u0aa1", "\u0aa2", "\u0aa3", "\u0aa4", "\u0aa5", "\u0aa6", "\u0aa7",
 740+ "\u0aa8", "\u0aaa", "\u0aab", "\u0aac", "\u0aad", "\u0aae", "\u0aaf", "\u0ab0", "\u0ab2",
 741+ "\u0ab5", "\u0ab6", "\u0ab7", "\u0ab8", "\u0ab9", "\u0ab3", "\u0abd",
 742+ [ "\u25cc\u0abe", "\u0abe" ], [ "\u25cc\u0abf", "\u0abf" ], [ "\u25cc\u0ac0", "\u0ac0" ],
 743+ [ "\u25cc\u0ac1", "\u0ac1" ], [ "\u25cc\u0ac2", "\u0ac2" ], [ "\u25cc\u0ac3", "\u0ac3" ],
 744+ [ "\u25cc\u0ac4", "\u0ac4" ], [ "\u25cc\u0ae2", "\u0ae2" ], [ "\u25cc\u0ae3", "\u0ae3" ],
 745+ [ "\u25cc\u0ac5", "\u0ac5" ], [ "\u25cc\u0ac7", "\u0ac7" ], [ "\u25cc\u0ac8", "\u0ac8" ],
 746+ [ "\u25cc\u0ac9", "\u0ac9" ], [ "\u25cc\u0acb", "\u0acb" ], [ "\u25cc\u0acc", "\u0acc" ],
 747+ [ "\u25cc\u0acd", "\u0acd" ]
 748+ ]
 749+ },
 750+ 'thai': {
 751+ 'labelMsg': 'wikieditor-toolbar-characters-page-thai',
 752+ 'language': 'th',
 753+ 'layout': 'characters',
 754+ 'characters': [
 755+ "\u0e01", "\u0e02", "\u0e03", "\u0e04", "\u0e05", "\u0e06", "\u0e07", "\u0e08", "\u0e09",
 756+ "\u0e0a", "\u0e0b", "\u0e0c", "\u0e0d", "\u0e0e", "\u0e0f", "\u0e10", "\u0e11", "\u0e12",
 757+ "\u0e13", "\u0e14", "\u0e15", "\u0e16", "\u0e17", "\u0e18", "\u0e19", "\u0e1a", "\u0e1b",
 758+ "\u0e1c", "\u0e1d", "\u0e1e", "\u0e1f", "\u0e20", "\u0e21", "\u0e22", "\u0e23", "\u0e24",
 759+ "\u0e25", "\u0e26", "\u0e27", "\u0e28", "\u0e29", "\u0e2a", "\u0e2b", "\u0e2c", "\u0e2d",
 760+ "\u0e2e", "\u0e30", "\u0e31", "\u0e32", "\u0e45", "\u0e33", "\u0e34", "\u0e35", "\u0e36",
 761+ "\u0e37", "\u0e38", "\u0e39", "\u0e40", "\u0e41", "\u0e42", "\u0e43", "\u0e44", "\u0e47",
 762+ "\u0e48", "\u0e49", "\u0e4a", "\u0e4b", "\u0e4c", "\u0e4d", "\u0e3a", "\u0e4e", "\u0e50",
 763+ "\u0e51", "\u0e52", "\u0e53", "\u0e54", "\u0e55", "\u0e56", "\u0e57", "\u0e58", "\u0e59",
 764+ "\u0e3f", "\u0e46", "\u0e2f", "\u0e5a", "\u0e4f", "\u0e5b"
 765+ ]
 766+ },
 767+ 'lao': {
 768+ 'labelMsg': 'wikieditor-toolbar-characters-page-lao',
 769+ 'language': 'lo',
 770+ 'layout': 'characters',
 771+ 'characters': [
 772+ "\u0e81", "\u0e82", "\u0e84", "\u0e87", "\u0e88", "\u0eaa", "\u0e8a", "\u0e8d", "\u0e94",
 773+ "\u0e95", "\u0e96", "\u0e97", "\u0e99", "\u0e9a", "\u0e9b", "\u0e9c", "\u0e9d", "\u0e9e",
 774+ "\u0e9f", "\u0ea1", "\u0ea2", "\u0ea5", "\u0ea7", "\u0eab", "\u0ead", "\u0eae", "\u0ea3",
 775+ "\u0edc", "\u0edd", "\u0ebc", "\u0ebd", "\u0eb0", "\u0eb1", "\u0eb2", "\u0eb3", "\u0eb4",
 776+ "\u0eb5", "\u0eb6", "\u0eb7", "\u0eb8", "\u0eb9", "\u0ebb", "\u0ec0", "\u0ec1", "\u0ec2",
 777+ "\u0ec3", "\u0ec4", "\u0ec8", "\u0ec9", "\u0eca", "\u0ecb", "\u0ecc", "\u0ecd", "\u0ed0",
 778+ "\u0ed1", "\u0ed2", "\u0ed3", "\u0ed4", "\u0ed5", "\u0ed6", "\u0ed7", "\u0ed8", "\u0ed9",
 779+ "\u20ad", "\u0ec6", "\u0eaf"
 780+ ]
 781+ },
 782+ 'khmer': {
 783+ 'labelMsg': 'wikieditor-toolbar-characters-page-khmer',
 784+ 'language': 'km',
 785+ 'layout': 'characters',
 786+ 'characters': [
 787+ "\u1780", "\u1781", "\u1782", "\u1783", "\u1784", "\u1785", "\u1786", "\u1787", "\u1788",
 788+ "\u1789", "\u178a", "\u178b", "\u178c", "\u178d", "\u178e", "\u178f", "\u1790", "\u1791",
 789+ "\u1792", "\u1793", "\u1794", "\u1795", "\u1796", "\u1797", "\u1798", "\u1799", "\u179a",
 790+ "\u179b", "\u179c", "\u179f", "\u17a0", "\u17a1", "\u17a2", "\u17a3", "\u17a4", "\u17a5",
 791+ "\u17a6", "\u17a7", "\u17a8", "\u17a9", "\u17aa", "\u17ab", "\u17ac", "\u17ad", "\u17ae",
 792+ "\u17af", "\u17b0", "\u17b1", "\u17b2", "\u17b3", "\u17d2", "\u17b4", "\u17b5", "\u17b6",
 793+ "\u17b7", "\u17b8", "\u17b9", "\u17ba", "\u17bb", "\u17bc", "\u17bd", "\u17be", "\u17bf",
 794+ "\u17c0", "\u17c1", "\u17c2", "\u17c3", "\u17c4", "\u17c5", "\u17c6", "\u17c7", "\u17c8",
 795+ "\u17c9", "\u17ca", "\u17cb", "\u17cc", "\u17cd", "\u17ce", "\u17cf", "\u17d0", "\u17d1",
 796+ "\u17d3", "\u17dd", "\u17dc", "\u17e0", "\u17e1", "\u17e2", "\u17e3", "\u17e4", "\u17e5",
 797+ "\u17e6", "\u17e7", "\u17e8", "\u17e9", "\u17db", "\u17d4", "\u17d5", "\u17d6", "\u17d7",
 798+ "\u17d8", "\u17d9", "\u17da", "\u17f0", "\u17f1", "\u17f2", "\u17f3", "\u17f4", "\u17f5",
 799+ "\u17f6", "\u17f7", "\u17f8", "\u17f9", "\u19e0", "\u19e1", "\u19e2", "\u19e3", "\u19e4",
 800+ "\u19e5", "\u19e6", "\u19e7", "\u19e8", "\u19e9", "\u19ea", "\u19eb", "\u19ec", "\u19ed",
 801+ "\u19ee", "\u19ef", "\u19f0", "\u19f1", "\u19f2", "\u19f3", "\u19f4", "\u19f5", "\u19f6",
 802+ "\u19f7", "\u19f8", "\u19f9", "\u19fa", "\u19fb", "\u19fc", "\u19fd", "\u19fe", "\u19ff"
 803+ ]
 804+ }
 805+ }
 806+ },
 807+ 'help': {
 808+ 'labelMsg': 'wikieditor-toolbar-section-help',
 809+ 'type': 'booklet',
 810+ 'deferLoad': true,
 811+ 'pages': {
 812+ 'format': {
 813+ 'labelMsg': 'wikieditor-toolbar-help-page-format',
 814+ 'layout': 'table',
 815+ 'headings': [
 816+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 817+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 818+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 819+ ],
 820+ 'rows': [
 821+ {
 822+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-italic-description' },
 823+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-italic-syntax' },
 824+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-italic-result' }
 825+ },
 826+ {
 827+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-bold-description' },
 828+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-bold-syntax' },
 829+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-bold-result' }
 830+ },
 831+ {
 832+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-bolditalic-description' },
 833+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-bolditalic-syntax' },
 834+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-bolditalic-result' }
 835+ }
 836+ ]
 837+ },
 838+ 'link': {
 839+ 'labelMsg': 'wikieditor-toolbar-help-page-link',
 840+ 'layout': 'table',
 841+ 'headings': [
 842+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 843+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 844+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 845+ ],
 846+ 'rows': [
 847+ {
 848+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-ilink-description' },
 849+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-ilink-syntax' },
 850+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-ilink-result' }
 851+ },
 852+ {
 853+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-xlink-description' },
 854+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-xlink-syntax' },
 855+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-xlink-result' }
 856+ }
 857+ ]
 858+ },
 859+ 'heading': {
 860+ 'labelMsg': 'wikieditor-toolbar-help-page-heading',
 861+ 'layout': 'table',
 862+ 'headings': [
 863+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 864+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 865+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 866+ ],
 867+ 'rows': [
 868+ {
 869+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading2-description' },
 870+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading2-syntax' },
 871+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading2-result' }
 872+ },
 873+ {
 874+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading3-description' },
 875+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading3-syntax' },
 876+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading3-result' }
 877+ },
 878+ {
 879+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading4-description' },
 880+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading4-syntax' },
 881+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading4-result' }
 882+ },
 883+ {
 884+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading5-description' },
 885+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading5-syntax' },
 886+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-heading5-result' }
 887+ }
 888+ ]
 889+ },
 890+ 'list': {
 891+ 'labelMsg': 'wikieditor-toolbar-help-page-list',
 892+ 'layout': 'table',
 893+ 'headings': [
 894+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 895+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 896+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 897+ ],
 898+ 'rows': [
 899+ {
 900+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-ulist-description' },
 901+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-ulist-syntax' },
 902+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-ulist-result' }
 903+ },
 904+ {
 905+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-olist-description' },
 906+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-olist-syntax' },
 907+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-olist-result' }
 908+ }
 909+ ]
 910+ },
 911+ 'file': {
 912+ 'labelMsg': 'wikieditor-toolbar-help-page-file',
 913+ 'layout': 'table',
 914+ 'headings': [
 915+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 916+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 917+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 918+ ],
 919+ 'rows': [
 920+ {
 921+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-file-description' },
 922+ 'syntax': { 'htmlMsg': [ 'wikieditor-toolbar-help-content-file-syntax', fileNamespace ] },
 923+ 'result': { 'htmlMsg': [ 'wikieditor-toolbar-help-content-file-result', stylepath ] }
 924+ }
 925+ ]
 926+ },
 927+ 'reference': {
 928+ 'labelMsg': 'wikieditor-toolbar-help-page-reference',
 929+ 'layout': 'table',
 930+ 'headings': [
 931+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 932+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 933+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 934+ ],
 935+ 'rows': [
 936+ {
 937+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-reference-description' },
 938+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-reference-syntax' },
 939+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-reference-result' }
 940+ },
 941+ {
 942+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-rereference-description' },
 943+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-rereference-syntax' },
 944+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-rereference-result' }
 945+ },
 946+ {
 947+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-showreferences-description' },
 948+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-showreferences-syntax' },
 949+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-showreferences-result' }
 950+ }
 951+ ]
 952+ },
 953+ 'discussion': {
 954+ 'labelMsg': 'wikieditor-toolbar-help-page-discussion',
 955+ 'layout': 'table',
 956+ 'headings': [
 957+ { 'textMsg': 'wikieditor-toolbar-help-heading-description' },
 958+ { 'textMsg': 'wikieditor-toolbar-help-heading-syntax' },
 959+ { 'textMsg': 'wikieditor-toolbar-help-heading-result' }
 960+ ],
 961+ 'rows': [
 962+ {
 963+ 'description': {
 964+ 'htmlMsg': 'wikieditor-toolbar-help-content-signaturetimestamp-description'
 965+ },
 966+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-signaturetimestamp-syntax' },
 967+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-signaturetimestamp-result' }
 968+ },
 969+ {
 970+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-signature-description' },
 971+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-signature-syntax' },
 972+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-signature-result' }
 973+ },
 974+ {
 975+ 'description': { 'htmlMsg': 'wikieditor-toolbar-help-content-indent-description' },
 976+ 'syntax': { 'htmlMsg': 'wikieditor-toolbar-help-content-indent-syntax' },
 977+ 'result': { 'htmlMsg': 'wikieditor-toolbar-help-content-indent-result' }
 978+ }
 979+ ]
 980+ }
 981+ }
 982+ }
 983+
 984+
 985+ } } );
 986+
 987+}
 988+}; } ) ( jQuery );
\ No newline at end of file
Property changes on: trunk/extensions/InlineEditor/jquery.inlineEditor.configWikiEditor.js
___________________________________________________________________
Added: svn:eol-style
1989 + native
Index: trunk/extensions/InlineEditor/jquery.inlineEditor.js
@@ -176,6 +176,15 @@
177177 //$( '#undo' ).click( $.inlineEditor.undo );
178178 //$( '#redo' ).click( $.inlineEditor.redo );
179179
 180+ // load the wikiEditor toolbar
 181+ // @todo: FIXME: move this to a resourceloader definition on the server side
 182+ if ( typeof mediaWiki.loader != 'undefined' && mediaWiki.loader ) {
 183+ mediaWiki.loader.using(
 184+ [ 'ext.wikiEditor', 'ext.wikiEditor.toolbar.i18n',
 185+ 'jquery.wikiEditor.toolbar',
 186+ 'jquery.async', 'jquery.cookie' ], null );
 187+ }
 188+
180189 // reload the current editor
181190 $.inlineEditor.reload();
182191 }

Comments

#Comment by Reedy (talk | contribs)   23:51, 22 February 2011
+ * @todo: FIXME: make the WikiEditor toolbar configuration portable and use that instead
+ * of this file!!!

That makes me happy. I was going to say it looked like there was a lot of seemingly duplicated code :)


FYI, you look to have some space indented stuff in the jquery.inlineEditor.js file

#Comment by JanPaul123 (talk | contribs)   01:21, 25 February 2011
) It's all fixed in r82773, with the help of r82706. This should help other extensions that use copy/pasted configurations as well!

Status & tagging log