r65959 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r65958‎ | r65959 | r65960 >
Date:19:03, 5 May 2010
Author:catrope
Status:deferred
Tags:
Comment:
Merge Vector and UsabilityInitiative fixes from trunk: r64724, r65064, r65379, r65387, r65391, r65555, r65556, r65558, r65590, r65591, r65663
Modified paths:
  • /branches/wmf/1.16wmf4 (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.min.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.hooks.php (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/combined.css (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/combined.min.css (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins.combined.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins.combined.min.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.dialogs.js (modified) (history)
  • /branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js (modified) (history)
  • /branches/wmf/1.16wmf4/includes (modified) (history)
  • /branches/wmf/1.16wmf4/includes/DefaultSettings.php (modified) (history)
  • /branches/wmf/1.16wmf4/includes/Setup.php (modified) (history)
  • /branches/wmf/1.16wmf4/skins (modified) (history)
  • /branches/wmf/1.16wmf4/skins/Vector.php (modified) (history)
  • /branches/wmf/1.16wmf4/skins/common/shared.css (modified) (history)
  • /branches/wmf/1.16wmf4/skins/monobook/main.css (modified) (history)
  • /branches/wmf/1.16wmf4/skins/vector (modified) (history)
  • /branches/wmf/1.16wmf4/skins/vector/images/arrow-down-icon.png (modified) (history)
  • /branches/wmf/1.16wmf4/skins/vector/main-ltr.css (modified) (history)
  • /branches/wmf/1.16wmf4/skins/vector/main-rtl.css (modified) (history)

Diff [purge]

Index: branches/wmf/1.16wmf4/skins/monobook/main.css
@@ -1164,10 +1164,6 @@
11651165 text-indent: -2em;
11661166 }
11671167
1168 -input#wpSummary {
1169 - width: 80%;
1170 -}
1171 -
11721168 /* @bug 1714 */
11731169 input#wpSave, input#wpDiff {
11741170 margin-right: 0.33em;
Index: branches/wmf/1.16wmf4/skins/common/shared.css
@@ -109,6 +109,10 @@
110110
111111 table.mw-htmlform-nolabel td.mw-label { width: 0 !important; }
112112
 113+input#wpSummary {
 114+ width: 80%;
 115+}
 116+
113117 /**
114118 * Image captions
115119 */
Index: branches/wmf/1.16wmf4/skins/Vector.php
@@ -26,7 +26,7 @@
2727 * @param object $out Output page object to initialize
2828 */
2929 public function initPage( OutputPage $out ) {
30 - global $wgStylePath, $wgJsMimeType, $wgStyleVersion, $wgScriptPath, $wgVectorExtraStyles;
 30+ global $wgLocalStylePath, $wgVectorExtraStyles;
3131
3232 parent::initPage( $out );
3333
@@ -38,7 +38,7 @@
3939 // wait for the CSS file to load before fetching the HTC file.
4040 $out->addScript(
4141 '<!--[if lt IE 7]><style type="text/css">body{behavior:url("' .
42 - $wgStylePath .
 42+ $wgLocalStylePath .
4343 '/vector/csshover.htc")}</style><![endif]-->'
4444 );
4545 // Add extra stylesheets
@@ -661,7 +661,7 @@
662662 * when UI is in RTL mode
663663 */
664664 private function renderNavigation( $elements ) {
665 - global $wgContLang, $wgVectorUseSimpleSearch, $wgStylePath;
 665+ global $wgContLang, $wgVectorUseSimpleSearch, $wgVectorShowVariantName, $wgStylePath;
666666
667667 // If only one element was given, wrap it in an array, allowing more
668668 // flexible arguments
@@ -690,6 +690,15 @@
691691 case 'VARIANTS':
692692 ?>
693693 <div id="p-variants" class="vectorMenu<?php if ( count( $this->data['variant_urls'] ) == 0 ) echo ' emptyPortlet'; ?>">
 694+ <?php if ( $wgVectorShowVariantName ): ?>
 695+ <h4>
 696+ <?php foreach ($this->data['variant_urls'] as $key => $link ): ?>
 697+ <?php if ( stripos( $link['attributes'], 'selected' ) !== false ): ?>
 698+ <?php echo htmlspecialchars( $link['text'] ) ?>
 699+ <?php endif; ?>
 700+ <?php endforeach; ?>
 701+ </h4>
 702+ <?php endif; ?>
694703 <h5><span><?php $this->msg('variants') ?></span><a href="#"></a></h5>
695704 <div class="menu">
696705 <ul<?php $this->html('userlangattributes') ?>>
Index: branches/wmf/1.16wmf4/skins/vector/images/arrow-down-icon.png
Cannot display: file marked as a binary type.
svn:mime-type = image/png
Index: branches/wmf/1.16wmf4/skins/vector/main-ltr.css
@@ -203,8 +203,9 @@
204204 direction: ltr;
205205 float: left;
206206 background-image: url(images/arrow-down-icon.png);
207 - background-position: center center;
 207+ background-position: 100% 60%;
208208 background-repeat: no-repeat;
 209+ cursor: pointer;
209210 }
210211 /* @noflip */
211212 body.rtl div.vectorMenu {
@@ -225,6 +226,15 @@
226227 background-position: bottom left;
227228 margin-left: -1px;
228229 }
 230+ #head div.vectorMenu h4 {
 231+ display: inline-block;
 232+ float: left;
 233+ font-size: 0.8em;
 234+ padding-left: 0.5em;
 235+ padding-top: 1.375em;
 236+ font-weight: normal;
 237+ border: none;
 238+ }
229239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
230240 /* @noflip */
231241 div.vectorMenu h5 a {
@@ -717,6 +727,9 @@
718728 font-family: Times, "Times New Roman", serif;
719729 font-style: italic;
720730 }*/
 731+pre, code, tt {
 732+ font-family: monospace, sans-serif;
 733+}
721734 code {
722735 background-color: #f9f9f9;
723736 }
Index: branches/wmf/1.16wmf4/skins/vector/main-rtl.css
@@ -203,8 +203,9 @@
204204 direction: ltr;
205205 float: left;
206206 background-image: url(images/arrow-down-icon.png);
207 - background-position: center center;
 207+ background-position: 100% 60%;
208208 background-repeat: no-repeat;
 209+ cursor: pointer;
209210 }
210211 /* @noflip */
211212 body.rtl div.vectorMenu {
@@ -225,6 +226,15 @@
226227 background-position: bottom right;
227228 margin-right: -1px;
228229 }
 230+ #head div.vectorMenu h4 {
 231+ display: inline-block;
 232+ float: right;
 233+ font-size: 0.8em;
 234+ padding-right: 0.5em;
 235+ padding-top: 1.375em;
 236+ font-weight: normal;
 237+ border: none;
 238+ }
229239 /* OVERRIDDEN BY COMPLIANT BROWSERS */
230240 /* @noflip */
231241 div.vectorMenu h5 a {
@@ -717,6 +727,9 @@
718728 font-family: Times, "Times New Roman", serif;
719729 font-style: italic;
720730 }*/
 731+pre, code, tt {
 732+ font-family: monospace, sans-serif;
 733+}
721734 code {
722735 background-color: #f9f9f9;
723736 }
Property changes on: branches/wmf/1.16wmf4/skins/vector
___________________________________________________________________
Modified: svn:mergeinfo
724737 Merged /trunk/phase3/skins/vector:r65383,65387,65391,65555,65590-65591
Property changes on: branches/wmf/1.16wmf4/skins
___________________________________________________________________
Modified: svn:mergeinfo
725738 Merged /trunk/phase3/skins:r65387,65391,65555,65590
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js
@@ -1,26 +1,23 @@
2 -(function($) {
3 - if( !wgClickTrackingIsThrottled ) {
4 - // creates 'track action' function to call the clicktracking API and send the ID
5 - $.trackAction = function ( id ) {
6 - $j.post( wgScriptPath + '/api.php', { 'action': 'clicktracking', 'eventid': id, 'token': wgTrackingToken } );
 2+( function( $ ) {
 3+ if ( !wgClickTrackingIsThrottled ) {
 4+ // Create 'track action' function to call the clicktracking API and send the ID
 5+ $.trackAction = function( id ) {
 6+ $j.post(
 7+ wgScriptPath + '/api.php', { 'action': 'clicktracking', 'eventid': id, 'token': wgTrackingToken }
 8+ );
79 };
8 -
9 - // Clicktrack the left sidebar links
 10+ // Add click tracking hooks to the sidebar
1011 $j(document).ready( function() {
11 - $( '#p-logo a, #p-navigation a, #p-tb a' ).click( function() {
12 - var id = 'leftnav-' + skin + '-' +
13 - ( $(this).attr( 'id' ) || $(this).parent().attr( 'id' ) );
 12+ $( '#p-logo a, #p-navigation a, #p-interaction a, #p-tb a' ).each( function() {
1413 var href = $(this).attr( 'href' );
15 - // Don't attach to javascript: URLs and the like,
16 - // only to local URLs (start with a /), http:// ,
17 - // https:// and same-protocol URLs (start with //)
18 - if ( href[0] == '/' || href.match( /^https?:\/\// ) )
19 - window.location = wgScriptPath +
20 - '/api.php?action=clicktracking&eventid=' +
21 - id + '&token=' + wgTrackingToken +
22 - '&redirectto=' + escape( href );
23 - });
24 - });
 14+ // Only modify local and same-schema URLs
 15+ if ( href[0] == '/' || href.match( /^https?:\/\// ) ) {
 16+ var id = 'leftnav-' + skin + '-' + ( $(this).attr( 'id' ) || $(this).parent().attr( 'id' ) );
 17+ href = wgScriptPath + '/api.php?action=clicktracking' +
 18+ '&eventid=' + id + '&token=' + wgTrackingToken + '&redirectto=' + escape( href );
 19+ $(this).attr( 'href', href );
 20+ }
 21+ } );
 22+ } );
2523 }
26 -
27 -})(jQuery);
 24+} )( jQuery );
Property changes on: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js
___________________________________________________________________
Added: svn:mergeinfo
2825 Merged /branches/wmf-deployment/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js:r60970
2926 Merged /branches/REL1_15/phase3/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js:r51646
3027 Merged /trunk/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js:r56207,56209,56296,56333,56355,62041,62043,62127,62139,62142-62143,62145-62146,62256,62263,62266-63865,63867-63877,63879-64124,64129-64645,64647-64648,64651,64724,64864,65064,65379,65556,65558,65633
3128 Merged /trunk/phase3/extensions/UsabilityInitiative/ClickTracking/ClickTracking.js:r56213,56215-56216,56218,56325,56334-56336,56338,56340,56343,56345,56347,56350,57154-57447,57541,57916,58151,58219,58633,58816,65387,65391,65555,65590
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/combined.css
@@ -828,6 +828,7 @@
829829 background-repeat: no-repeat;
830830 padding-left: 32px;
831831 margin-left: 1em;
 832+ height: 22px;
832833 float: left;
833834 color: #666666;
834835 }
@@ -886,12 +887,13 @@
887888 /* Sprited Buttons */
888889 .wikiEditor-toolbar-spritedButton {
889890 background: url(../images/wikiEditor/toolbar/button-sprite.png) 0 0 no-repeat;
890 - display:block;
891 - float:left;
892 - height:22px;
893 - text-indent:-9999px;
894 - width:22px;
 891+ display: block;
 892+ float: left;
 893+ height: 22px;
 894+ text-indent: -9999px;
 895+ width: 22px;
895896 padding: 2px;
 897+ cursor: pointer;
896898 }
897899 /* Tabs */
898900 .wikiEditor-ui-toolbar .tabs {
@@ -1130,7 +1132,7 @@
11311133 width: 20%;
11321134 }
11331135 /* Characters Pages */
1134 -.wikiEditor-ui-toolbar .page-characters div a {
 1136+.wikiEditor-ui-toolbar .page-characters div span {
11351137 border: solid 1px #DDDDDD;
11361138 padding: 5px;
11371139 padding-left: 8px;
@@ -1142,15 +1144,16 @@
11431145 display: block;
11441146 color: black;
11451147 text-decoration: none;
 1148+ cursor: pointer;
11461149 }
1147 -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a,
1148 -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a {
 1150+body.rtl .wikiEditor-ui-toolbar .page-characters > div > span,
 1151+.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span {
11491152 direction: rtl;
11501153 float: right;
11511154 margin-left: 0;
11521155 margin-right: 5px;
11531156 }
1154 -.wikiEditor-ui-toolbar .page-characters div a:hover {
 1157+.wikiEditor-ui-toolbar .page-characters div span:hover {
11551158 background-color: white;
11561159 text-decoration: none;
11571160 border-color: #a8d7f9;
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/combined.min.css
@@ -777,6 +777,7 @@
778778 background-repeat:no-repeat;
779779 padding-left:32px;
780780 margin-left:1em;
 781+height:22px;
781782 float:left;
782783 color:#666666;
783784 }
@@ -838,6 +839,7 @@
839840 text-indent:-9999px;
840841 width:22px;
841842 padding:2px;
 843+cursor:pointer;
842844 }
843845 .wikiEditor-ui-toolbar .tabs{
844846 list-style:none;
@@ -1064,7 +1066,7 @@
10651067 .wikiEditor-ui-toolbar .section-help .page-table td.description{
10661068 width:20%;
10671069 }
1068 -.wikiEditor-ui-toolbar .page-characters div a{
 1070+.wikiEditor-ui-toolbar .page-characters div span{
10691071 border:solid 1px #DDDDDD;
10701072 padding:5px;
10711073 padding-left:8px;
@@ -1076,15 +1078,16 @@
10771079 display:block;
10781080 color:black;
10791081 text-decoration:none;
 1082+cursor:pointer;
10801083 }
1081 -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a,
1082 -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a{
 1084+body.rtl .wikiEditor-ui-toolbar .page-characters > div > span,
 1085+.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span{
10831086 direction:rtl;
10841087 float:right;
10851088 margin-left:0;
10861089 margin-right:5px;
10871090 }
1088 -.wikiEditor-ui-toolbar .page-characters div a:hover{
 1091+.wikiEditor-ui-toolbar .page-characters div span:hover{
10891092 background-color:white;
10901093 text-decoration:none;
10911094 border-color:#a8d7f9;
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css
@@ -51,6 +51,7 @@
5252 background-repeat: no-repeat;
5353 padding-left: 32px;
5454 margin-left: 1em;
 55+ height: 22px;
5556 float: left;
5657 color: #666666;
5758 }
@@ -109,12 +110,13 @@
110111 /* Sprited Buttons */
111112 .wikiEditor-toolbar-spritedButton {
112113 background: url(../images/wikiEditor/toolbar/button-sprite.png) 0 0 no-repeat;
113 - display:block;
114 - float:left;
115 - height:22px;
116 - text-indent:-9999px;
117 - width:22px;
 114+ display: block;
 115+ float: left;
 116+ height: 22px;
 117+ text-indent: -9999px;
 118+ width: 22px;
118119 padding: 2px;
 120+ cursor: pointer;
119121 }
120122 /* Tabs */
121123 .wikiEditor-ui-toolbar .tabs {
@@ -353,7 +355,7 @@
354356 width: 20%;
355357 }
356358 /* Characters Pages */
357 -.wikiEditor-ui-toolbar .page-characters div a {
 359+.wikiEditor-ui-toolbar .page-characters div span {
358360 border: solid 1px #DDDDDD;
359361 padding: 5px;
360362 padding-left: 8px;
@@ -365,15 +367,16 @@
366368 display: block;
367369 color: black;
368370 text-decoration: none;
 371+ cursor: pointer;
369372 }
370 -body.rtl .wikiEditor-ui-toolbar .page-characters > div > a,
371 -.wikiEditor-ui-toolbar .page-characters div[dir=rtl] a {
 373+body.rtl .wikiEditor-ui-toolbar .page-characters > div > span,
 374+.wikiEditor-ui-toolbar .page-characters div[dir=rtl] span {
372375 direction: rtl;
373376 float: right;
374377 margin-left: 0;
375378 margin-right: 5px;
376379 }
377 -.wikiEditor-ui-toolbar .page-characters div a:hover {
 380+.wikiEditor-ui-toolbar .page-characters div span:hover {
378381 background-color: white;
379382 text-decoration: none;
380383 border-color: #a8d7f9;
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js
@@ -491,6 +491,7 @@
492492 'characters': {
493493 labelMsg: 'wikieditor-toolbar-section-characters',
494494 type: 'booklet',
 495+ deferLoad: true,
495496 pages: {
496497 'latin': {
497498 'labelMsg': 'wikieditor-toolbar-characters-page-latin',
@@ -753,6 +754,7 @@
754755 'help': {
755756 labelMsg: 'wikieditor-toolbar-section-help',
756757 type: 'booklet',
 758+ deferLoad: true,
757759 pages: {
758760 'format': {
759761 labelMsg: 'wikieditor-toolbar-help-page-format',
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.hooks.php
@@ -16,14 +16,14 @@
1717 array( 'src' => 'Modules/Preview/Preview.js', 'version' => 6 ),
1818 array( 'src' => 'Modules/Publish/Publish.js', 'version' => 6 ),
1919 array( 'src' => 'Modules/Toc/Toc.js', 'version' => 7 ),
20 - array( 'src' => 'Modules/Toolbar/Toolbar.js', 'version' => 82 ),
 20+ array( 'src' => 'Modules/Toolbar/Toolbar.js', 'version' => 83 ),
2121 array( 'src' => 'Modules/TemplateEditor/TemplateEditor.js', 'version' => 6 ),
2222 ),
2323 'combined' => array(
24 - array( 'src' => 'WikiEditor.combined.js', 'version' => 86 ),
 24+ array( 'src' => 'WikiEditor.combined.js', 'version' => 87 ),
2525 ),
2626 'minified' => array(
27 - array( 'src' => 'WikiEditor.combined.min.js', 'version' => 86 ),
 27+ array( 'src' => 'WikiEditor.combined.min.js', 'version' => 87 ),
2828 ),
2929 );
3030 static $messages = array(
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.js
@@ -540,6 +540,7 @@
541541 'characters': {
542542 labelMsg: 'wikieditor-toolbar-section-characters',
543543 type: 'booklet',
 544+ deferLoad: true,
544545 pages: {
545546 'latin': {
546547 'labelMsg': 'wikieditor-toolbar-characters-page-latin',
@@ -802,6 +803,7 @@
803804 'help': {
804805 labelMsg: 'wikieditor-toolbar-section-help',
805806 type: 'booklet',
 807+ deferLoad: true,
806808 pages: {
807809 'format': {
808810 labelMsg: 'wikieditor-toolbar-help-page-format',
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.min.js
@@ -5,7 +5,7 @@
66 if($j.fn.wikiEditor){$j('textarea#wpTextbox1').wikiEditor('addModule','publish');}});$j(document).ready(function(){if(!wgWikiEditorPreferences||!(wgWikiEditorPreferences.toc&&wgWikiEditorPreferences.toc.enable)){return true;}
77 if($j.fn.wikiEditor){$j('textarea#wpTextbox1').wikiEditor('addModule',{'toc':{'rtl':($j('body').is('.rtl'))}});}});$j(document).ready(function(){if(!wgWikiEditorEnabledModules.toolbar){return true;}
88 if(wgWikiEditorPreferences.toolbar.dialogs&&$j.wikiEditor.isSupported($j.wikiEditor.modules.dialogs)){$j('#wpTextbox1').addClass('toolbar-dialogs');}
9 -if($j.fn.wikiEditor){$j('#toolbar').remove();$j('#wpTextbox1').wikiEditor('addModule',{'toolbar':{'main':{type:'toolbar',groups:{'format':{tools:{'bold':{labelMsg:'wikieditor-toolbar-tool-bold',type:'button',offset:{'default':[2,-574],'en':[2,-142],'de':[2,-214],'fr':[2,-286],'es':[2,-358],'it':[2,-286],'nl':[2,-502],'pt':[2,-358],'pt-br':[2,-358],'pl':[2,-430]},icon:{'default':'format-bold.png','en':'format-bold-B.png','de':'format-bold-F.png','fr':'format-bold-G.png','es':'format-bold-N.png','it':'format-bold-G.png','nl':'format-bold-V.png','pt':'format-bold-N.png','pt-br':'format-bold-N.png','pl':'format-bold-P.png'},action:{type:'encapsulate',options:{pre:"'''",periMsg:'wikieditor-toolbar-tool-bold-example',post:"'''"}}},'italic':{section:'main',group:'format',id:'italic',labelMsg:'wikieditor-toolbar-tool-italic',type:'button',offset:{'default':[2,-718],'en':[2,-862],'de':[2,-934],'fr':[2,-862],'es':[2,-790],'it':[2,-790],'nl':[2,-790],'pt':[2,-862],'pt-br':[2,-862],'pl':[2,-934]},icon:{'default':'format-italic.png','en':'format-italic-I.png','de':'format-italic-K.png','fr':'format-italic-I.png','es':'format-italic-C.png','it':'format-italic-C.png','nl':'format-italic-C.png','pt':'format-italic-I.png','pt-br':'format-italic-I.png','pl':'format-italic-K.png'},action:{type:'encapsulate',options:{pre:"''",periMsg:'wikieditor-toolbar-tool-italic-example',post:"''"}}}}},'insert':{tools:{'xlink':{labelMsg:'wikieditor-toolbar-tool-xlink',type:'button',icon:'insert-xlink.png',offset:[-70,2],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"[",periMsg:'wikieditor-toolbar-tool-xlink-example',post:"]"}}},'ilink':{labelMsg:'wikieditor-toolbar-tool-ilink',type:'button',icon:'insert-ilink.png',offset:[2,-1582],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"[[",periMsg:'wikieditor-toolbar-tool-ilink-example',post:"]]"}}},'linkCGD':{labelMsg:'wikieditor-toolbar-tool-link',type:'button',icon:'insert-link.png',offset:[2,-1654],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-link'}},'file':{labelMsg:'wikieditor-toolbar-tool-file',type:'button',icon:'insert-file.png',offset:[2,-1438],action:{type:'encapsulate',options:{preMsg:['wikieditor-toolbar-tool-file-pre','[['],periMsg:'wikieditor-toolbar-tool-file-example',post:"]]"}}},'referenceCGD':{labelMsg:'wikieditor-toolbar-tool-reference',type:'button',icon:'insert-reference.png',offset:[2,-1798],filters:['body.ns-subject','#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-reference'}},'reference':{labelMsg:'wikieditor-toolbar-tool-reference',filters:['body.ns-subject','#wpTextbox1:not(.toolbar-dialogs)'],type:'button',offset:[2,-1798],icon:'insert-reference.png',action:{type:'encapsulate',options:{pre:"<ref>",periMsg:'wikieditor-toolbar-tool-reference-example',post:"</ref>"}}},'signature':{labelMsg:'wikieditor-toolbar-tool-signature',filters:['body:not(.ns-0)'],type:'button',offset:[2,-1872],icon:'insert-signature.png',action:{type:'encapsulate',options:{post:"--~~~~"}}}}}}},'advanced':{labelMsg:'wikieditor-toolbar-section-advanced',type:'toolbar',groups:{'heading':{tools:{'heading':{labelMsg:'wikieditor-toolbar-tool-heading',type:'select',list:{'heading-2':{labelMsg:'wikieditor-toolbar-tool-heading-2',action:{type:'replace',options:{pre:'==',periMsg:'wikieditor-toolbar-tool-heading-example',post:'==',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1==\$3==\$4",ownline:true}}},'heading-3':{labelMsg:'wikieditor-toolbar-tool-heading-3',action:{type:'replace',options:{pre:'===',periMsg:'wikieditor-toolbar-tool-heading-example',post:'===',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1===\$3===\$4",ownline:true}}},'heading-4':{labelMsg:'wikieditor-toolbar-tool-heading-4',action:{type:'replace',options:{pre:'====',periMsg:'wikieditor-toolbar-tool-heading-example',post:'====',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1====\$3====\$4",ownline:true}}},'heading-5':{labelMsg:'wikieditor-toolbar-tool-heading-5',action:{type:'replace',options:{pre:'=====',periMsg:'wikieditor-toolbar-tool-heading-example',post:'=====',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1=====\$3=====\$4",ownline:true}}}}}}},'format':{labelMsg:'wikieditor-toolbar-group-format',tools:{'ulist':{labelMsg:'wikieditor-toolbar-tool-ulist',type:'button',icon:'format-ulist.png',offset:[2,-1366],action:{type:'encapsulate',options:{pre:"* ",periMsg:'wikieditor-toolbar-tool-ulist-example',post:"",ownline:true}}},'olist':{labelMsg:'wikieditor-toolbar-tool-olist',type:'button',icon:'format-olist.png',offset:[2,-1078],action:{type:'encapsulate',options:{pre:"# ",periMsg:'wikieditor-toolbar-tool-olist-example',post:"",ownline:true}}},'indent':{labelMsg:'wikieditor-toolbar-tool-indent',type:'button',icon:'format-indent.png',offset:[2,-646],action:{type:'encapsulate',options:{pre:":",periMsg:'wikieditor-toolbar-tool-indent-example',post:"",ownline:true,splitlines:true}}},'nowiki':{labelMsg:'wikieditor-toolbar-tool-nowiki',type:'button',icon:'insert-nowiki.png',offset:[-70,-70],action:{type:'encapsulate',options:{pre:"<nowiki>",periMsg:'wikieditor-toolbar-tool-nowiki-example',post:"</nowiki>"}}},'newline':{labelMsg:'wikieditor-toolbar-tool-newline',type:'button',icon:'insert-newline.png',offset:[2,-1726],action:{type:'encapsulate',options:{pre:"<br />\n"}}}}},'size':{tools:{'big':{labelMsg:'wikieditor-toolbar-tool-big',type:'button',icon:'format-big.png',offset:[2,2],action:{type:'encapsulate',options:{pre:"<big>",periMsg:'wikieditor-toolbar-tool-big-example',post:"</big>"}}},'small':{labelMsg:'wikieditor-toolbar-tool-small',type:'button',icon:'format-small.png',offset:[2,-1150],action:{type:'encapsulate',options:{pre:"<small>",periMsg:'wikieditor-toolbar-tool-small-example',post:"</small>"}}},'superscript':{labelMsg:'wikieditor-toolbar-tool-superscript',type:'button',icon:'format-superscript.png',offset:[2,-1294],action:{type:'encapsulate',options:{pre:"<sup>",periMsg:'wikieditor-toolbar-tool-superscript-example',post:"</sup>"}}},'subscript':{labelMsg:'wikieditor-toolbar-tool-subscript',type:'button',icon:'format-subscript.png',offset:[2,-1222],action:{type:'encapsulate',options:{pre:"<sub>",periMsg:'wikieditor-toolbar-tool-subscript-example',post:"</sub>"}}}}},'insert':{labelMsg:'wikieditor-toolbar-group-insert',tools:{'gallery':{labelMsg:'wikieditor-toolbar-tool-gallery',type:'button',icon:'insert-gallery.png',offset:[2,-1510],action:{type:'encapsulate',options:{pre:"<gallery>\n",periMsg:'wikieditor-toolbar-tool-gallery-example',post:"\n</gallery>",ownline:true}}},'tableCGD':{labelMsg:'wikieditor-toolbar-tool-table',type:'button',icon:'insert-table.png',offset:[2,-1942],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-table'}},'table':{labelMsg:'wikieditor-toolbar-tool-table',type:'button',icon:'insert-table.png',offset:[2,-1942],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"{| class=\"wikitable\" border=\"1\"\n|",periMsg:'wikieditor-toolbar-tool-table-example-old',post:"\n|}",ownline:true}}},'redirect':{labelMsg:'wikieditor-toolbar-tool-redirect',type:'button',icon:'insert-redirect.png',offset:[-70,-142],action:{type:'encapsulate',options:{pre:"#REDIRECT [[",periMsg:'wikieditor-toolbar-tool-redirect-example',post:"]]",ownline:true}}}}},'search':{tools:{'replace':{labelMsg:'wikieditor-toolbar-tool-replace',type:'button',icon:'search-replace.png',offset:[-70,-214],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'search-and-replace'}}}}}},'characters':{labelMsg:'wikieditor-toolbar-section-characters',type:'booklet',pages:{'latin':{'labelMsg':'wikieditor-toolbar-characters-page-latin','layout':'characters','characters':["\u00c1","\u00e1","\u00c0","\u00e0","\u00c2","\u00e2","\u00c4","\u00e4","\u00c3","\u00e3","\u01cd","\u01ce","\u0100","\u0101","\u0102","\u0103","\u0104","\u0105","\u00c5","\u00e5","\u0106","\u0107","\u0108","\u0109","\u00c7","\u00e7","\u010c","\u010d","\u010a","\u010b","\u0110","\u0111","\u010e","\u010f","\u00c9","\u00e9","\u00c8","\u00e8","\u00ca","\u00ea","\u00cb","\u00eb","\u011a","\u011b","\u0112","\u0113","\u0114","\u0115","\u0116","\u0117","\u0118","\u0119","\u011c","\u011d","\u0122","\u0123","\u011e","\u011f","\u0120","\u0121","\u0124","\u0125","\u0126","\u0127","\u00cd","\u00ed","\u00cc","\u00ec","\u00ce","\u00ee","\u00cf","\u00ef","\u0128","\u0129","\u01cf","\u01d0","\u012a","\u012b","\u012c","\u012d","\u0130","\u0131","\u012e","\u012f","\u0134","\u0135","\u0136","\u0137","\u0139","\u013a","\u013b","\u013c","\u013d","\u013e","\u0141","\u0142","\u013f","\u0140","\u0143","\u0144","\u00d1","\u00f1","\u0145","\u0146","\u0147","\u0148","\u00d3","\u00f3","\u00d2","\u00f2","\u00d4","\u00f4","\u00d6","\u00f6","\u00d5","\u00f5","\u01d1","\u01d2","\u014c","\u014d","\u014e","\u014f","\u01ea","\u01eb","\u0150","\u0151","\u0154","\u0155","\u0156","\u0157","\u0158","\u0159","\u015a","\u015b","\u015c","\u015d","\u015e","\u015f","\u0160","\u0161","\u0162","\u0163","\u0164","\u0165","\u00da","\u00fa","\u00d9","\u00f9","\u00db","\u00fb","\u00dc","\u00fc","\u0168","\u0169","\u016e","\u016f","\u01d3","\u01d4","\u016a","\u016b","\u01d6","\u01d8","\u01da","\u01dc","\u016c","\u016d","\u0172","\u0173","\u0170","\u0171","\u0174","\u0175","\u00dd","\u00fd","\u0176","\u0177","\u0178","\u00ff","\u0232","\u0233","\u0179","\u017a","\u017d","\u017e","\u017b","\u017c","\u00c6","\u00e6","\u01e2","\u01e3","\u00d8","\u00f8","\u0152","\u0153","\u00df","\u00f0","\u00de","\u00fe","\u018f","\u0259"]},'latinextended':{'labelMsg':'wikieditor-toolbar-characters-page-latinextended','layout':'characters','characters':["\u1e00","\u1e01","\u1e9a","\u1ea0","\u1ea1","\u1ea2","\u1ea3","\u1ea4","\u1ea5","\u1ea6","\u1ea7","\u1ea8","\u1ea9","\u1eaa","\u1eab","\u1eac","\u1ead","\u1eae","\u1eaf","\u1eb0","\u1eb1","\u1eb2","\u1eb3","\u1eb4","\u1eb5","\u1eb6","\u1eb7","\u1e02","\u1e03","\u1e04","\u1e05","\u1e06","\u1e07","\u1e08","\u1e09","\u1e0a","\u1e0b","\u1e0c","\u1e0d","\u1e0e","\u1e0f","\u1e10","\u1e11","\u1e12","\u1e13","\u1e14","\u1e15","\u1e16","\u1e17","\u1e18","\u1e19","\u1e1a","\u1e1b","\u1e1c","\u1e1d","\u1eb8","\u1eb9","\u1eba","\u1ebb","\u1ebc","\u1ebd","\u1ebe","\u1ebf","\u1ec0","\u1ec1","\u1ec2","\u1ec3","\u1ec4","\u1ec5","\u1ec6","\u1ec7","\u1e1e","\u1e1f","\u1e20","\u1e21","\u1e22","\u1e23","\u1e24","\u1e25","\u1e26","\u1e27","\u1e28","\u1e29","\u1e2a","\u1e2b","\u1e96","\u1e2c","\u1e2d","\u1e2e","\u1e2f","\u1ec8","\u1ec9","\u1eca","\u1ecb","\u1e30","\u1e31","\u1e32","\u1e33","\u1e34","\u1e35","\u1e36","\u1e37","\u1e38","\u1e39","\u1e3a","\u1e3b","\u1e3c","\u1e3d","\u1efa","\u1efb","\u1e3e","\u1e3f","\u1e40","\u1e41","\u1e42","\u1e43","\u1e44","\u1e45","\u1e46","\u1e47","\u1e48","\u1e49","\u1e4a","\u1e4b","\u1e4c","\u1e4d","\u1e4e","\u1e4f","\u1e50","\u1e51","\u1e52","\u1e53","\u1ecc","\u1ecd","\u1ece","\u1ecf","\u1ed0","\u1ed1","\u1ed2","\u1ed3","\u1ed4","\u1ed5","\u1ed6","\u1ed7","\u1ed8","\u1ed9","\u1eda","\u1edb","\u1edc","\u1edd","\u1ede","\u1edf","\u1ee0","\u1ee1","\u1ee2","\u1ee3","\u1e54","\u1e55","\u1e56","\u1e57","\u1e58","\u1e59","\u1e5a","\u1e5b","\u1e5c","\u1e5d","\u1e5e","\u1e5f","\u1e60","\u1e61","\u1e9b","\u1e62","\u1e63","\u1e64","\u1e65","\u1e66","\u1e67","\u1e68","\u1e69","\u1e9c","\u1e9d","\u1e6a","\u1e6b","\u1e6c","\u1e6d","\u1e6e","\u1e6f","\u1e70","\u1e71","\u1e97","\u1e72","\u1e73","\u1e74","\u1e75","\u1e76","\u1e77","\u1e78","\u1e79","\u1e7a","\u1e7b","\u1ee4","\u1ee5","\u1ee6","\u1ee7","\u1ee8","\u1ee9","\u1eea","\u1eeb","\u1eec","\u1eed","\u1eee","\u1eef","\u1ef0","\u1ef1","\u1e7c","\u1e7d","\u1e7e","\u1e7f","\u1efc","\u1efd","\u1e80","\u1e81","\u1e82","\u1e83","\u1e84","\u1e85","\u1e86","\u1e87","\u1e88","\u1e89","\u1e98","\u1e8a","\u1e8b","\u1e8c","\u1e8d","\u1e8e","\u1e8f","\u1e99","\u1ef2","\u1ef3","\u1ef4","\u1ef5","\u1ef6","\u1ef7","\u1ef8","\u1ef9","\u1efe","\u1eff","\u1e90","\u1e91","\u1e92","\u1e93","\u1e94","\u1e95","\u1e9e","\u1e9f"]},'ipa':{labelMsg:'wikieditor-toolbar-characters-page-ipa',layout:'characters',characters:["p","t\u032a","t","\u0288","c","k","q","\u02a1","\u0294","b","d\u032a","d","\u0256","\u025f","\u0261","\u0262","\u0253","\u0257","\u0284","\u0260","\u029b","t\u0361s","t\u0361\u0283","t\u0361\u0255","d\u0361z","d\u0361\u0292","d\u0361\u0291","\u0278","f","\u03b8","s","\u0283","\u0285","\u0286","\u0282","\u0255","\u00e7","\u0267","x","\u03c7","\u0127","\u029c","h","\u03b2","v","\u028d","\u00f0","z","\u0292","\u0293","\u0290","\u0291","\u029d","\u0263","\u0281","\u0295","\u0296","\u02a2","\u0266","\u026c","\u026e","m","m\u0329","\u0271","\u0271\u0329","\u0271\u030d","n\u032a","n\u032a\u030d","n","n\u0329","\u0273","\u0273\u0329","\u0272","\u0272\u0329","\u014b","\u014b\u030d","\u014b\u0329","\u0274","\u0274\u0329","\u0299","\u0299\u0329","r","r\u0329","\u0280","\u0280\u0329","\u027e","\u027d","\u027f","\u027a","l\u032a","l\u032a\u0329","l","l\u0329","\u026b","\u026b\u0329","\u026d","\u026d\u0329","\u028e","\u028e\u0329","\u029f","\u029f\u0329","w","\u0265","\u028b","\u0279","\u027b","j","\u0270","\u0298","\u01c2","\u01c0","!","\u01c1","\u02b0","\u02b1","\u02b7","\u02b8","\u02b2","\u02b3","\u207f","\u02e1","\u02b4","\u02b5","\u02e2","\u02e3","\u02e0","\u02b6","\u02e4","\u02c1","\u02c0","\u02bc","i","i\u032f","\u0129","y","y\u032f","\u1ef9","\u026a","\u026a\u032f","\u026a\u0303","\u028f","\u028f\u032f","\u028f\u0303","\u0268","\u0268\u032f","\u0268\u0303","\u0289","\u0289\u032f","\u0289\u0303","\u026f","\u026f\u032f","\u026f\u0303","u","u\u032f","\u0169","\u028a","\u028a\u032f","\u028a\u0303","e","e\u032f","\u1ebd","\u00f8","\u00f8\u032f","\u00f8\u0303","\u0258","\u0258\u032f","\u0258\u0303","\u0275","\u0275\u032f","\u0275\u0303","\u0264","\u0264\u032f","\u0264\u0303","o","o\u032f","\u00f5","\u025b","\u025b\u032f","\u025b\u0303","\u0153","\u0153\u032f","\u0153\u0303","\u025c","\u025c\u032f","\u025c\u0303","\u0259","\u0259\u032f","\u0259\u0303","\u025e","\u025e\u032f","\u025e\u0303","\u028c","\u028c\u032f","\u028c\u0303","\u0254","\u0254\u032f","\u0254\u0303","\u00e6","\u00e6\u032f","\u00e6\u0303","\u0276","\u0276\u032f","\u0276\u0303","a","a\u032f","\u00e3","\u0250","\u0250\u032f","\u0250\u0303","\u0251","\u0251\u032f","\u0251\u0303","\u0252","\u0252\u032f","\u0252\u0303","\u02c8","\u02cc","\u02d0","\u02d1","\u02d8",".","\u203f","|","\u2016"]},'symbols':{'labelMsg':'wikieditor-toolbar-characters-page-symbols','layout':'characters','characters':["~","|","\u00a1","\u00bf","\u2020","\u2021","\u2194","\u2191","\u2193","\u2022","\u00b6","#","\u00bd","\u2153","\u2154","\u00bc","\u00be","\u215b","\u215c","\u215d","\u215e","\u221e","\u2018","\u201e","\u201c","\u2019","\u201d",{'label':"\u00ab\u00bb",'action':{'type':'encapsulate','options':{'pre':"\u00ab",'post':"\u00bb"}}},"\u00a4","\u20b3","\u0e3f","\u20b5","\u00a2","\u20a1","\u20a2","$","\u20ab","\u20af","\u20ac","\u20a0","\u20a3","\u0192","\u20b4","\u20ad","\u20a4","\u2133","\u20a5","\u20a6","\u2116","\u20a7","\u20b0","\u00a3","\u17db","\u20a8","\u20aa","\u09f3","\u20ae","\u20a9","\u00a5","\u2660","\u2663","\u2665","\u2666","m\u00b2","m\u00b3","\u2013","\u2014","\u2026","\u2018","\u201c","\u2019","\u201d","\u00b0","\u2033","\u2032","\u2248","\u2260","\u2264","\u2265","\u00b1","\u2212","\u00d7","\u00f7","\u2190","\u2192","\u00b7","\u00a7"]},'greek':{'labelMsg':'wikieditor-toolbar-characters-page-greek','layout':'characters','language':'hl','characters':["\u0391","\u0386","\u03b1","\u03ac","\u0392","\u03b2","\u0393","\u03b3","\u0394","\u03b4","\u0395","\u0388","\u03b5","\u03ad","\u0396","\u03b6","\u0397","\u0389","\u03b7","\u03ae","\u0398","\u03b8","\u0399","\u038a","\u03b9","\u03af","\u039a","\u03ba","\u039b","\u03bb","\u039c","\u03bc","\u039d","\u03bd","\u039e","\u03be","\u039f","\u038c","\u03bf","\u03cc","\u03a0","\u03c0","\u03a1","\u03c1","\u03a3","\u03c3","\u03c2","\u03a4","\u03c4","\u03a5","\u038e","\u03c5","\u03cd","\u03a6","\u03c6","\u03a7","\u03c7","\u03a8","\u03c8","\u03a9","\u038f","\u03c9","\u03ce"]},'cyrillic':{'labelMsg':'wikieditor-toolbar-characters-page-cyrillic','layout':'characters','characters':["\u0410","\u0430","\u04d8","\u04d9","\u0411","\u0431","\u0412","\u0432","\u0413","\u0433","\u0490","\u0491","\u0403","\u0453","\u0492","\u0493","\u0414","\u0434","\u0402","\u0452","\u0415","\u0435","\u0404","\u0454","\u0401","\u0451","\u0416","\u0436","\u0417","\u0437","\u0405","\u0455","\u0418","\u0438","\u0406","\u0456","\u0407","\u0457","\u0130","\u0419","\u0439","\u04e2","\u04e3","\u0408","\u0458","\u041a","\u043a","\u040c","\u045c","\u049a","\u049b","\u041b","\u043b","\u0409","\u0459","\u041c","\u043c","\u041d","\u043d","\u040a","\u045a","\u04a2","\u04a3","\u041e","\u043e","\u04e8","\u04e9","\u041f","\u043f","\u0420","\u0440","\u0421","\u0441","\u0422","\u0442","\u040b","\u045b","\u0423","\u0443","\u040e","\u045e","\u04ee","\u04ef","\u04b0","\u04b1","\u04ae","\u04af","\u0424","\u0444","\u0425","\u0445","\u04b2","\u04b3","\u04ba","\u04bb","\u0426","\u0446","\u0427","\u0447","\u04b6","\u04b7","\u040f","\u045f","\u0428","\u0448","\u0429","\u0449","\u042a","\u044a","\u042b","\u044b","\u042c","\u044c","\u042d","\u044d","\u042e","\u044e","\u042f","\u044f"]},'arabic':{'labelMsg':'wikieditor-toolbar-characters-page-arabic','layout':'characters','language':'ar','direction':'rtl','characters':["\u061b","\u061f","\u0621","\u0622","\u0623","\u0624","\u0625","\u0626","\u0627","\u0628","\u0629","\u062a","\u062b","\u062c","\u062d","\u062e","\u062f","\u0630","\u0631","\u0632","\u0633","\u0634","\u0635","\u0636","\u0637","\u0638","\u0639","\u063a","\u0641","\u0642","\u0643","\u0644","\u0645","\u0646","\u0647","\u0648","\u0649","\u064a","\u060c","\u067e","\u0686","\u0698","\u06af","\u06ad"]},'hebrew':{'labelMsg':'wikieditor-toolbar-characters-page-hebrew','layout':'characters','direction':'rtl','characters':["\u05d0","\u05d1","\u05d2","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8","\u05d9","\u05db","\u05da","\u05dc","\u05de","\u05dd","\u05e0","\u05df","\u05e1","\u05e2","\u05e4","\u05e3","\u05e6","\u05e5","\u05e7","\u05e8","\u05e9","\u05ea","\u05f3","\u05f4","\u05f0","\u05f1","\u05f2","\u05d0","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8","\u05d9","\u05da","\u05db","\u05dc","\u05dd","\u05de","\u05df","\u05e0","\u05e1","\u05e2","\u05e3","\u05e4","\u05be","\u05f3","\u05f4",["\u05b0\u25cc","\u05b0"],["\u05b1\u25cc","\u05b1"],["\u05b2\u25cc","\u05b2"],["\u05b3\u25cc","\u05b3"],["\u05b4\u25cc","\u05b4"],["\u05b5\u25cc","\u05b5"],["\u05b6\u25cc","\u05b6"],["\u05b7\u25cc","\u05b7"],["\u05b8\u25cc","\u05b8"],["\u05b9\u25cc","\u05b9"],["\u05bb\u25cc","\u05bb"],["\u05bc\u25cc","\u05bc"],["\u05c1\u25cc","\u05c1"],["\u05c2\u25cc","\u05c2"],["\u05c7\u25cc","\u05c7"],["\u0591\u25cc","\u0591"],["\u0592\u25cc","\u0592"],["\u0593\u25cc","\u0593"],["\u0594\u25cc","\u0594"],["\u0595\u25cc","\u0595"],["\u0596\u25cc","\u0596"],["\u0597\u25cc","\u0597"],["\u0598\u25cc","\u0598"],["\u0599\u25cc","\u0599"],["\u059a\u25cc","\u059a"],["\u059b\u25cc","\u059b"],["\u059c\u25cc","\u059c"],["\u059d\u25cc","\u059d"],["\u059e\u25cc","\u059e"],["\u059f\u25cc","\u059f"],["\u05a0\u25cc","\u05a0"],["\u05a1\u25cc","\u05a1"],["\u05a2\u25cc","\u05a2"],["\u05a3\u25cc","\u05a3"],["\u05a4\u25cc","\u05a4"],["\u05a5\u25cc","\u05a5"],["\u05a6\u25cc","\u05a6"],["\u05a7\u25cc","\u05a7"],["\u05a8\u25cc","\u05a8"],["\u05a9\u25cc","\u05a9"],["\u05aa\u25cc","\u05aa"],["\u05ab\u25cc","\u05ab"],["\u05ac\u25cc","\u05ac"],["\u05ad\u25cc","\u05ad"],["\u05ae\u25cc","\u05ae"],["\u05af\u25cc","\u05af"],["\u05bf\u25cc","\u05bf"],["\u05c0\u25cc","\u05c0"],["\u05c3\u25cc","\u05c3"]]},'bangla':{'labelMsg':'wikieditor-toolbar-characters-page-bangla','language':'bn','layout':'characters','characters':["\u0985","\u0986","\u0987","\u0988","\u0989","\u098a","\u098b","\u098f","\u0990","\u0993","\u0994","\u09be","\u09bf","\u09c0","\u09c1","\u09c2","\u09c3","\u09c7","\u09c8","\u09cb","\u09cc","\u0995","\u0996","\u0997","\u0998","\u0999","\u099a","\u099b","\u099c","\u099d","\u099e","\u099f","\u09a0","\u09a1","\u09a2","\u09a3","\u09a4","\u09a5","\u09a6","\u09a7","\u09a8","\u09aa","\u09ab","\u09ac","\u09ad","\u09ae","\u09af","\u09b0","\u09b2","\u09b6","\u09b7","\u09b8","\u09b9","\u09a1\u09bc","\u09a2\u09bc","\u09af\u09bc","\u09ce","\u0982","\u0983","\u0981","\u09cd","\u09e7","\u09e8","\u09e9","\u09ea","\u09eb","\u09ec","\u09ed","\u09ee","\u09ef","\u09e6"]},'telugu':{'labelMsg':'wikieditor-toolbar-characters-page-telugu','language':'te','layout':'characters','characters':["\u0c01","\u0c02","\u0c03","\u0c05","\u0c06","\u0c07","\u0c08","\u0c09","\u0c0a","\u0c0b","\u0c60","\u0c0c","\u0c61","\u0c0e","\u0c0f","\u0c10","\u0c12","\u0c13","\u0c14","\u0c15","\u0c16","\u0c17","\u0c18","\u0c19","\u0c1a","\u0c1b","\u0c1c","\u0c1d","\u0c1e","\u0c1f","\u0c20","\u0c21","\u0c22","\u0c23","\u0c24","\u0c25","\u0c26","\u0c27","\u0c28","\u0c2a","\u0c2b","\u0c2c","\u0c2d","\u0c2e","\u0c2f","\u0c30","\u0c31","\u0c32","\u0c33","\u0c35","\u0c36","\u0c37","\u0c38","\u0c39","\u0c3e","\u0c3f","\u0c40","\u0c41","\u0c42","\u0c43","\u0c44","\u0c46","\u0c47","\u0c48","\u0c4a","\u0c4b","\u0c4c","\u0c4d","\u0c62","\u0c63","\u0c58","\u0c59","\u0c66","\u0c67","\u0c68","\u0c69","\u0c6a","\u0c6b","\u0c6c","\u0c6d","\u0c6e","\u0c6f","\u0c3d","\u0c78","\u0c79","\u0c7a","\u0c7b","\u0c7c","\u0c7d","\u0c7e","\u0c7f"]},'sinhala':{'labelMsg':'wikieditor-toolbar-characters-page-sinhala','language':'si','layout':'characters','characters':["\u0d85","\u0d86","\u0d87","\u0d88","\u0d89","\u0d8a","\u0d8b","\u0d8c","\u0d8d","\u0d8e","\u0d8f","\u0d90","\u0d91","\u0d92","\u0d93","\u0d94","\u0d95","\u0d96","\u0d9a","\u0d9b","\u0d9c","\u0d9d","\u0d9e","\u0d9f","\u0da0","\u0da1","\u0da2","\u0da3","\u0da4","\u0da5","\u0da6","\u0da7","\u0da8","\u0da9","\u0daa","\u0dab","\u0dac","\u0dad","\u0dae","\u0daf","\u0db0","\u0db1","\u0db3","\u0db4","\u0db5","\u0db6","\u0db7","\u0db8","\u0db9","\u0dba","\u0dbb","\u0dbd","\u0dc0","\u0dc1","\u0dc2","\u0dc3","\u0dc4","\u0dc5","\u0dc6",["\u25cc\u0dcf","\u0dcf"],["\u25cc\u0dd0","\u0dd0"],["\u25cc\u0dd1","\u0dd1"],["\u25cc\u0dd2","\u0dd2"],["\u25cc\u0dd3","\u0dd3"],["\u25cc\u0dd4","\u0dd4"],["\u25cc\u0dd6","\u0dd6"],["\u25cc\u0dd8","\u0dd8"],["\u25cc\u0df2","\u0df2"],["\u25cc\u0ddf","\u0ddf"],["\u25cc\u0df3","\u0df3"],["\u25cc\u0dd9","\u0dd9"],["\u25cc\u0dda","\u0dda"],["\u25cc\u0ddc","\u0ddc"],["\u25cc\u0ddd","\u0ddd"],["\u25cc\u0dde","\u0dde"],["\u25cc\u0dca","\u0dca"]]},'gujarati':{'labelMsg':'wikieditor-toolbar-characters-page-gujarati','language':'gu','layout':'characters','characters':["\u0ad0","\u0a85","\u0a86","\u0a87","\u0a88","\u0a89","\u0a8a","\u0a8b","\u0ae0","\u0a8c","\u0ae1","\u0a8d","\u0a8f","\u0a90","\u0a91","\u0a93","\u0a94","\u0a95","\u0a96","\u0a97","\u0a98","\u0a99","\u0a9a","\u0a9b","\u0a9c","\u0a9d","\u0a9e","\u0a9f","\u0aa0","\u0aa1","\u0aa2","\u0aa3","\u0aa4","\u0aa5","\u0aa6","\u0aa7","\u0aa8","\u0aaa","\u0aab","\u0aac","\u0aad","\u0aae","\u0aaf","\u0ab0","\u0ab2","\u0ab5","\u0ab6","\u0ab7","\u0ab8","\u0ab9","\u0ab3","\u0abd",["\u25cc\u0abe","\u0abe"],["\u25cc\u0abf","\u0abf"],["\u25cc\u0ac0","\u0ac0"],["\u25cc\u0ac1","\u0ac1"],["\u25cc\u0ac2","\u0ac2"],["\u25cc\u0ac3","\u0ac3"],["\u25cc\u0ac4","\u0ac4"],["\u25cc\u0ae2","\u0ae2"],["\u25cc\u0ae3","\u0ae3"],["\u25cc\u0ac5","\u0ac5"],["\u25cc\u0ac7","\u0ac7"],["\u25cc\u0ac8","\u0ac8"],["\u25cc\u0ac9","\u0ac9"],["\u25cc\u0acb","\u0acb"],["\u25cc\u0acc","\u0acc"],["\u25cc\u0acd","\u0acd"]]}}},'help':{labelMsg:'wikieditor-toolbar-section-help',type:'booklet',pages:{'format':{labelMsg:'wikieditor-toolbar-help-page-format',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-italic-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-italic-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-italic-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-bold-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-bold-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-bold-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-result'}}]},'link':{labelMsg:'wikieditor-toolbar-help-page-link',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-ilink-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-ilink-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-ilink-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-xlink-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-xlink-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-xlink-result'}}]},'heading':{labelMsg:'wikieditor-toolbar-help-page-heading',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading1-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading1-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading1-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading2-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading2-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading2-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading3-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading3-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading3-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading4-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading4-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading4-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading5-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading5-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading5-result'}}]},'list':{labelMsg:'wikieditor-toolbar-help-page-list',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-ulist-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-ulist-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-ulist-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-olist-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-olist-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-olist-result'}}]},'file':{labelMsg:'wikieditor-toolbar-help-page-file',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-file-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-file-syntax'},'result':{htmlMsg:['wikieditor-toolbar-help-content-file-result',stylepath]}}]},'reference':{labelMsg:'wikieditor-toolbar-help-page-reference',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-reference-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-reference-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-reference-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-rereference-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-rereference-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-rereference-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-result'}}]},'discussion':{labelMsg:'wikieditor-toolbar-help-page-discussion',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-signature-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-signature-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-signature-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-indent-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-indent-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-indent-result'}}]}}}},'dialogs':{'insert-link':{filters:['#wpTextbox1.toolbar-dialogs'],titleMsg:'wikieditor-toolbar-tool-link-title',id:'wikieditor-toolbar-link-dialog',html:'\
 9+if($j.fn.wikiEditor){$j('#toolbar').remove();$j('#wpTextbox1').wikiEditor('addModule',{'toolbar':{'main':{type:'toolbar',groups:{'format':{tools:{'bold':{labelMsg:'wikieditor-toolbar-tool-bold',type:'button',offset:{'default':[2,-574],'en':[2,-142],'de':[2,-214],'fr':[2,-286],'es':[2,-358],'it':[2,-286],'nl':[2,-502],'pt':[2,-358],'pt-br':[2,-358],'pl':[2,-430]},icon:{'default':'format-bold.png','en':'format-bold-B.png','de':'format-bold-F.png','fr':'format-bold-G.png','es':'format-bold-N.png','it':'format-bold-G.png','nl':'format-bold-V.png','pt':'format-bold-N.png','pt-br':'format-bold-N.png','pl':'format-bold-P.png'},action:{type:'encapsulate',options:{pre:"'''",periMsg:'wikieditor-toolbar-tool-bold-example',post:"'''"}}},'italic':{section:'main',group:'format',id:'italic',labelMsg:'wikieditor-toolbar-tool-italic',type:'button',offset:{'default':[2,-718],'en':[2,-862],'de':[2,-934],'fr':[2,-862],'es':[2,-790],'it':[2,-790],'nl':[2,-790],'pt':[2,-862],'pt-br':[2,-862],'pl':[2,-934]},icon:{'default':'format-italic.png','en':'format-italic-I.png','de':'format-italic-K.png','fr':'format-italic-I.png','es':'format-italic-C.png','it':'format-italic-C.png','nl':'format-italic-C.png','pt':'format-italic-I.png','pt-br':'format-italic-I.png','pl':'format-italic-K.png'},action:{type:'encapsulate',options:{pre:"''",periMsg:'wikieditor-toolbar-tool-italic-example',post:"''"}}}}},'insert':{tools:{'xlink':{labelMsg:'wikieditor-toolbar-tool-xlink',type:'button',icon:'insert-xlink.png',offset:[-70,2],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"[",periMsg:'wikieditor-toolbar-tool-xlink-example',post:"]"}}},'ilink':{labelMsg:'wikieditor-toolbar-tool-ilink',type:'button',icon:'insert-ilink.png',offset:[2,-1582],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"[[",periMsg:'wikieditor-toolbar-tool-ilink-example',post:"]]"}}},'linkCGD':{labelMsg:'wikieditor-toolbar-tool-link',type:'button',icon:'insert-link.png',offset:[2,-1654],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-link'}},'file':{labelMsg:'wikieditor-toolbar-tool-file',type:'button',icon:'insert-file.png',offset:[2,-1438],action:{type:'encapsulate',options:{preMsg:['wikieditor-toolbar-tool-file-pre','[['],periMsg:'wikieditor-toolbar-tool-file-example',post:"]]"}}},'referenceCGD':{labelMsg:'wikieditor-toolbar-tool-reference',type:'button',icon:'insert-reference.png',offset:[2,-1798],filters:['body.ns-subject','#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-reference'}},'reference':{labelMsg:'wikieditor-toolbar-tool-reference',filters:['body.ns-subject','#wpTextbox1:not(.toolbar-dialogs)'],type:'button',offset:[2,-1798],icon:'insert-reference.png',action:{type:'encapsulate',options:{pre:"<ref>",periMsg:'wikieditor-toolbar-tool-reference-example',post:"</ref>"}}},'signature':{labelMsg:'wikieditor-toolbar-tool-signature',filters:['body:not(.ns-0)'],type:'button',offset:[2,-1872],icon:'insert-signature.png',action:{type:'encapsulate',options:{post:"--~~~~"}}}}}}},'advanced':{labelMsg:'wikieditor-toolbar-section-advanced',type:'toolbar',groups:{'heading':{tools:{'heading':{labelMsg:'wikieditor-toolbar-tool-heading',type:'select',list:{'heading-2':{labelMsg:'wikieditor-toolbar-tool-heading-2',action:{type:'replace',options:{pre:'==',periMsg:'wikieditor-toolbar-tool-heading-example',post:'==',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1==\$3==\$4",ownline:true}}},'heading-3':{labelMsg:'wikieditor-toolbar-tool-heading-3',action:{type:'replace',options:{pre:'===',periMsg:'wikieditor-toolbar-tool-heading-example',post:'===',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1===\$3===\$4",ownline:true}}},'heading-4':{labelMsg:'wikieditor-toolbar-tool-heading-4',action:{type:'replace',options:{pre:'====',periMsg:'wikieditor-toolbar-tool-heading-example',post:'====',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1====\$3====\$4",ownline:true}}},'heading-5':{labelMsg:'wikieditor-toolbar-tool-heading-5',action:{type:'replace',options:{pre:'=====',periMsg:'wikieditor-toolbar-tool-heading-example',post:'=====',regex:/^(\s*)(={0,6})(.*?)\2(\s*)$/,regexReplace:"\$1=====\$3=====\$4",ownline:true}}}}}}},'format':{labelMsg:'wikieditor-toolbar-group-format',tools:{'ulist':{labelMsg:'wikieditor-toolbar-tool-ulist',type:'button',icon:'format-ulist.png',offset:[2,-1366],action:{type:'encapsulate',options:{pre:"* ",periMsg:'wikieditor-toolbar-tool-ulist-example',post:"",ownline:true}}},'olist':{labelMsg:'wikieditor-toolbar-tool-olist',type:'button',icon:'format-olist.png',offset:[2,-1078],action:{type:'encapsulate',options:{pre:"# ",periMsg:'wikieditor-toolbar-tool-olist-example',post:"",ownline:true}}},'indent':{labelMsg:'wikieditor-toolbar-tool-indent',type:'button',icon:'format-indent.png',offset:[2,-646],action:{type:'encapsulate',options:{pre:":",periMsg:'wikieditor-toolbar-tool-indent-example',post:"",ownline:true,splitlines:true}}},'nowiki':{labelMsg:'wikieditor-toolbar-tool-nowiki',type:'button',icon:'insert-nowiki.png',offset:[-70,-70],action:{type:'encapsulate',options:{pre:"<nowiki>",periMsg:'wikieditor-toolbar-tool-nowiki-example',post:"</nowiki>"}}},'newline':{labelMsg:'wikieditor-toolbar-tool-newline',type:'button',icon:'insert-newline.png',offset:[2,-1726],action:{type:'encapsulate',options:{pre:"<br />\n"}}}}},'size':{tools:{'big':{labelMsg:'wikieditor-toolbar-tool-big',type:'button',icon:'format-big.png',offset:[2,2],action:{type:'encapsulate',options:{pre:"<big>",periMsg:'wikieditor-toolbar-tool-big-example',post:"</big>"}}},'small':{labelMsg:'wikieditor-toolbar-tool-small',type:'button',icon:'format-small.png',offset:[2,-1150],action:{type:'encapsulate',options:{pre:"<small>",periMsg:'wikieditor-toolbar-tool-small-example',post:"</small>"}}},'superscript':{labelMsg:'wikieditor-toolbar-tool-superscript',type:'button',icon:'format-superscript.png',offset:[2,-1294],action:{type:'encapsulate',options:{pre:"<sup>",periMsg:'wikieditor-toolbar-tool-superscript-example',post:"</sup>"}}},'subscript':{labelMsg:'wikieditor-toolbar-tool-subscript',type:'button',icon:'format-subscript.png',offset:[2,-1222],action:{type:'encapsulate',options:{pre:"<sub>",periMsg:'wikieditor-toolbar-tool-subscript-example',post:"</sub>"}}}}},'insert':{labelMsg:'wikieditor-toolbar-group-insert',tools:{'gallery':{labelMsg:'wikieditor-toolbar-tool-gallery',type:'button',icon:'insert-gallery.png',offset:[2,-1510],action:{type:'encapsulate',options:{pre:"<gallery>\n",periMsg:'wikieditor-toolbar-tool-gallery-example',post:"\n</gallery>",ownline:true}}},'tableCGD':{labelMsg:'wikieditor-toolbar-tool-table',type:'button',icon:'insert-table.png',offset:[2,-1942],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'insert-table'}},'table':{labelMsg:'wikieditor-toolbar-tool-table',type:'button',icon:'insert-table.png',offset:[2,-1942],filters:['#wpTextbox1:not(.toolbar-dialogs)'],action:{type:'encapsulate',options:{pre:"{| class=\"wikitable\" border=\"1\"\n|",periMsg:'wikieditor-toolbar-tool-table-example-old',post:"\n|}",ownline:true}}},'redirect':{labelMsg:'wikieditor-toolbar-tool-redirect',type:'button',icon:'insert-redirect.png',offset:[-70,-142],action:{type:'encapsulate',options:{pre:"#REDIRECT [[",periMsg:'wikieditor-toolbar-tool-redirect-example',post:"]]",ownline:true}}}}},'search':{tools:{'replace':{labelMsg:'wikieditor-toolbar-tool-replace',type:'button',icon:'search-replace.png',offset:[-70,-214],filters:['#wpTextbox1.toolbar-dialogs'],action:{type:'dialog',module:'search-and-replace'}}}}}},'characters':{labelMsg:'wikieditor-toolbar-section-characters',type:'booklet',deferLoad:true,pages:{'latin':{'labelMsg':'wikieditor-toolbar-characters-page-latin','layout':'characters','characters':["\u00c1","\u00e1","\u00c0","\u00e0","\u00c2","\u00e2","\u00c4","\u00e4","\u00c3","\u00e3","\u01cd","\u01ce","\u0100","\u0101","\u0102","\u0103","\u0104","\u0105","\u00c5","\u00e5","\u0106","\u0107","\u0108","\u0109","\u00c7","\u00e7","\u010c","\u010d","\u010a","\u010b","\u0110","\u0111","\u010e","\u010f","\u00c9","\u00e9","\u00c8","\u00e8","\u00ca","\u00ea","\u00cb","\u00eb","\u011a","\u011b","\u0112","\u0113","\u0114","\u0115","\u0116","\u0117","\u0118","\u0119","\u011c","\u011d","\u0122","\u0123","\u011e","\u011f","\u0120","\u0121","\u0124","\u0125","\u0126","\u0127","\u00cd","\u00ed","\u00cc","\u00ec","\u00ce","\u00ee","\u00cf","\u00ef","\u0128","\u0129","\u01cf","\u01d0","\u012a","\u012b","\u012c","\u012d","\u0130","\u0131","\u012e","\u012f","\u0134","\u0135","\u0136","\u0137","\u0139","\u013a","\u013b","\u013c","\u013d","\u013e","\u0141","\u0142","\u013f","\u0140","\u0143","\u0144","\u00d1","\u00f1","\u0145","\u0146","\u0147","\u0148","\u00d3","\u00f3","\u00d2","\u00f2","\u00d4","\u00f4","\u00d6","\u00f6","\u00d5","\u00f5","\u01d1","\u01d2","\u014c","\u014d","\u014e","\u014f","\u01ea","\u01eb","\u0150","\u0151","\u0154","\u0155","\u0156","\u0157","\u0158","\u0159","\u015a","\u015b","\u015c","\u015d","\u015e","\u015f","\u0160","\u0161","\u0162","\u0163","\u0164","\u0165","\u00da","\u00fa","\u00d9","\u00f9","\u00db","\u00fb","\u00dc","\u00fc","\u0168","\u0169","\u016e","\u016f","\u01d3","\u01d4","\u016a","\u016b","\u01d6","\u01d8","\u01da","\u01dc","\u016c","\u016d","\u0172","\u0173","\u0170","\u0171","\u0174","\u0175","\u00dd","\u00fd","\u0176","\u0177","\u0178","\u00ff","\u0232","\u0233","\u0179","\u017a","\u017d","\u017e","\u017b","\u017c","\u00c6","\u00e6","\u01e2","\u01e3","\u00d8","\u00f8","\u0152","\u0153","\u00df","\u00f0","\u00de","\u00fe","\u018f","\u0259"]},'latinextended':{'labelMsg':'wikieditor-toolbar-characters-page-latinextended','layout':'characters','characters':["\u1e00","\u1e01","\u1e9a","\u1ea0","\u1ea1","\u1ea2","\u1ea3","\u1ea4","\u1ea5","\u1ea6","\u1ea7","\u1ea8","\u1ea9","\u1eaa","\u1eab","\u1eac","\u1ead","\u1eae","\u1eaf","\u1eb0","\u1eb1","\u1eb2","\u1eb3","\u1eb4","\u1eb5","\u1eb6","\u1eb7","\u1e02","\u1e03","\u1e04","\u1e05","\u1e06","\u1e07","\u1e08","\u1e09","\u1e0a","\u1e0b","\u1e0c","\u1e0d","\u1e0e","\u1e0f","\u1e10","\u1e11","\u1e12","\u1e13","\u1e14","\u1e15","\u1e16","\u1e17","\u1e18","\u1e19","\u1e1a","\u1e1b","\u1e1c","\u1e1d","\u1eb8","\u1eb9","\u1eba","\u1ebb","\u1ebc","\u1ebd","\u1ebe","\u1ebf","\u1ec0","\u1ec1","\u1ec2","\u1ec3","\u1ec4","\u1ec5","\u1ec6","\u1ec7","\u1e1e","\u1e1f","\u1e20","\u1e21","\u1e22","\u1e23","\u1e24","\u1e25","\u1e26","\u1e27","\u1e28","\u1e29","\u1e2a","\u1e2b","\u1e96","\u1e2c","\u1e2d","\u1e2e","\u1e2f","\u1ec8","\u1ec9","\u1eca","\u1ecb","\u1e30","\u1e31","\u1e32","\u1e33","\u1e34","\u1e35","\u1e36","\u1e37","\u1e38","\u1e39","\u1e3a","\u1e3b","\u1e3c","\u1e3d","\u1efa","\u1efb","\u1e3e","\u1e3f","\u1e40","\u1e41","\u1e42","\u1e43","\u1e44","\u1e45","\u1e46","\u1e47","\u1e48","\u1e49","\u1e4a","\u1e4b","\u1e4c","\u1e4d","\u1e4e","\u1e4f","\u1e50","\u1e51","\u1e52","\u1e53","\u1ecc","\u1ecd","\u1ece","\u1ecf","\u1ed0","\u1ed1","\u1ed2","\u1ed3","\u1ed4","\u1ed5","\u1ed6","\u1ed7","\u1ed8","\u1ed9","\u1eda","\u1edb","\u1edc","\u1edd","\u1ede","\u1edf","\u1ee0","\u1ee1","\u1ee2","\u1ee3","\u1e54","\u1e55","\u1e56","\u1e57","\u1e58","\u1e59","\u1e5a","\u1e5b","\u1e5c","\u1e5d","\u1e5e","\u1e5f","\u1e60","\u1e61","\u1e9b","\u1e62","\u1e63","\u1e64","\u1e65","\u1e66","\u1e67","\u1e68","\u1e69","\u1e9c","\u1e9d","\u1e6a","\u1e6b","\u1e6c","\u1e6d","\u1e6e","\u1e6f","\u1e70","\u1e71","\u1e97","\u1e72","\u1e73","\u1e74","\u1e75","\u1e76","\u1e77","\u1e78","\u1e79","\u1e7a","\u1e7b","\u1ee4","\u1ee5","\u1ee6","\u1ee7","\u1ee8","\u1ee9","\u1eea","\u1eeb","\u1eec","\u1eed","\u1eee","\u1eef","\u1ef0","\u1ef1","\u1e7c","\u1e7d","\u1e7e","\u1e7f","\u1efc","\u1efd","\u1e80","\u1e81","\u1e82","\u1e83","\u1e84","\u1e85","\u1e86","\u1e87","\u1e88","\u1e89","\u1e98","\u1e8a","\u1e8b","\u1e8c","\u1e8d","\u1e8e","\u1e8f","\u1e99","\u1ef2","\u1ef3","\u1ef4","\u1ef5","\u1ef6","\u1ef7","\u1ef8","\u1ef9","\u1efe","\u1eff","\u1e90","\u1e91","\u1e92","\u1e93","\u1e94","\u1e95","\u1e9e","\u1e9f"]},'ipa':{labelMsg:'wikieditor-toolbar-characters-page-ipa',layout:'characters',characters:["p","t\u032a","t","\u0288","c","k","q","\u02a1","\u0294","b","d\u032a","d","\u0256","\u025f","\u0261","\u0262","\u0253","\u0257","\u0284","\u0260","\u029b","t\u0361s","t\u0361\u0283","t\u0361\u0255","d\u0361z","d\u0361\u0292","d\u0361\u0291","\u0278","f","\u03b8","s","\u0283","\u0285","\u0286","\u0282","\u0255","\u00e7","\u0267","x","\u03c7","\u0127","\u029c","h","\u03b2","v","\u028d","\u00f0","z","\u0292","\u0293","\u0290","\u0291","\u029d","\u0263","\u0281","\u0295","\u0296","\u02a2","\u0266","\u026c","\u026e","m","m\u0329","\u0271","\u0271\u0329","\u0271\u030d","n\u032a","n\u032a\u030d","n","n\u0329","\u0273","\u0273\u0329","\u0272","\u0272\u0329","\u014b","\u014b\u030d","\u014b\u0329","\u0274","\u0274\u0329","\u0299","\u0299\u0329","r","r\u0329","\u0280","\u0280\u0329","\u027e","\u027d","\u027f","\u027a","l\u032a","l\u032a\u0329","l","l\u0329","\u026b","\u026b\u0329","\u026d","\u026d\u0329","\u028e","\u028e\u0329","\u029f","\u029f\u0329","w","\u0265","\u028b","\u0279","\u027b","j","\u0270","\u0298","\u01c2","\u01c0","!","\u01c1","\u02b0","\u02b1","\u02b7","\u02b8","\u02b2","\u02b3","\u207f","\u02e1","\u02b4","\u02b5","\u02e2","\u02e3","\u02e0","\u02b6","\u02e4","\u02c1","\u02c0","\u02bc","i","i\u032f","\u0129","y","y\u032f","\u1ef9","\u026a","\u026a\u032f","\u026a\u0303","\u028f","\u028f\u032f","\u028f\u0303","\u0268","\u0268\u032f","\u0268\u0303","\u0289","\u0289\u032f","\u0289\u0303","\u026f","\u026f\u032f","\u026f\u0303","u","u\u032f","\u0169","\u028a","\u028a\u032f","\u028a\u0303","e","e\u032f","\u1ebd","\u00f8","\u00f8\u032f","\u00f8\u0303","\u0258","\u0258\u032f","\u0258\u0303","\u0275","\u0275\u032f","\u0275\u0303","\u0264","\u0264\u032f","\u0264\u0303","o","o\u032f","\u00f5","\u025b","\u025b\u032f","\u025b\u0303","\u0153","\u0153\u032f","\u0153\u0303","\u025c","\u025c\u032f","\u025c\u0303","\u0259","\u0259\u032f","\u0259\u0303","\u025e","\u025e\u032f","\u025e\u0303","\u028c","\u028c\u032f","\u028c\u0303","\u0254","\u0254\u032f","\u0254\u0303","\u00e6","\u00e6\u032f","\u00e6\u0303","\u0276","\u0276\u032f","\u0276\u0303","a","a\u032f","\u00e3","\u0250","\u0250\u032f","\u0250\u0303","\u0251","\u0251\u032f","\u0251\u0303","\u0252","\u0252\u032f","\u0252\u0303","\u02c8","\u02cc","\u02d0","\u02d1","\u02d8",".","\u203f","|","\u2016"]},'symbols':{'labelMsg':'wikieditor-toolbar-characters-page-symbols','layout':'characters','characters':["~","|","\u00a1","\u00bf","\u2020","\u2021","\u2194","\u2191","\u2193","\u2022","\u00b6","#","\u00bd","\u2153","\u2154","\u00bc","\u00be","\u215b","\u215c","\u215d","\u215e","\u221e","\u2018","\u201e","\u201c","\u2019","\u201d",{'label':"\u00ab\u00bb",'action':{'type':'encapsulate','options':{'pre':"\u00ab",'post':"\u00bb"}}},"\u00a4","\u20b3","\u0e3f","\u20b5","\u00a2","\u20a1","\u20a2","$","\u20ab","\u20af","\u20ac","\u20a0","\u20a3","\u0192","\u20b4","\u20ad","\u20a4","\u2133","\u20a5","\u20a6","\u2116","\u20a7","\u20b0","\u00a3","\u17db","\u20a8","\u20aa","\u09f3","\u20ae","\u20a9","\u00a5","\u2660","\u2663","\u2665","\u2666","m\u00b2","m\u00b3","\u2013","\u2014","\u2026","\u2018","\u201c","\u2019","\u201d","\u00b0","\u2033","\u2032","\u2248","\u2260","\u2264","\u2265","\u00b1","\u2212","\u00d7","\u00f7","\u2190","\u2192","\u00b7","\u00a7"]},'greek':{'labelMsg':'wikieditor-toolbar-characters-page-greek','layout':'characters','language':'hl','characters':["\u0391","\u0386","\u03b1","\u03ac","\u0392","\u03b2","\u0393","\u03b3","\u0394","\u03b4","\u0395","\u0388","\u03b5","\u03ad","\u0396","\u03b6","\u0397","\u0389","\u03b7","\u03ae","\u0398","\u03b8","\u0399","\u038a","\u03b9","\u03af","\u039a","\u03ba","\u039b","\u03bb","\u039c","\u03bc","\u039d","\u03bd","\u039e","\u03be","\u039f","\u038c","\u03bf","\u03cc","\u03a0","\u03c0","\u03a1","\u03c1","\u03a3","\u03c3","\u03c2","\u03a4","\u03c4","\u03a5","\u038e","\u03c5","\u03cd","\u03a6","\u03c6","\u03a7","\u03c7","\u03a8","\u03c8","\u03a9","\u038f","\u03c9","\u03ce"]},'cyrillic':{'labelMsg':'wikieditor-toolbar-characters-page-cyrillic','layout':'characters','characters':["\u0410","\u0430","\u04d8","\u04d9","\u0411","\u0431","\u0412","\u0432","\u0413","\u0433","\u0490","\u0491","\u0403","\u0453","\u0492","\u0493","\u0414","\u0434","\u0402","\u0452","\u0415","\u0435","\u0404","\u0454","\u0401","\u0451","\u0416","\u0436","\u0417","\u0437","\u0405","\u0455","\u0418","\u0438","\u0406","\u0456","\u0407","\u0457","\u0130","\u0419","\u0439","\u04e2","\u04e3","\u0408","\u0458","\u041a","\u043a","\u040c","\u045c","\u049a","\u049b","\u041b","\u043b","\u0409","\u0459","\u041c","\u043c","\u041d","\u043d","\u040a","\u045a","\u04a2","\u04a3","\u041e","\u043e","\u04e8","\u04e9","\u041f","\u043f","\u0420","\u0440","\u0421","\u0441","\u0422","\u0442","\u040b","\u045b","\u0423","\u0443","\u040e","\u045e","\u04ee","\u04ef","\u04b0","\u04b1","\u04ae","\u04af","\u0424","\u0444","\u0425","\u0445","\u04b2","\u04b3","\u04ba","\u04bb","\u0426","\u0446","\u0427","\u0447","\u04b6","\u04b7","\u040f","\u045f","\u0428","\u0448","\u0429","\u0449","\u042a","\u044a","\u042b","\u044b","\u042c","\u044c","\u042d","\u044d","\u042e","\u044e","\u042f","\u044f"]},'arabic':{'labelMsg':'wikieditor-toolbar-characters-page-arabic','layout':'characters','language':'ar','direction':'rtl','characters':["\u061b","\u061f","\u0621","\u0622","\u0623","\u0624","\u0625","\u0626","\u0627","\u0628","\u0629","\u062a","\u062b","\u062c","\u062d","\u062e","\u062f","\u0630","\u0631","\u0632","\u0633","\u0634","\u0635","\u0636","\u0637","\u0638","\u0639","\u063a","\u0641","\u0642","\u0643","\u0644","\u0645","\u0646","\u0647","\u0648","\u0649","\u064a","\u060c","\u067e","\u0686","\u0698","\u06af","\u06ad"]},'hebrew':{'labelMsg':'wikieditor-toolbar-characters-page-hebrew','layout':'characters','direction':'rtl','characters':["\u05d0","\u05d1","\u05d2","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8","\u05d9","\u05db","\u05da","\u05dc","\u05de","\u05dd","\u05e0","\u05df","\u05e1","\u05e2","\u05e4","\u05e3","\u05e6","\u05e5","\u05e7","\u05e8","\u05e9","\u05ea","\u05f3","\u05f4","\u05f0","\u05f1","\u05f2","\u05d0","\u05d3","\u05d4","\u05d5","\u05d6","\u05d7","\u05d8","\u05d9","\u05da","\u05db","\u05dc","\u05dd","\u05de","\u05df","\u05e0","\u05e1","\u05e2","\u05e3","\u05e4","\u05be","\u05f3","\u05f4",["\u05b0\u25cc","\u05b0"],["\u05b1\u25cc","\u05b1"],["\u05b2\u25cc","\u05b2"],["\u05b3\u25cc","\u05b3"],["\u05b4\u25cc","\u05b4"],["\u05b5\u25cc","\u05b5"],["\u05b6\u25cc","\u05b6"],["\u05b7\u25cc","\u05b7"],["\u05b8\u25cc","\u05b8"],["\u05b9\u25cc","\u05b9"],["\u05bb\u25cc","\u05bb"],["\u05bc\u25cc","\u05bc"],["\u05c1\u25cc","\u05c1"],["\u05c2\u25cc","\u05c2"],["\u05c7\u25cc","\u05c7"],["\u0591\u25cc","\u0591"],["\u0592\u25cc","\u0592"],["\u0593\u25cc","\u0593"],["\u0594\u25cc","\u0594"],["\u0595\u25cc","\u0595"],["\u0596\u25cc","\u0596"],["\u0597\u25cc","\u0597"],["\u0598\u25cc","\u0598"],["\u0599\u25cc","\u0599"],["\u059a\u25cc","\u059a"],["\u059b\u25cc","\u059b"],["\u059c\u25cc","\u059c"],["\u059d\u25cc","\u059d"],["\u059e\u25cc","\u059e"],["\u059f\u25cc","\u059f"],["\u05a0\u25cc","\u05a0"],["\u05a1\u25cc","\u05a1"],["\u05a2\u25cc","\u05a2"],["\u05a3\u25cc","\u05a3"],["\u05a4\u25cc","\u05a4"],["\u05a5\u25cc","\u05a5"],["\u05a6\u25cc","\u05a6"],["\u05a7\u25cc","\u05a7"],["\u05a8\u25cc","\u05a8"],["\u05a9\u25cc","\u05a9"],["\u05aa\u25cc","\u05aa"],["\u05ab\u25cc","\u05ab"],["\u05ac\u25cc","\u05ac"],["\u05ad\u25cc","\u05ad"],["\u05ae\u25cc","\u05ae"],["\u05af\u25cc","\u05af"],["\u05bf\u25cc","\u05bf"],["\u05c0\u25cc","\u05c0"],["\u05c3\u25cc","\u05c3"]]},'bangla':{'labelMsg':'wikieditor-toolbar-characters-page-bangla','language':'bn','layout':'characters','characters':["\u0985","\u0986","\u0987","\u0988","\u0989","\u098a","\u098b","\u098f","\u0990","\u0993","\u0994","\u09be","\u09bf","\u09c0","\u09c1","\u09c2","\u09c3","\u09c7","\u09c8","\u09cb","\u09cc","\u0995","\u0996","\u0997","\u0998","\u0999","\u099a","\u099b","\u099c","\u099d","\u099e","\u099f","\u09a0","\u09a1","\u09a2","\u09a3","\u09a4","\u09a5","\u09a6","\u09a7","\u09a8","\u09aa","\u09ab","\u09ac","\u09ad","\u09ae","\u09af","\u09b0","\u09b2","\u09b6","\u09b7","\u09b8","\u09b9","\u09a1\u09bc","\u09a2\u09bc","\u09af\u09bc","\u09ce","\u0982","\u0983","\u0981","\u09cd","\u09e7","\u09e8","\u09e9","\u09ea","\u09eb","\u09ec","\u09ed","\u09ee","\u09ef","\u09e6"]},'telugu':{'labelMsg':'wikieditor-toolbar-characters-page-telugu','language':'te','layout':'characters','characters':["\u0c01","\u0c02","\u0c03","\u0c05","\u0c06","\u0c07","\u0c08","\u0c09","\u0c0a","\u0c0b","\u0c60","\u0c0c","\u0c61","\u0c0e","\u0c0f","\u0c10","\u0c12","\u0c13","\u0c14","\u0c15","\u0c16","\u0c17","\u0c18","\u0c19","\u0c1a","\u0c1b","\u0c1c","\u0c1d","\u0c1e","\u0c1f","\u0c20","\u0c21","\u0c22","\u0c23","\u0c24","\u0c25","\u0c26","\u0c27","\u0c28","\u0c2a","\u0c2b","\u0c2c","\u0c2d","\u0c2e","\u0c2f","\u0c30","\u0c31","\u0c32","\u0c33","\u0c35","\u0c36","\u0c37","\u0c38","\u0c39","\u0c3e","\u0c3f","\u0c40","\u0c41","\u0c42","\u0c43","\u0c44","\u0c46","\u0c47","\u0c48","\u0c4a","\u0c4b","\u0c4c","\u0c4d","\u0c62","\u0c63","\u0c58","\u0c59","\u0c66","\u0c67","\u0c68","\u0c69","\u0c6a","\u0c6b","\u0c6c","\u0c6d","\u0c6e","\u0c6f","\u0c3d","\u0c78","\u0c79","\u0c7a","\u0c7b","\u0c7c","\u0c7d","\u0c7e","\u0c7f"]},'sinhala':{'labelMsg':'wikieditor-toolbar-characters-page-sinhala','language':'si','layout':'characters','characters':["\u0d85","\u0d86","\u0d87","\u0d88","\u0d89","\u0d8a","\u0d8b","\u0d8c","\u0d8d","\u0d8e","\u0d8f","\u0d90","\u0d91","\u0d92","\u0d93","\u0d94","\u0d95","\u0d96","\u0d9a","\u0d9b","\u0d9c","\u0d9d","\u0d9e","\u0d9f","\u0da0","\u0da1","\u0da2","\u0da3","\u0da4","\u0da5","\u0da6","\u0da7","\u0da8","\u0da9","\u0daa","\u0dab","\u0dac","\u0dad","\u0dae","\u0daf","\u0db0","\u0db1","\u0db3","\u0db4","\u0db5","\u0db6","\u0db7","\u0db8","\u0db9","\u0dba","\u0dbb","\u0dbd","\u0dc0","\u0dc1","\u0dc2","\u0dc3","\u0dc4","\u0dc5","\u0dc6",["\u25cc\u0dcf","\u0dcf"],["\u25cc\u0dd0","\u0dd0"],["\u25cc\u0dd1","\u0dd1"],["\u25cc\u0dd2","\u0dd2"],["\u25cc\u0dd3","\u0dd3"],["\u25cc\u0dd4","\u0dd4"],["\u25cc\u0dd6","\u0dd6"],["\u25cc\u0dd8","\u0dd8"],["\u25cc\u0df2","\u0df2"],["\u25cc\u0ddf","\u0ddf"],["\u25cc\u0df3","\u0df3"],["\u25cc\u0dd9","\u0dd9"],["\u25cc\u0dda","\u0dda"],["\u25cc\u0ddc","\u0ddc"],["\u25cc\u0ddd","\u0ddd"],["\u25cc\u0dde","\u0dde"],["\u25cc\u0dca","\u0dca"]]},'gujarati':{'labelMsg':'wikieditor-toolbar-characters-page-gujarati','language':'gu','layout':'characters','characters':["\u0ad0","\u0a85","\u0a86","\u0a87","\u0a88","\u0a89","\u0a8a","\u0a8b","\u0ae0","\u0a8c","\u0ae1","\u0a8d","\u0a8f","\u0a90","\u0a91","\u0a93","\u0a94","\u0a95","\u0a96","\u0a97","\u0a98","\u0a99","\u0a9a","\u0a9b","\u0a9c","\u0a9d","\u0a9e","\u0a9f","\u0aa0","\u0aa1","\u0aa2","\u0aa3","\u0aa4","\u0aa5","\u0aa6","\u0aa7","\u0aa8","\u0aaa","\u0aab","\u0aac","\u0aad","\u0aae","\u0aaf","\u0ab0","\u0ab2","\u0ab5","\u0ab6","\u0ab7","\u0ab8","\u0ab9","\u0ab3","\u0abd",["\u25cc\u0abe","\u0abe"],["\u25cc\u0abf","\u0abf"],["\u25cc\u0ac0","\u0ac0"],["\u25cc\u0ac1","\u0ac1"],["\u25cc\u0ac2","\u0ac2"],["\u25cc\u0ac3","\u0ac3"],["\u25cc\u0ac4","\u0ac4"],["\u25cc\u0ae2","\u0ae2"],["\u25cc\u0ae3","\u0ae3"],["\u25cc\u0ac5","\u0ac5"],["\u25cc\u0ac7","\u0ac7"],["\u25cc\u0ac8","\u0ac8"],["\u25cc\u0ac9","\u0ac9"],["\u25cc\u0acb","\u0acb"],["\u25cc\u0acc","\u0acc"],["\u25cc\u0acd","\u0acd"]]}}},'help':{labelMsg:'wikieditor-toolbar-section-help',type:'booklet',deferLoad:true,pages:{'format':{labelMsg:'wikieditor-toolbar-help-page-format',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-italic-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-italic-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-italic-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-bold-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-bold-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-bold-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-bolditalic-result'}}]},'link':{labelMsg:'wikieditor-toolbar-help-page-link',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-ilink-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-ilink-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-ilink-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-xlink-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-xlink-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-xlink-result'}}]},'heading':{labelMsg:'wikieditor-toolbar-help-page-heading',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading1-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading1-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading1-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading2-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading2-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading2-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading3-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading3-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading3-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading4-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading4-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading4-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-heading5-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-heading5-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-heading5-result'}}]},'list':{labelMsg:'wikieditor-toolbar-help-page-list',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-ulist-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-ulist-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-ulist-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-olist-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-olist-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-olist-result'}}]},'file':{labelMsg:'wikieditor-toolbar-help-page-file',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-file-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-file-syntax'},'result':{htmlMsg:['wikieditor-toolbar-help-content-file-result',stylepath]}}]},'reference':{labelMsg:'wikieditor-toolbar-help-page-reference',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-reference-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-reference-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-reference-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-rereference-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-rereference-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-rereference-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-showreferences-result'}}]},'discussion':{labelMsg:'wikieditor-toolbar-help-page-discussion',layout:'table',headings:[{textMsg:'wikieditor-toolbar-help-heading-description'},{textMsg:'wikieditor-toolbar-help-heading-syntax'},{textMsg:'wikieditor-toolbar-help-heading-result'}],rows:[{'description':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-signaturetimestamp-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-signature-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-signature-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-signature-result'}},{'description':{htmlMsg:'wikieditor-toolbar-help-content-indent-description'},'syntax':{htmlMsg:'wikieditor-toolbar-help-content-indent-syntax'},'result':{htmlMsg:'wikieditor-toolbar-help-content-indent-result'}}]}}}},'dialogs':{'insert-link':{filters:['#wpTextbox1.toolbar-dialogs'],titleMsg:'wikieditor-toolbar-tool-link-title',id:'wikieditor-toolbar-link-dialog',html:'\
1010 <fieldset>\
1111 <div class="wikieditor-toolbar-field-wrapper">\
1212 <label for="wikieditor-toolbar-link-int-target" rel="wikieditor-toolbar-tool-link-int-target" id="wikieditor-toolbar-tool-link-int-target-label"></label>\
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins.combined.js
@@ -8430,7 +8430,13 @@
84318431 },
84328432 openDialog: function( context, module ) {
84338433 if ( module in $.wikiEditor.modules.dialogs.modules ) {
8434 - $( '#' + $.wikiEditor.modules.dialogs.modules[module].id ).dialog( 'open' );
 8434+ var mod = $.wikiEditor.modules.dialogs.modules[module];
 8435+ var $dialog = $( '#' + mod.id );
 8436+ if ( $dialog.length == 0 ) {
 8437+ $.wikiEditor.modules.dialogs.fn.reallyCreate( context, mod );
 8438+ $dialog = $( '#' + mod.id );
 8439+ }
 8440+ $dialog.dialog( 'open' );
84358441 }
84368442 },
84378443 closeDialog: function( context, module ) {
@@ -8450,74 +8456,77 @@
84518457 * @param {Object} config Configuration object to create module from
84528458 */
84538459 create: function( context, config ) {
8454 - // Add modules
8455 - for ( module in config ) {
8456 - $.wikiEditor.modules.dialogs.modules[module] = config[module];
8457 - }
8458 - // Build out modules immediately
8459 - // TODO: Move mw.usability.load() call down to where we're sure we're really gonna build a dialog
8460 - mw.usability.load( [ '$j.ui', '$j.ui.dialog', '$j.ui.draggable', '$j.ui.resizable' ], function() {
8461 - for ( mod in $.wikiEditor.modules.dialogs.modules ) {
8462 - var module = $.wikiEditor.modules.dialogs.modules[mod];
8463 - // Only create the dialog if it's supported, not filtered and doesn't exist yet
8464 - var filtered = false;
8465 - if ( typeof module.filters != 'undefined' ) {
8466 - for ( var i = 0; i < module.filters.length; i++ ) {
8467 - if ( $( module.filters[i] ).length == 0 ) {
8468 - filtered = true;
8469 - break;
8470 - }
 8460+ // Defer building of modules, but do check whether they need the iframe rightaway
 8461+ for ( mod in config ) {
 8462+ var module = config[mod];
 8463+ // Only create the dialog if it's supported, isn't filtered and doesn't exist yet
 8464+ var filtered = false;
 8465+ if ( typeof module.filters != 'undefined' ) {
 8466+ for ( var i = 0; i < module.filters.length; i++ ) {
 8467+ if ( $( module.filters[i] ).length == 0 ) {
 8468+ filtered = true;
 8469+ break;
84718470 }
84728471 }
8473 - if ( !filtered && $.wikiEditor.isSupported( module ) && $( '#' + module.id ).size() == 0 ) {
8474 - // If this dialog requires the iframe, set it up
8475 - if ( typeof context.$iframe == 'undefined' && $.wikiEditor.isRequired( module, 'iframe' ) ) {
8476 - context.fn.setupIframe();
8477 - }
8478 -
8479 - var configuration = module.dialog;
8480 - // Add some stuff to configuration
8481 - configuration.bgiframe = true;
8482 - configuration.autoOpen = false;
8483 - configuration.modal = true;
8484 - configuration.title = $.wikiEditor.autoMsg( module, 'title' );
8485 - // Transform messages in keys
8486 - // Stupid JS won't let us do stuff like
8487 - // foo = { mw.usability.getMsg( 'bar' ): baz }
8488 - configuration.newButtons = {};
8489 - for ( msg in configuration.buttons )
8490 - configuration.newButtons[mw.usability.getMsg( msg )] = configuration.buttons[msg];
8491 - configuration.buttons = configuration.newButtons;
8492 - // Create the dialog <div>
8493 - var dialogDiv = $( '<div />' )
8494 - .attr( 'id', module.id )
8495 - .html( module.html )
8496 - .data( 'context', context )
8497 - .appendTo( $( 'body' ) )
8498 - .each( module.init )
8499 - .dialog( configuration );
8500 - // Set tabindexes on buttons added by .dialog()
8501 - $.wikiEditor.modules.dialogs.fn.setTabindexes( dialogDiv.closest( '.ui-dialog' )
8502 - .find( 'button' ).not( '[tabindex]' ) );
8503 - if ( !( 'resizeme' in module ) || module.resizeme ) {
8504 - dialogDiv
8505 - .bind( 'dialogopen', $.wikiEditor.modules.dialogs.fn.resize )
8506 - .find( '.ui-tabs' ).bind( 'tabsshow', function() {
8507 - $(this).closest( '.ui-dialog-content' ).each(
8508 - $.wikiEditor.modules.dialogs.fn.resize );
8509 - });
8510 - }
8511 - dialogDiv.bind( 'dialogclose', function() {
8512 - context.fn.restoreSelection();
8513 - } );
8514 -
8515 - // Let the outside world know we set up this dialog
8516 - context.$textarea.trigger( 'wikiEditor-dialogs-loaded-' + mod );
 8472+ }
 8473+ if ( !filtered && $.wikiEditor.isSupported( module ) && $( '#' + module.id ).size() == 0 ) {
 8474+ $.wikiEditor.modules.dialogs.modules[mod] = module;
 8475+ // If this dialog requires the iframe, set it up
 8476+ if ( typeof context.$iframe == 'undefined' && $.wikiEditor.isRequired( module, 'iframe' ) ) {
 8477+ context.fn.setupIframe();
85178478 }
 8479+ context.$textarea.trigger( 'wikiEditor-dialogs-setup-' + mod );
85188480 }
8519 - });
 8481+ }
85208482 },
85218483 /**
 8484+ * Build the actual dialog. This done on-demand rather than in create()
 8485+ * @param {Object} context Context object of editor dialog belongs to
 8486+ * @param {Object} module Dialog module object
 8487+ */
 8488+ reallyCreate: function( context, module ) {
 8489+ mw.usability.load( [ '$j.ui', '$j.ui.dialog', '$j.ui.draggable', '$j.ui.resizable' ], function() {
 8490+ var configuration = module.dialog;
 8491+ // Add some stuff to configuration
 8492+ configuration.bgiframe = true;
 8493+ configuration.autoOpen = false;
 8494+ configuration.modal = true;
 8495+ configuration.title = $.wikiEditor.autoMsg( module, 'title' );
 8496+ // Transform messages in keys
 8497+ // Stupid JS won't let us do stuff like
 8498+ // foo = { mw.usability.getMsg( 'bar' ): baz }
 8499+ configuration.newButtons = {};
 8500+ for ( msg in configuration.buttons )
 8501+ configuration.newButtons[mw.usability.getMsg( msg )] = configuration.buttons[msg];
 8502+ configuration.buttons = configuration.newButtons;
 8503+ // Create the dialog <div>
 8504+ var dialogDiv = $( '<div />' )
 8505+ .attr( 'id', module.id )
 8506+ .html( module.html )
 8507+ .data( 'context', context )
 8508+ .appendTo( $( 'body' ) )
 8509+ .each( module.init )
 8510+ .dialog( configuration );
 8511+ // Set tabindexes on buttons added by .dialog()
 8512+ $.wikiEditor.modules.dialogs.fn.setTabindexes( dialogDiv.closest( '.ui-dialog' )
 8513+ .find( 'button' ).not( '[tabindex]' ) );
 8514+ if ( !( 'resizeme' in module ) || module.resizeme ) {
 8515+ dialogDiv
 8516+ .bind( 'dialogopen', $.wikiEditor.modules.dialogs.fn.resize )
 8517+ .find( '.ui-tabs' ).bind( 'tabsshow', function() {
 8518+ $(this).closest( '.ui-dialog-content' ).each(
 8519+ $.wikiEditor.modules.dialogs.fn.resize );
 8520+ });
 8521+ }
 8522+ dialogDiv.bind( 'dialogclose', function() {
 8523+ context.fn.restoreSelection();
 8524+ } );
 8525+
 8526+ // Let the outside world know we set up this dialog
 8527+ context.$textarea.trigger( 'wikiEditor-dialogs-loaded-' + mod );
 8528+ } );
 8529+ },
 8530+ /**
85228531 * Resize a dialog so its contents fit
85238532 *
85248533 * Usage: dialog.each( resize ); or dialog.bind( 'blah', resize );
@@ -11022,7 +11031,7 @@
1102311032 */
1102411033 evt: {
1102511034 resize: function( context, event ) {
11026 - context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section:visible' ).outerHeight() );
 11035+ context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section-visible' ).outerHeight() );
1102711036 },
1102811037 tocCollapse: function( context, event ) {
1102911038 $.wikiEditor.modules.toolbar.evt.resize( context, event );
@@ -11155,7 +11164,7 @@
1115611165 var $button;
1115711166 if ( 'offset' in tool ) {
1115811167 var offset = $.wikiEditor.autoLang( tool.offset );
11159 - $button = $( '<a href="#" />' )
 11168+ $button = $( '<span />' )
1116011169 .attr( {
1116111170 'alt' : label,
1116211171 'title' : label,
@@ -11192,13 +11201,13 @@
1119311202 e.preventDefault();
1119411203 return false;
1119511204 } );
11196 - // If the action is a dialog that hasn't been loaded yet, hide the button
 11205+ // If the action is a dialog that hasn't been set up yet, hide the button
1119711206 // until the dialog is loaded
1119811207 if ( tool.action.type == 'dialog' &&
1119911208 !( tool.action.module in $.wikiEditor.modules.dialogs.modules ) ) {
1120011209 $button.hide();
1120111210 // JavaScript won't propagate the $button variable itself, it needs help
11202 - context.$textarea.bind( 'wikiEditor-dialogs-loaded-' + tool.action.module,
 11211+ context.$textarea.bind( 'wikiEditor-dialogs-setup-' + tool.action.module,
1120311212 { button: $button }, function( event ) {
1120411213 event.data.button.show().parent().show();
1120511214 } );
@@ -11391,7 +11400,7 @@
1139211401 }
1139311402 if ( 'action' in character && 'label' in character ) {
1139411403 actions[character.label] = character.action;
11395 - return '<a rel="' + character.label + '" href="#">' + character.label + '</a>';
 11404+ return '<span rel="' + character.label + '">' + character.label + '</span>';
1139611405 }
1139711406 },
1139811407 buildTab : function( context, id, section ) {
@@ -11417,12 +11426,14 @@
1141811427 var $section =
1141911428 $(this).data( 'context' ).$ui.find( '.section-' + $(this).parent().attr( 'rel' ) );
1142011429 var show = $section.css( 'display' ) == 'none';
11421 - $previousSections = $section.parent().find( '.section:visible' );
 11430+ $previousSections = $section.parent().find( '.section-visible' );
1142211431 $previousSections.css( 'position', 'absolute' );
 11432+ $previousSections.removeClass( 'section-visible' );
1142311433 $previousSections.fadeOut( 'fast', function() { $(this).css( 'position', 'relative' ); } );
1142411434 $(this).parent().parent().find( 'a' ).removeClass( 'current' );
1142511435 $sections.css( 'overflow', 'hidden' );
1142611436 if ( show ) {
 11437+ $section.addClass( 'section-visible' );
1142711438 $section.fadeIn( 'fast' );
1142811439 $sections
1142911440 .css( 'display', 'block' )
@@ -11431,6 +11442,10 @@
1143211443 context.fn.trigger( 'resize' );
1143311444 } );
1143411445 $(this).addClass( 'current' );
 11446+ if ( $section.hasClass( 'loading' ) ) {
 11447+ // Loading of this section was deferred, load it now
 11448+ setTimeout( function() { $section.trigger( 'loadSection' ); }, 0 );
 11449+ }
1143511450 } else {
1143611451 $sections
1143711452 .css( 'height', $section.outerHeight() )
@@ -11440,8 +11455,8 @@
1144111456 } );
1144211457 }
1144311458 // Click tracking
11444 - if($.trackAction != undefined){
11445 - $.trackAction($section.attr('rel') + '.' + ( show ? 'show': 'hide' ) );
 11459+ if ( $.trackAction != undefined ) {
 11460+ $.trackAction( $section.attr('rel') + '.' + ( show ? 'show': 'hide' ) );
1144611461 }
1144711462 // Save the currently visible section
1144811463 $.cookie(
@@ -11453,13 +11468,34 @@
1145411469 } )
1145511470 );
1145611471 },
11457 - buildSection : function( context, id, section ) {
11458 - context.$textarea.trigger( 'wikiEditor-toolbar-buildSection-' + id, [section] );
 11472+ buildSection: function( context, id, section ) {
 11473+ var $section = $( '<div />' ).attr( { 'class': section.type + ' section section-' + id, 'rel': id } );
1145911474 var selected = $.cookie( 'wikiEditor-' + context.instance + '-toolbar-section' );
11460 - var $section;
 11475+ var show = selected == id;
 11476+
 11477+ if ( typeof section.deferLoad != 'undefined' && section.deferLoad && id !== 'main' && !show ) {
 11478+ // This class shows the spinner and serves as a marker for the click handler in buildTab()
 11479+ $section.addClass( 'loading' ).append( $( '<div />' ).addClass( 'spinner' ) );
 11480+ $section.bind( 'loadSection', function() {
 11481+ $.wikiEditor.modules.toolbar.fn.reallyBuildSection( context, section, $section );
 11482+ $section.removeClass( 'loading' );
 11483+ } );
 11484+ } else {
 11485+ $.wikiEditor.modules.toolbar.fn.reallyBuildSection( context, section, $section );
 11486+ }
 11487+
 11488+ // Show or hide section
 11489+ if ( id !== 'main' ) {
 11490+ $section.css( 'display', show ? 'block' : 'none' );
 11491+ if ( show )
 11492+ $section.addClass( 'section-visible' );
 11493+ }
 11494+ return $section;
 11495+ },
 11496+ reallyBuildSection : function( context, section, $section ) {
 11497+ context.$textarea.trigger( 'wikiEditor-toolbar-buildSection-' + $section.attr( 'rel' ), [section] );
1146111498 switch ( section.type ) {
1146211499 case 'toolbar':
11463 - var $section = $( '<div />' ).attr( { 'class' : 'toolbar section section-' + id, 'rel' : id } );
1146411500 if ( 'groups' in section ) {
1146511501 for ( group in section.groups ) {
1146611502 $section.append(
@@ -11481,17 +11517,10 @@
1148211518 );
1148311519 }
1148411520 }
11485 - $section = $( '<div />' ).attr( { 'class' : 'booklet section section-' + id, 'rel' : id } )
11486 - .append( $index )
11487 - .append( $pages );
 11521+ $section.append( $index ).append( $pages );
1148811522 $.wikiEditor.modules.toolbar.fn.updateBookletSelection( context, page, $pages, $index );
1148911523 break;
1149011524 }
11491 - if ( $section !== null && id !== 'main' ) {
11492 - var show = selected == id;
11493 - $section.css( 'display', show ? 'block' : 'none' );
11494 - }
11495 - return $section;
1149611525 },
1149711526 updateBookletSelection : function( context, id, $pages, $index ) {
1149811527 var cookie = 'wikiEditor-' + context.instance + '-booklet-' + id + '-page';
@@ -11531,8 +11560,9 @@
1153211561 'end' : function() {
1153311562 // HACK: Opera doesn't seem to want to redraw after these bits
1153411563 // are added to the DOM, so we can just FORCE it!
 11564+ var oldValue = $( 'body' ).css( 'position' );
1153511565 $( 'body' ).css( 'position', 'static' );
11536 - $( 'body' ).css( 'position', 'relative' );
 11566+ $( 'body' ).css( 'position', oldValue );
1153711567 },
1153811568 'loop' : function( i, s ) {
1153911569 s.$sections.append( $.wikiEditor.modules.toolbar.fn.buildSection( s.context, s.id, s.config ) );
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins.combined.min.js
@@ -580,12 +580,12 @@
581581 var args=$.makeArray(arguments);if(typeof context.$iframe==='undefined'&&args[0]=='addModule'&&typeof args[1]!='undefined'){var modules=args[1];if(typeof modules!="object"){modules={};modules[args[1]]='';}
582582 for(module in modules){if(module in $.wikiEditor.modules&&$.wikiEditor.isSupported($.wikiEditor.modules[module])&&$.wikiEditor.isRequired($.wikiEditor.modules[module],'iframe')){context.fn.setupIframe();break;}}}
583583 if(args.length>0){var call=args.shift();if(call in context.api){context.api[call](context,typeof args[0]=='undefined'?{}:args[0]);}}
584 -return $(this).data('wikiEditor-context',context);};})(jQuery);RegExp.escape=function(s){return s.replace(/([.*+?^${}()|\/\\[\]])/g,'\\$1');};(function($){$.wikiEditor.modules.dialogs={'browsers':{'ltr':{'msie':[['>=',7]],'firefox':[['>=',2],['!=','2.0'],['!=','2.0.0.1'],['!=','2.0.0.2'],['!=','2.0.0.3'],['!=','2.0.0.4']],'opera':[['>=',9.6]],'safari':[['>=',3]],'chrome':[['>=',3]]},'rtl':{'msie':[['>=',7]],'firefox':[['>=',2],['!=','2.0'],['!=','2.0.0.1'],['!=','2.0.0.2'],['!=','2.0.0.3'],['!=','2.0.0.4']],'opera':[['>=',9.6]],'safari':[['>=',3]],'chrome':[['>=',3]]}},api:{addDialog:function(context,data){$.wikiEditor.modules.dialogs.fn.create(context,data)},openDialog:function(context,module){if(module in $.wikiEditor.modules.dialogs.modules){$('#'+$.wikiEditor.modules.dialogs.modules[module].id).dialog('open');}},closeDialog:function(context,module){if(module in $.wikiEditor.modules.dialogs.modules){$('#'+$.wikiEditor.modules.dialogs.modules[module].id).dialog('close');}}},fn:{create:function(context,config){for(module in config){$.wikiEditor.modules.dialogs.modules[module]=config[module];}
585 -mw.usability.load(['$j.ui','$j.ui.dialog','$j.ui.draggable','$j.ui.resizable'],function(){for(mod in $.wikiEditor.modules.dialogs.modules){var module=$.wikiEditor.modules.dialogs.modules[mod];var filtered=false;if(typeof module.filters!='undefined'){for(var i=0;i<module.filters.length;i++){if($(module.filters[i]).length==0){filtered=true;break;}}}
586 -if(!filtered&&$.wikiEditor.isSupported(module)&&$('#'+module.id).size()==0){if(typeof context.$iframe=='undefined'&&$.wikiEditor.isRequired(module,'iframe')){context.fn.setupIframe();}
587 -var configuration=module.dialog;configuration.bgiframe=true;configuration.autoOpen=false;configuration.modal=true;configuration.title=$.wikiEditor.autoMsg(module,'title');configuration.newButtons={};for(msg in configuration.buttons)
 584+return $(this).data('wikiEditor-context',context);};})(jQuery);RegExp.escape=function(s){return s.replace(/([.*+?^${}()|\/\\[\]])/g,'\\$1');};(function($){$.wikiEditor.modules.dialogs={'browsers':{'ltr':{'msie':[['>=',7]],'firefox':[['>=',2],['!=','2.0'],['!=','2.0.0.1'],['!=','2.0.0.2'],['!=','2.0.0.3'],['!=','2.0.0.4']],'opera':[['>=',9.6]],'safari':[['>=',3]],'chrome':[['>=',3]]},'rtl':{'msie':[['>=',7]],'firefox':[['>=',2],['!=','2.0'],['!=','2.0.0.1'],['!=','2.0.0.2'],['!=','2.0.0.3'],['!=','2.0.0.4']],'opera':[['>=',9.6]],'safari':[['>=',3]],'chrome':[['>=',3]]}},api:{addDialog:function(context,data){$.wikiEditor.modules.dialogs.fn.create(context,data)},openDialog:function(context,module){if(module in $.wikiEditor.modules.dialogs.modules){var mod=$.wikiEditor.modules.dialogs.modules[module];var $dialog=$('#'+mod.id);if($dialog.length==0){$.wikiEditor.modules.dialogs.fn.reallyCreate(context,mod);$dialog=$('#'+mod.id);}
 585+$dialog.dialog('open');}},closeDialog:function(context,module){if(module in $.wikiEditor.modules.dialogs.modules){$('#'+$.wikiEditor.modules.dialogs.modules[module].id).dialog('close');}}},fn:{create:function(context,config){for(mod in config){var module=config[mod];var filtered=false;if(typeof module.filters!='undefined'){for(var i=0;i<module.filters.length;i++){if($(module.filters[i]).length==0){filtered=true;break;}}}
 586+if(!filtered&&$.wikiEditor.isSupported(module)&&$('#'+module.id).size()==0){$.wikiEditor.modules.dialogs.modules[mod]=module;if(typeof context.$iframe=='undefined'&&$.wikiEditor.isRequired(module,'iframe')){context.fn.setupIframe();}
 587+context.$textarea.trigger('wikiEditor-dialogs-setup-'+mod);}}},reallyCreate:function(context,module){mw.usability.load(['$j.ui','$j.ui.dialog','$j.ui.draggable','$j.ui.resizable'],function(){var configuration=module.dialog;configuration.bgiframe=true;configuration.autoOpen=false;configuration.modal=true;configuration.title=$.wikiEditor.autoMsg(module,'title');configuration.newButtons={};for(msg in configuration.buttons)
588588 configuration.newButtons[mw.usability.getMsg(msg)]=configuration.buttons[msg];configuration.buttons=configuration.newButtons;var dialogDiv=$('<div />').attr('id',module.id).html(module.html).data('context',context).appendTo($('body')).each(module.init).dialog(configuration);$.wikiEditor.modules.dialogs.fn.setTabindexes(dialogDiv.closest('.ui-dialog').find('button').not('[tabindex]'));if(!('resizeme'in module)||module.resizeme){dialogDiv.bind('dialogopen',$.wikiEditor.modules.dialogs.fn.resize).find('.ui-tabs').bind('tabsshow',function(){$(this).closest('.ui-dialog-content').each($.wikiEditor.modules.dialogs.fn.resize);});}
589 -dialogDiv.bind('dialogclose',function(){context.fn.restoreSelection();});context.$textarea.trigger('wikiEditor-dialogs-loaded-'+mod);}}});},resize:function(){var wrapper=$(this).closest('.ui-dialog');var oldWidth=wrapper.width();var oldHidden=$(this).find('*').not(':visible');oldHidden.each(function(){$(this).data('oldstyle',$(this).attr('style'));});oldHidden.show();var oldWS=$(this).css('white-space');$(this).css('white-space','nowrap');if(wrapper.width()<=$(this).get(0).scrollWidth){var thisWidth=$(this).data('thisWidth')?$(this).data('thisWidth'):0;thisWidth=Math.max($(this).get(0).scrollWidth,thisWidth);$(this).width(thisWidth);$(this).data('thisWidth',thisWidth);var wrapperWidth=$(this).data('wrapperWidth')?$(this).data('wrapperWidth'):0;wrapperWidth=Math.max(wrapper.get(0).scrollWidth,wrapperWidth);wrapper.width(wrapperWidth);$(this).data('wrapperWidth',wrapperWidth);$(this).dialog({'width':wrapper.width()});wrapper.css('left',parseInt(wrapper.css('left'))-(wrapper.width()-oldWidth)/2);}
 589+dialogDiv.bind('dialogclose',function(){context.fn.restoreSelection();});context.$textarea.trigger('wikiEditor-dialogs-loaded-'+mod);});},resize:function(){var wrapper=$(this).closest('.ui-dialog');var oldWidth=wrapper.width();var oldHidden=$(this).find('*').not(':visible');oldHidden.each(function(){$(this).data('oldstyle',$(this).attr('style'));});oldHidden.show();var oldWS=$(this).css('white-space');$(this).css('white-space','nowrap');if(wrapper.width()<=$(this).get(0).scrollWidth){var thisWidth=$(this).data('thisWidth')?$(this).data('thisWidth'):0;thisWidth=Math.max($(this).get(0).scrollWidth,thisWidth);$(this).width(thisWidth);$(this).data('thisWidth',thisWidth);var wrapperWidth=$(this).data('wrapperWidth')?$(this).data('wrapperWidth'):0;wrapperWidth=Math.max(wrapper.get(0).scrollWidth,wrapperWidth);wrapper.width(wrapperWidth);$(this).data('wrapperWidth',wrapperWidth);$(this).dialog({'width':wrapper.width()});wrapper.css('left',parseInt(wrapper.css('left'))-(wrapper.width()-oldWidth)/2);}
590590 $(this).css('white-space',oldWS);oldHidden.each(function(){$(this).attr('style',$(this).data('oldstyle'));});},setTabindexes:function($elements){var maxTI=0;$j('[tabindex]').each(function(){var ti=parseInt($j(this).attr('tabindex'));if(ti>maxTI)
591591 maxTI=ti;});var tabIndex=maxTI+1;$elements.each(function(){$j(this).attr('tabindex',tabIndex++);});}},modules:{},quickDialog:function(body,settings){$('<div />').text(body).appendTo($('body')).dialog($.extend({bgiframe:true,modal:true},settings)).dialog('open');}};})(jQuery);(function($){$.wikiEditor.modules.highlight={'req':['iframe'],'name':'highlight',cfg:{'styleVersion':3},evt:{delayedChange:function(context,event){$.wikiEditor.modules.highlight.currentScope=event.data.scope;if(event.data.scope=='realchange'){$.wikiEditor.modules.highlight.fn.scan(context,'');$.wikiEditor.modules.highlight.fn.mark(context,'realchange','');}},ready:function(context,event){$.wikiEditor.modules.highlight.currentScope='ready';$.wikiEditor.modules.highlight.fn.scan(context,'');$.wikiEditor.modules.highlight.fn.mark(context,'','');}},fn:{create:function(context,config){context.modules.highlight.markersStr='';},divide:function(context){},isolate:function(context){return[];},strip:function(context,division){return $('<div />').html(division.html().replace(/\<br[^\>]*\>/g,"\n")).text();},scan:function(context,division){function Token(offset,label,tokenStart,match){this.offset=offset;this.label=label;this.tokenStart=tokenStart;this.match=match;}
592592 var tokenArray=context.modules.highlight.tokenArray=[];var text=context.fn.getContents();for(module in context.modules){if(module in $.wikiEditor.modules&&'exp'in $.wikiEditor.modules[module]){for(var i=0;i<$.wikiEditor.modules[module].exp.length;i++){var regex=$.wikiEditor.modules[module].exp[i].regex;var label=$.wikiEditor.modules[module].exp[i].label;var markAfter=false;if(typeof $.wikiEditor.modules[module].exp[i].markAfter!='undefined'){markAfter=true;}
@@ -749,7 +749,7 @@
750750 break;case'characters':if(!('section'in data&&'page'in data)){continue;}
751751 $characters=context.modules.toolbar.$toolbar.find('div[rel='+data.section+'].section '+'div[rel='+data.page+'].page div');var actions=$characters.data('actions');for(character in data[type]){$characters.append($($.wikiEditor.modules.toolbar.fn.buildCharacter(data[type][character],actions)).click(function(e){$.wikiEditor.modules.toolbar.fn.doAction($(this).parent().data('context'),$(this).parent().data('actions')[$(this).attr('rel')]);e.preventDefault();return false;}));}
752752 break;default:break;}}},removeFromToolbar:function(context,data){if(typeof data.section=='string'){var tab='div.tabs span[rel='+data.section+'].tab';var target='div[rel='+data.section+'].section';var group=null;if(typeof data.group=='string'){target+=' div[rel='+data.group+'].group';if(typeof data.tool=='string'){group=target;target+=' div[rel='+data.tool+'].tool';}}else if(typeof data.page=='string'){var index=target+' div.index div[rel='+data.page+']';target+=' div.pages div[rel='+data.page+'].page';if(typeof data.character=='string'){target+=' a[rel='+data.character+']';}else if(typeof data.row=='number'){target+=' table tr:not(:has(th)):eq('+data.row+')';}else{context.modules.toolbar.$toolbar.find(index).remove();$.wikiEditor.modules.toolbar.fn.updateBookletSelection(context,null,context.modules.toolbar.$toolbar.find(target),context.modules.toolbar.$toolbar.find(index));}}else{context.modules.toolbar.$toolbar.find(tab).remove();}
753 -context.modules.toolbar.$toolbar.find(target).remove();if(group){$group=context.modules.toolbar.$toolbar.find(group);if($group.children().length==0){$group.hide();}}}}},evt:{resize:function(context,event){context.$ui.find('.sections').height(context.$ui.find('.sections .section:visible').outerHeight());},tocCollapse:function(context,event){$.wikiEditor.modules.toolbar.evt.resize(context,event);},tocExpand:function(context,event){$.wikiEditor.modules.toolbar.evt.resize(context,event);}},fn:{create:function(context,config){if('$toolbar'in context.modules.toolbar){return;}
 753+context.modules.toolbar.$toolbar.find(target).remove();if(group){$group=context.modules.toolbar.$toolbar.find(group);if($group.children().length==0){$group.hide();}}}}},evt:{resize:function(context,event){context.$ui.find('.sections').height(context.$ui.find('.sections .section-visible').outerHeight());},tocCollapse:function(context,event){$.wikiEditor.modules.toolbar.evt.resize(context,event);},tocExpand:function(context,event){$.wikiEditor.modules.toolbar.evt.resize(context,event);}},fn:{create:function(context,config){if('$toolbar'in context.modules.toolbar){return;}
754754 context.modules.toolbar.$toolbar=$('<div />').addClass('wikiEditor-ui-toolbar').attr('id','wikiEditor-ui-toolbar');$.wikiEditor.modules.toolbar.fn.build(context,config);context.$ui.find('.wikiEditor-ui-top').append(context.modules.toolbar.$toolbar);},doAction:function(context,action,source){if($.trackAction!=undefined&&source.closest('.wikiEditor-ui-toolbar').size()){var rels=[];var step=source;var i=0;while(!step.hasClass('wikiEditor-ui-toolbar')){if(i>25){break;}
755755 i++;var rel=step.attr('rel');if(rel){rels.push(step.attr('rel'));}
756756 step=step.parent();}
@@ -761,8 +761,8 @@
762762 var empty=true;if('tools'in group){for(tool in group.tools){var tool=$.wikiEditor.modules.toolbar.fn.buildTool(context,tool,group.tools[tool]);if(tool){empty=empty&&tool.css('display')=='none';$group.append(tool);}}}
763763 if(empty){$group.hide();}
764764 return $group;},buildTool:function(context,id,tool){if('filters'in tool){for(filter in tool.filters){if($(tool.filters[filter]).size()==0){return null;}}}
765 -var label=$.wikiEditor.autoMsg(tool,'label');switch(tool.type){case'button':var src=$.wikiEditor.autoIcon(tool.icon,$.wikiEditor.imgPath+'toolbar/');var $button;if('offset'in tool){var offset=$.wikiEditor.autoLang(tool.offset);$button=$('<a href="#" />').attr({'alt':label,'title':label,'rel':id,'class':'wikiEditor-toolbar-spritedButton'}).text(label).css('backgroundPosition',offset[0]+'px '+offset[1]+'px');}else{$button=$('<img />').attr({'src':src,'width':22,'height':22,'alt':label,'title':label,'rel':id,'class':'tool tool-button'});}
766 -if('action'in tool){$button.data('action',tool.action).data('context',context).mousedown(function(e){e.preventDefault();return false;}).click(function(e){$.wikiEditor.modules.toolbar.fn.doAction($(this).data('context'),$(this).data('action'),$(this));e.preventDefault();return false;});if(tool.action.type=='dialog'&&!(tool.action.module in $.wikiEditor.modules.dialogs.modules)){$button.hide();context.$textarea.bind('wikiEditor-dialogs-loaded-'+tool.action.module,{button:$button},function(event){event.data.button.show().parent().show();});}}
 765+var label=$.wikiEditor.autoMsg(tool,'label');switch(tool.type){case'button':var src=$.wikiEditor.autoIcon(tool.icon,$.wikiEditor.imgPath+'toolbar/');var $button;if('offset'in tool){var offset=$.wikiEditor.autoLang(tool.offset);$button=$('<span />').attr({'alt':label,'title':label,'rel':id,'class':'wikiEditor-toolbar-spritedButton'}).text(label).css('backgroundPosition',offset[0]+'px '+offset[1]+'px');}else{$button=$('<img />').attr({'src':src,'width':22,'height':22,'alt':label,'title':label,'rel':id,'class':'tool tool-button'});}
 766+if('action'in tool){$button.data('action',tool.action).data('context',context).mousedown(function(e){e.preventDefault();return false;}).click(function(e){$.wikiEditor.modules.toolbar.fn.doAction($(this).data('context'),$(this).data('action'),$(this));e.preventDefault();return false;});if(tool.action.type=='dialog'&&!(tool.action.module in $.wikiEditor.modules.dialogs.modules)){$button.hide();context.$textarea.bind('wikiEditor-dialogs-setup-'+tool.action.module,{button:$button},function(event){event.data.button.show().parent().show();});}}
767767 return $button;case'select':var $select=$('<div />').attr({'rel':id,'class':'tool tool-select'});var $options=$('<div />').addClass('options');if('list'in tool){for(option in tool.list){var optionLabel=$.wikiEditor.autoMsg(tool.list[option],'label');$options.append($('<a />').data('action',tool.list[option].action).data('context',context).mousedown(function(e){e.preventDefault();return false;}).click(function(e){$.wikiEditor.modules.toolbar.fn.doAction($(this).data('context'),$(this).data('action'),$(this));if($(this).parent().is(':visible')){$(this).parent().animate({'opacity':'toggle'},'fast');}
768768 e.preventDefault();return false;}).text(optionLabel).addClass('option').attr({'rel':option,'href':'#'}));}}
769769 $select.append($('<div />').addClass('menu').append($options));$select.append($('<a />').addClass('label').text(label).data('options',$options).attr('href','#').mousedown(function(e){e.preventDefault();return false;}).click(function(e){$(this).data('options').animate({'opacity':'toggle'},'fast');e.preventDefault();return false;}));return $select;default:return null;}},buildBookmark:function(context,id,page){var label=$.wikiEditor.autoMsg(page,'label');return $('<div />').text(label).attr('rel',id).data('context',context).mousedown(function(e){e.preventDefault();return false;}).click(function(event){$(this).parent().parent().find('.page').hide();$(this).parent().parent().find('.page-'+$(this).attr('rel')).show();$(this).siblings().removeClass('current');$(this).addClass('current');var section=$(this).parent().parent().attr('rel');$.cookie('wikiEditor-'+$(this).data('context').instance+'-booklet-'+section+'-page',$(this).attr('rel'));if($.trackAction!=undefined){$.trackAction(section+'.'+$(this).attr('rel'));}
@@ -777,12 +777,13 @@
778778 return html;},buildRow:function(context,row){var html='<tr>';for(cell in row){html+='<td class="cell cell-'+cell+'" valign="top"><span>'+
779779 $.wikiEditor.autoMsg(row[cell],['html','text'])+'</span></td>';}
780780 html+='</tr>';return html;},buildCharacter:function(character,actions){if(typeof character=='string'){character={'label':character,'action':{'type':'encapsulate','options':{'pre':character}}};}else if(0 in character&&1 in character){character={'label':character[0],'action':{'type':'encapsulate','options':{'pre':character[1]}}};}
781 -if('action'in character&&'label'in character){actions[character.label]=character.action;return'<a rel="'+character.label+'" href="#">'+character.label+'</a>';}},buildTab:function(context,id,section){var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section:visible');$previousSections.css('position','absolute');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');if(show){$section.fadeIn('fast');$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$(this).css('overflow','visible').css('height','auto');context.fn.trigger('resize');});$(this).addClass('current');}else{$sections.css('height',$section.outerHeight()).animate({'height':'hide'},$section.outerHeight()*2,function(){$(this).css({'overflow':'visible','height':0});context.fn.trigger('resize');});}
 781+if('action'in character&&'label'in character){actions[character.label]=character.action;return'<span rel="'+character.label+'">'+character.label+'</span>';}},buildTab:function(context,id,section){var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');return $('<span />').attr({'class':'tab tab-'+id,'rel':id}).append($('<a />').addClass(selected==id?'current':null).attr('href','#').text($.wikiEditor.autoMsg(section,'label')).data('context',context).mouseup(function(e){$(this).blur();}).mousedown(function(e){e.preventDefault();return false;}).click(function(e){var $sections=$(this).data('context').$ui.find('.sections');var $section=$(this).data('context').$ui.find('.section-'+$(this).parent().attr('rel'));var show=$section.css('display')=='none';$previousSections=$section.parent().find('.section-visible');$previousSections.css('position','absolute');$previousSections.removeClass('section-visible');$previousSections.fadeOut('fast',function(){$(this).css('position','relative');});$(this).parent().parent().find('a').removeClass('current');$sections.css('overflow','hidden');if(show){$section.addClass('section-visible');$section.fadeIn('fast');$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$(this).css('overflow','visible').css('height','auto');context.fn.trigger('resize');});$(this).addClass('current');if($section.hasClass('loading')){setTimeout(function(){$section.trigger('loadSection');},0);}}else{$sections.css('height',$section.outerHeight()).animate({'height':'hide'},$section.outerHeight()*2,function(){$(this).css({'overflow':'visible','height':0});context.fn.trigger('resize');});}
782782 if($.trackAction!=undefined){$.trackAction($section.attr('rel')+'.'+(show?'show':'hide'));}
783 -$.cookie('wikiEditor-'+$(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null);e.preventDefault();return false;}));},buildSection:function(context,id,section){context.$textarea.trigger('wikiEditor-toolbar-buildSection-'+id,[section]);var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var $section;switch(section.type){case'toolbar':var $section=$('<div />').attr({'class':'toolbar section section-'+id,'rel':id});if('groups'in section){for(group in section.groups){$section.append($.wikiEditor.modules.toolbar.fn.buildGroup(context,group,section.groups[group]));}}
 783+$.cookie('wikiEditor-'+$(this).data('context').instance+'-toolbar-section',show?$section.attr('rel'):null);e.preventDefault();return false;}));},buildSection:function(context,id,section){var $section=$('<div />').attr({'class':section.type+' section section-'+id,'rel':id});var selected=$.cookie('wikiEditor-'+context.instance+'-toolbar-section');var show=selected==id;if(typeof section.deferLoad!='undefined'&&section.deferLoad&&id!=='main'&&!show){$section.addClass('loading').append($('<div />').addClass('spinner'));$section.bind('loadSection',function(){$.wikiEditor.modules.toolbar.fn.reallyBuildSection(context,section,$section);$section.removeClass('loading');});}else{$.wikiEditor.modules.toolbar.fn.reallyBuildSection(context,section,$section);}
 784+if(id!=='main'){$section.css('display',show?'block':'none');if(show)
 785+$section.addClass('section-visible');}
 786+return $section;},reallyBuildSection:function(context,section,$section){context.$textarea.trigger('wikiEditor-toolbar-buildSection-'+$section.attr('rel'),[section]);switch(section.type){case'toolbar':if('groups'in section){for(group in section.groups){$section.append($.wikiEditor.modules.toolbar.fn.buildGroup(context,group,section.groups[group]));}}
784787 break;case'booklet':var $pages=$('<div />').addClass('pages');var $index=$('<div />').addClass('index');if('pages'in section){for(page in section.pages){$pages.append($.wikiEditor.modules.toolbar.fn.buildPage(context,page,section.pages[page]));$index.append($.wikiEditor.modules.toolbar.fn.buildBookmark(context,page,section.pages[page]));}}
785 -$section=$('<div />').attr({'class':'booklet section section-'+id,'rel':id}).append($index).append($pages);$.wikiEditor.modules.toolbar.fn.updateBookletSelection(context,page,$pages,$index);break;}
786 -if($section!==null&&id!=='main'){var show=selected==id;$section.css('display',show?'block':'none');}
787 -return $section;},updateBookletSelection:function(context,id,$pages,$index){var cookie='wikiEditor-'+context.instance+'-booklet-'+id+'-page';var selected=$.cookie(cookie);var $selectedIndex=$index.find('*[rel='+selected+']');if($selectedIndex.size()==0){selected=$index.children().eq(0).attr('rel');$.cookie(cookie,selected);}
 788+$section.append($index).append($pages);$.wikiEditor.modules.toolbar.fn.updateBookletSelection(context,page,$pages,$index);break;}},updateBookletSelection:function(context,id,$pages,$index){var cookie='wikiEditor-'+context.instance+'-booklet-'+id+'-page';var selected=$.cookie(cookie);var $selectedIndex=$index.find('*[rel='+selected+']');if($selectedIndex.size()==0){selected=$index.children().eq(0).attr('rel');$.cookie(cookie,selected);}
788789 $pages.children().hide();$pages.find('*[rel='+selected+']').show();$index.children().removeClass('current');$selectedIndex.addClass('current');},build:function(context,config){var $tabs=$('<div />').addClass('tabs').appendTo(context.modules.toolbar.$toolbar);var $sections=$('<div />').addClass('sections').appendTo(context.modules.toolbar.$toolbar);context.modules.toolbar.$toolbar.append($('<div />').css('clear','both'));var sectionQueue=[];for(section in config){if(section=='main'){context.modules.toolbar.$toolbar.prepend($.wikiEditor.modules.toolbar.fn.buildSection(context,section,config[section]));}else{sectionQueue.push({'$sections':$sections,'context':context,'id':section,'config':config[section]});$tabs.append($.wikiEditor.modules.toolbar.fn.buildTab(context,section,config[section]));}}
789 -$.eachAsync(sectionQueue,{'bulk':0,'end':function(){$('body').css('position','static');$('body').css('position','relative');},'loop':function(i,s){s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.id,s.config));var $section=s.$sections.find('.section:visible');if($section.size()){$sections.animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){context.fn.trigger('resize');});}}});}}};})(jQuery);
\ No newline at end of file
 790+$.eachAsync(sectionQueue,{'bulk':0,'end':function(){var oldValue=$('body').css('position');$('body').css('position','static');$('body').css('position',oldValue);},'loop':function(i,s){s.$sections.append($.wikiEditor.modules.toolbar.fn.buildSection(s.context,s.id,s.config));var $section=s.$sections.find('.section:visible');if($section.size()){$sections.animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){context.fn.trigger('resize');});}}});}}};})(jQuery);
\ No newline at end of file
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js
@@ -178,7 +178,7 @@
179179 */
180180 evt: {
181181 resize: function( context, event ) {
182 - context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section:visible' ).outerHeight() );
 182+ context.$ui.find( '.sections' ).height( context.$ui.find( '.sections .section-visible' ).outerHeight() );
183183 },
184184 tocCollapse: function( context, event ) {
185185 $.wikiEditor.modules.toolbar.evt.resize( context, event );
@@ -311,7 +311,7 @@
312312 var $button;
313313 if ( 'offset' in tool ) {
314314 var offset = $.wikiEditor.autoLang( tool.offset );
315 - $button = $( '<a href="#" />' )
 315+ $button = $( '<span />' )
316316 .attr( {
317317 'alt' : label,
318318 'title' : label,
@@ -348,13 +348,13 @@
349349 e.preventDefault();
350350 return false;
351351 } );
352 - // If the action is a dialog that hasn't been loaded yet, hide the button
 352+ // If the action is a dialog that hasn't been set up yet, hide the button
353353 // until the dialog is loaded
354354 if ( tool.action.type == 'dialog' &&
355355 !( tool.action.module in $.wikiEditor.modules.dialogs.modules ) ) {
356356 $button.hide();
357357 // JavaScript won't propagate the $button variable itself, it needs help
358 - context.$textarea.bind( 'wikiEditor-dialogs-loaded-' + tool.action.module,
 358+ context.$textarea.bind( 'wikiEditor-dialogs-setup-' + tool.action.module,
359359 { button: $button }, function( event ) {
360360 event.data.button.show().parent().show();
361361 } );
@@ -547,7 +547,7 @@
548548 }
549549 if ( 'action' in character && 'label' in character ) {
550550 actions[character.label] = character.action;
551 - return '<a rel="' + character.label + '" href="#">' + character.label + '</a>';
 551+ return '<span rel="' + character.label + '">' + character.label + '</span>';
552552 }
553553 },
554554 buildTab : function( context, id, section ) {
@@ -573,12 +573,14 @@
574574 var $section =
575575 $(this).data( 'context' ).$ui.find( '.section-' + $(this).parent().attr( 'rel' ) );
576576 var show = $section.css( 'display' ) == 'none';
577 - $previousSections = $section.parent().find( '.section:visible' );
 577+ $previousSections = $section.parent().find( '.section-visible' );
578578 $previousSections.css( 'position', 'absolute' );
 579+ $previousSections.removeClass( 'section-visible' );
579580 $previousSections.fadeOut( 'fast', function() { $(this).css( 'position', 'relative' ); } );
580581 $(this).parent().parent().find( 'a' ).removeClass( 'current' );
581582 $sections.css( 'overflow', 'hidden' );
582583 if ( show ) {
 584+ $section.addClass( 'section-visible' );
583585 $section.fadeIn( 'fast' );
584586 $sections
585587 .css( 'display', 'block' )
@@ -587,6 +589,10 @@
588590 context.fn.trigger( 'resize' );
589591 } );
590592 $(this).addClass( 'current' );
 593+ if ( $section.hasClass( 'loading' ) ) {
 594+ // Loading of this section was deferred, load it now
 595+ setTimeout( function() { $section.trigger( 'loadSection' ); }, 0 );
 596+ }
591597 } else {
592598 $sections
593599 .css( 'height', $section.outerHeight() )
@@ -596,8 +602,8 @@
597603 } );
598604 }
599605 // Click tracking
600 - if($.trackAction != undefined){
601 - $.trackAction($section.attr('rel') + '.' + ( show ? 'show': 'hide' ) );
 606+ if ( $.trackAction != undefined ) {
 607+ $.trackAction( $section.attr('rel') + '.' + ( show ? 'show': 'hide' ) );
602608 }
603609 // Save the currently visible section
604610 $.cookie(
@@ -609,13 +615,34 @@
610616 } )
611617 );
612618 },
613 - buildSection : function( context, id, section ) {
614 - context.$textarea.trigger( 'wikiEditor-toolbar-buildSection-' + id, [section] );
 619+ buildSection: function( context, id, section ) {
 620+ var $section = $( '<div />' ).attr( { 'class': section.type + ' section section-' + id, 'rel': id } );
615621 var selected = $.cookie( 'wikiEditor-' + context.instance + '-toolbar-section' );
616 - var $section;
 622+ var show = selected == id;
 623+
 624+ if ( typeof section.deferLoad != 'undefined' && section.deferLoad && id !== 'main' && !show ) {
 625+ // This class shows the spinner and serves as a marker for the click handler in buildTab()
 626+ $section.addClass( 'loading' ).append( $( '<div />' ).addClass( 'spinner' ) );
 627+ $section.bind( 'loadSection', function() {
 628+ $.wikiEditor.modules.toolbar.fn.reallyBuildSection( context, section, $section );
 629+ $section.removeClass( 'loading' );
 630+ } );
 631+ } else {
 632+ $.wikiEditor.modules.toolbar.fn.reallyBuildSection( context, section, $section );
 633+ }
 634+
 635+ // Show or hide section
 636+ if ( id !== 'main' ) {
 637+ $section.css( 'display', show ? 'block' : 'none' );
 638+ if ( show )
 639+ $section.addClass( 'section-visible' );
 640+ }
 641+ return $section;
 642+ },
 643+ reallyBuildSection : function( context, section, $section ) {
 644+ context.$textarea.trigger( 'wikiEditor-toolbar-buildSection-' + $section.attr( 'rel' ), [section] );
617645 switch ( section.type ) {
618646 case 'toolbar':
619 - var $section = $( '<div />' ).attr( { 'class' : 'toolbar section section-' + id, 'rel' : id } );
620647 if ( 'groups' in section ) {
621648 for ( group in section.groups ) {
622649 $section.append(
@@ -637,17 +664,10 @@
638665 );
639666 }
640667 }
641 - $section = $( '<div />' ).attr( { 'class' : 'booklet section section-' + id, 'rel' : id } )
642 - .append( $index )
643 - .append( $pages );
 668+ $section.append( $index ).append( $pages );
644669 $.wikiEditor.modules.toolbar.fn.updateBookletSelection( context, page, $pages, $index );
645670 break;
646671 }
647 - if ( $section !== null && id !== 'main' ) {
648 - var show = selected == id;
649 - $section.css( 'display', show ? 'block' : 'none' );
650 - }
651 - return $section;
652672 },
653673 updateBookletSelection : function( context, id, $pages, $index ) {
654674 var cookie = 'wikiEditor-' + context.instance + '-booklet-' + id + '-page';
@@ -687,8 +707,9 @@
688708 'end' : function() {
689709 // HACK: Opera doesn't seem to want to redraw after these bits
690710 // are added to the DOM, so we can just FORCE it!
 711+ var oldValue = $( 'body' ).css( 'position' );
691712 $( 'body' ).css( 'position', 'static' );
692 - $( 'body' ).css( 'position', 'relative' );
 713+ $( 'body' ).css( 'position', oldValue );
693714 },
694715 'loop' : function( i, s ) {
695716 s.$sections.append( $.wikiEditor.modules.toolbar.fn.buildSection( s.context, s.id, s.config ) );
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.dialogs.js
@@ -45,7 +45,13 @@
4646 },
4747 openDialog: function( context, module ) {
4848 if ( module in $.wikiEditor.modules.dialogs.modules ) {
49 - $( '#' + $.wikiEditor.modules.dialogs.modules[module].id ).dialog( 'open' );
 49+ var mod = $.wikiEditor.modules.dialogs.modules[module];
 50+ var $dialog = $( '#' + mod.id );
 51+ if ( $dialog.length == 0 ) {
 52+ $.wikiEditor.modules.dialogs.fn.reallyCreate( context, mod );
 53+ $dialog = $( '#' + mod.id );
 54+ }
 55+ $dialog.dialog( 'open' );
5056 }
5157 },
5258 closeDialog: function( context, module ) {
@@ -65,74 +71,77 @@
6672 * @param {Object} config Configuration object to create module from
6773 */
6874 create: function( context, config ) {
69 - // Add modules
70 - for ( module in config ) {
71 - $.wikiEditor.modules.dialogs.modules[module] = config[module];
72 - }
73 - // Build out modules immediately
74 - // TODO: Move mw.usability.load() call down to where we're sure we're really gonna build a dialog
75 - mw.usability.load( [ '$j.ui', '$j.ui.dialog', '$j.ui.draggable', '$j.ui.resizable' ], function() {
76 - for ( mod in $.wikiEditor.modules.dialogs.modules ) {
77 - var module = $.wikiEditor.modules.dialogs.modules[mod];
78 - // Only create the dialog if it's supported, not filtered and doesn't exist yet
79 - var filtered = false;
80 - if ( typeof module.filters != 'undefined' ) {
81 - for ( var i = 0; i < module.filters.length; i++ ) {
82 - if ( $( module.filters[i] ).length == 0 ) {
83 - filtered = true;
84 - break;
85 - }
 75+ // Defer building of modules, but do check whether they need the iframe rightaway
 76+ for ( mod in config ) {
 77+ var module = config[mod];
 78+ // Only create the dialog if it's supported, isn't filtered and doesn't exist yet
 79+ var filtered = false;
 80+ if ( typeof module.filters != 'undefined' ) {
 81+ for ( var i = 0; i < module.filters.length; i++ ) {
 82+ if ( $( module.filters[i] ).length == 0 ) {
 83+ filtered = true;
 84+ break;
8685 }
8786 }
88 - if ( !filtered && $.wikiEditor.isSupported( module ) && $( '#' + module.id ).size() == 0 ) {
89 - // If this dialog requires the iframe, set it up
90 - if ( typeof context.$iframe == 'undefined' && $.wikiEditor.isRequired( module, 'iframe' ) ) {
91 - context.fn.setupIframe();
92 - }
93 -
94 - var configuration = module.dialog;
95 - // Add some stuff to configuration
96 - configuration.bgiframe = true;
97 - configuration.autoOpen = false;
98 - configuration.modal = true;
99 - configuration.title = $.wikiEditor.autoMsg( module, 'title' );
100 - // Transform messages in keys
101 - // Stupid JS won't let us do stuff like
102 - // foo = { mw.usability.getMsg( 'bar' ): baz }
103 - configuration.newButtons = {};
104 - for ( msg in configuration.buttons )
105 - configuration.newButtons[mw.usability.getMsg( msg )] = configuration.buttons[msg];
106 - configuration.buttons = configuration.newButtons;
107 - // Create the dialog <div>
108 - var dialogDiv = $( '<div />' )
109 - .attr( 'id', module.id )
110 - .html( module.html )
111 - .data( 'context', context )
112 - .appendTo( $( 'body' ) )
113 - .each( module.init )
114 - .dialog( configuration );
115 - // Set tabindexes on buttons added by .dialog()
116 - $.wikiEditor.modules.dialogs.fn.setTabindexes( dialogDiv.closest( '.ui-dialog' )
117 - .find( 'button' ).not( '[tabindex]' ) );
118 - if ( !( 'resizeme' in module ) || module.resizeme ) {
119 - dialogDiv
120 - .bind( 'dialogopen', $.wikiEditor.modules.dialogs.fn.resize )
121 - .find( '.ui-tabs' ).bind( 'tabsshow', function() {
122 - $(this).closest( '.ui-dialog-content' ).each(
123 - $.wikiEditor.modules.dialogs.fn.resize );
124 - });
125 - }
126 - dialogDiv.bind( 'dialogclose', function() {
127 - context.fn.restoreSelection();
128 - } );
129 -
130 - // Let the outside world know we set up this dialog
131 - context.$textarea.trigger( 'wikiEditor-dialogs-loaded-' + mod );
 87+ }
 88+ if ( !filtered && $.wikiEditor.isSupported( module ) && $( '#' + module.id ).size() == 0 ) {
 89+ $.wikiEditor.modules.dialogs.modules[mod] = module;
 90+ // If this dialog requires the iframe, set it up
 91+ if ( typeof context.$iframe == 'undefined' && $.wikiEditor.isRequired( module, 'iframe' ) ) {
 92+ context.fn.setupIframe();
13293 }
 94+ context.$textarea.trigger( 'wikiEditor-dialogs-setup-' + mod );
13395 }
134 - });
 96+ }
13597 },
13698 /**
 99+ * Build the actual dialog. This done on-demand rather than in create()
 100+ * @param {Object} context Context object of editor dialog belongs to
 101+ * @param {Object} module Dialog module object
 102+ */
 103+ reallyCreate: function( context, module ) {
 104+ mw.usability.load( [ '$j.ui', '$j.ui.dialog', '$j.ui.draggable', '$j.ui.resizable' ], function() {
 105+ var configuration = module.dialog;
 106+ // Add some stuff to configuration
 107+ configuration.bgiframe = true;
 108+ configuration.autoOpen = false;
 109+ configuration.modal = true;
 110+ configuration.title = $.wikiEditor.autoMsg( module, 'title' );
 111+ // Transform messages in keys
 112+ // Stupid JS won't let us do stuff like
 113+ // foo = { mw.usability.getMsg( 'bar' ): baz }
 114+ configuration.newButtons = {};
 115+ for ( msg in configuration.buttons )
 116+ configuration.newButtons[mw.usability.getMsg( msg )] = configuration.buttons[msg];
 117+ configuration.buttons = configuration.newButtons;
 118+ // Create the dialog <div>
 119+ var dialogDiv = $( '<div />' )
 120+ .attr( 'id', module.id )
 121+ .html( module.html )
 122+ .data( 'context', context )
 123+ .appendTo( $( 'body' ) )
 124+ .each( module.init )
 125+ .dialog( configuration );
 126+ // Set tabindexes on buttons added by .dialog()
 127+ $.wikiEditor.modules.dialogs.fn.setTabindexes( dialogDiv.closest( '.ui-dialog' )
 128+ .find( 'button' ).not( '[tabindex]' ) );
 129+ if ( !( 'resizeme' in module ) || module.resizeme ) {
 130+ dialogDiv
 131+ .bind( 'dialogopen', $.wikiEditor.modules.dialogs.fn.resize )
 132+ .find( '.ui-tabs' ).bind( 'tabsshow', function() {
 133+ $(this).closest( '.ui-dialog-content' ).each(
 134+ $.wikiEditor.modules.dialogs.fn.resize );
 135+ });
 136+ }
 137+ dialogDiv.bind( 'dialogclose', function() {
 138+ context.fn.restoreSelection();
 139+ } );
 140+
 141+ // Let the outside world know we set up this dialog
 142+ context.$textarea.trigger( 'wikiEditor-dialogs-loaded-' + mod );
 143+ } );
 144+ },
 145+ /**
137146 * Resize a dialog so its contents fit
138147 *
139148 * Usage: dialog.each( resize ); or dialog.bind( 'blah', resize );
Index: branches/wmf/1.16wmf4/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php
@@ -25,15 +25,15 @@
2626 array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 28 ),
2727 array( 'src' => 'css/wikiEditor.preview.css', 'version' => 1 ),
2828 array( 'src' => 'css/wikiEditor.toc.css', 'version' => 30 ),
29 - array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 14 ),
 29+ array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 15 ),
3030 array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ),
3131 ),
3232 'combined' => array(
33 - array( 'src' => 'css/combined.css', 'version' => 85 ),
 33+ array( 'src' => 'css/combined.css', 'version' => 87 ),
3434 array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ),
3535 ),
3636 'minified' => array(
37 - array( 'src' => 'css/combined.min.css', 'version' => 85 ),
 37+ array( 'src' => 'css/combined.min.css', 'version' => 87 ),
3838 array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ),
3939 ),
4040 )
@@ -74,18 +74,18 @@
7575 array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 30 ),
7676 array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 181 ),
7777 array( 'src' => 'js/plugins/jquery.wikiEditor.highlight.js', 'version' => 52 ),
78 - array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 56 ),
79 - array( 'src' => 'js/plugins/jquery.wikiEditor.dialogs.js', 'version' => 23 ),
 78+ array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 59 ),
 79+ array( 'src' => 'js/plugins/jquery.wikiEditor.dialogs.js', 'version' => 24 ),
8080 array( 'src' => 'js/plugins/jquery.wikiEditor.toc.js', 'version' => 98 ),
8181 array( 'src' => 'js/plugins/jquery.wikiEditor.preview.js', 'version' => 11 ),
8282 array( 'src' => 'js/plugins/jquery.wikiEditor.templateEditor.js', 'version' => 75 ),
8383 array( 'src' => 'js/plugins/jquery.wikiEditor.publish.js', 'version' => 5 ),
8484 ),
8585 'combined' => array(
86 - array( 'src' => 'js/plugins.combined.js', 'version' => 380 ),
 86+ array( 'src' => 'js/plugins.combined.js', 'version' => 386 ),
8787 ),
8888 'minified' => array(
89 - array( 'src' => 'js/plugins.combined.min.js', 'version' => 380 ),
 89+ array( 'src' => 'js/plugins.combined.min.js', 'version' => 386 ),
9090 ),
9191 ),
9292 );
Property changes on: branches/wmf/1.16wmf4/extensions/UsabilityInitiative
___________________________________________________________________
Modified: svn:mergeinfo
9393 Merged /trunk/phase3/extensions/UsabilityInitiative:r65387,65391,65555,65590
9494 Merged /trunk/extensions/UsabilityInitiative:r64724,65064,65556,65558,65633
Index: branches/wmf/1.16wmf4/includes/DefaultSettings.php
@@ -145,6 +145,7 @@
146146 * asset paths as seen by users
147147 */
148148 $wgStylePath = false; ///< defaults to "{$wgScriptPath}/skins"
 149+$wgLocalStylePath = false; ///< defaults to the same value as $wgStylePath, and shouldn't point to an external domain
149150 $wgExtensionAssetsPath = false; ///< defaults to "{$wgScriptPath}/extensions"
150151
151152 /**
@@ -1686,7 +1687,7 @@
16871688 * to ensure that client-side caches do not keep obsolete copies of global
16881689 * styles.
16891690 */
1690 -$wgStyleVersion = '270';
 1691+$wgStyleVersion = '274';
16911692
16921693
16931694 # Server-side caching:
@@ -4171,6 +4172,13 @@
41724173 $wgVectorUseIconWatch = false;
41734174
41744175 /**
 4176+ * Show the name of the current variant as a label in the variants drop-down menu
 4177+ * true = Show the label
 4178+ * false = Do not show the label
 4179+ */
 4180+$wgVectorShowVariantName = false;
 4181+
 4182+/**
41754183 * Add extra stylesheets for Vector - This is only being used so that we can play around with different options while
41764184 * keeping our CSS code in the SVN and not having to change the main Vector styles. This will probably go away later on.
41774185 * null = add no extra styles
Property changes on: branches/wmf/1.16wmf4/includes/DefaultSettings.php
___________________________________________________________________
Modified: svn:mergeinfo
41784186 Merged /trunk/phase3/includes/DefaultSettings.php:r65387,65391,65555,65590
Index: branches/wmf/1.16wmf4/includes/Setup.php
@@ -39,6 +39,7 @@
4040 }
4141
4242 if( $wgStylePath === false ) $wgStylePath = "$wgScriptPath/skins";
 43+if( $wgLocalStylePath === false ) $wgLocalStylePath = "$wgScriptPath/skins";
4344 if( $wgStyleDirectory === false) $wgStyleDirectory = "$IP/skins";
4445 if( $wgExtensionAssetsPath === false ) $wgExtensionAssetsPath = "$wgScriptPath/extensions";
4546
Property changes on: branches/wmf/1.16wmf4/includes
___________________________________________________________________
Modified: svn:mergeinfo
4647 Merged /trunk/phase3/includes:r65387,65391,65555,65590
Property changes on: branches/wmf/1.16wmf4
___________________________________________________________________
Modified: svn:mergeinfo
4748 Merged /trunk/phase3:r65387,65391,65555,65590

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64724Fixing a Toolbar issue where certain configurations could cause dropdowns to ...adam21:32, 7 April 2010
r65064UsabilityInitiative: Fix bug causing Modern toolbar to jump: restore <body> t...catrope13:49, 15 April 2010
r65379Changed from using click handlers on the links to modifying the href attribut...tparscal13:30, 21 April 2010
r65387Moved a style over to shared.css out of Monobook, making the edit summary box...tparscal13:50, 21 April 2010
r65391Actually fix bug #20706 - Next time I will read more carefully and test more ...tparscal14:19, 21 April 2010
r65555Added $wgLocalStylePath global variable, and solved bug #22858 by using this ...tparscal21:02, 26 April 2010
r65556Fixed bug #23083 and an accessability issue brought to my attention in Berlin...tparscal21:32, 26 April 2010
r65558Fixed another accesibility issue, now characters in the toolbar are rendered ...tparscal21:59, 26 April 2010
r65590Added $wgVectorShowVariantName global configuration varaible which causes Vec...tparscal22:11, 27 April 2010
r65591Resource changes needed for $wgVectorShowVariantName (see r65590) to function...tparscal22:13, 27 April 2010
r65663thanks page layout fixesneilk17:57, 29 April 2010

Status & tagging log