Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -25,15 +25,15 @@ |
26 | 26 | array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 28 ), |
27 | 27 | array( 'src' => 'css/wikiEditor.preview.css', 'version' => 1 ), |
28 | 28 | array( 'src' => 'css/wikiEditor.toc.css', 'version' => 30 ), |
29 | | - array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 13 ), |
| 29 | + array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 14 ), |
30 | 30 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
31 | 31 | ), |
32 | 32 | 'combined' => array( |
33 | | - array( 'src' => 'css/combined.css', 'version' => 82 ), |
| 33 | + array( 'src' => 'css/combined.css', 'version' => 83 ), |
34 | 34 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
35 | 35 | ), |
36 | 36 | 'minified' => array( |
37 | | - array( 'src' => 'css/combined.min.css', 'version' => 82 ), |
| 37 | + array( 'src' => 'css/combined.min.css', 'version' => 83 ), |
38 | 38 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
39 | 39 | ), |
40 | 40 | ) |
Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css |
— | — | @@ -338,13 +338,17 @@ |
339 | 339 | body.rtl .wikiEditor-ui-toolbar .page-table td { |
340 | 340 | text-align: right; |
341 | 341 | } |
| 342 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
342 | 343 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax { |
343 | 344 | font-family: monospace; |
344 | 345 | } |
345 | 346 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax, |
| 347 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
| 348 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-result, |
346 | 349 | .wikiEditor-ui-toolbar .section-help .page-table td.result { |
347 | 350 | width: 40%; |
348 | 351 | } |
| 352 | +.wikiEditor-ui-toolbar .section-help .page-table td.description, |
349 | 353 | .wikiEditor-ui-toolbar .section-help .page-table td.description { |
350 | 354 | width: 20%; |
351 | 355 | } |
Index: trunk/extensions/UsabilityInitiative/css/combined.css |
— | — | @@ -1115,13 +1115,17 @@ |
1116 | 1116 | body.rtl .wikiEditor-ui-toolbar .page-table td { |
1117 | 1117 | text-align: right; |
1118 | 1118 | } |
| 1119 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
1119 | 1120 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax { |
1120 | 1121 | font-family: monospace; |
1121 | 1122 | } |
1122 | 1123 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax, |
| 1124 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
| 1125 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-result, |
1123 | 1126 | .wikiEditor-ui-toolbar .section-help .page-table td.result { |
1124 | 1127 | width: 40%; |
1125 | 1128 | } |
| 1129 | +.wikiEditor-ui-toolbar .section-help .page-table td.description, |
1126 | 1130 | .wikiEditor-ui-toolbar .section-help .page-table td.description { |
1127 | 1131 | width: 20%; |
1128 | 1132 | } |
Index: trunk/extensions/UsabilityInitiative/css/combined.min.css |
— | — | @@ -1050,13 +1050,17 @@ |
1051 | 1051 | body.rtl .wikiEditor-ui-toolbar .page-table td{ |
1052 | 1052 | text-align:right; |
1053 | 1053 | } |
| 1054 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
1054 | 1055 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax{ |
1055 | 1056 | font-family:monospace; |
1056 | 1057 | } |
1057 | 1058 | .wikiEditor-ui-toolbar .section-help .page-table td.syntax, |
| 1059 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-syntax, |
| 1060 | +.wikiEditor-ui-toolbar .section-help .page-table td.cell-result, |
1058 | 1061 | .wikiEditor-ui-toolbar .section-help .page-table td.result{ |
1059 | 1062 | width:40%; |
1060 | 1063 | } |
| 1064 | +.wikiEditor-ui-toolbar .section-help .page-table td.description, |
1061 | 1065 | .wikiEditor-ui-toolbar .section-help .page-table td.description{ |
1062 | 1066 | width:20%; |
1063 | 1067 | } |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.js |
— | — | @@ -1777,7 +1777,7 @@ |
1778 | 1778 | ); |
1779 | 1779 | |
1780 | 1780 | // Restore form state |
1781 | | - $j( '#wikieditor-toolbar-table-dimensions-rows' ).val( 4 ); |
| 1781 | + $j( '#wikieditor-toolbar-table-dimensions-rows' ).val( 3 ); |
1782 | 1782 | $j( '#wikieditor-toolbar-table-dimensions-columns' ).val( 3 ); |
1783 | 1783 | // Simulate clicks instead of setting values, so the according |
1784 | 1784 | // actions are performed |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/WikiEditor.combined.min.js |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | table=table.substr(0,table.length-1)+"\n";} |
153 | 153 | var classes=[];if($j('#wikieditor-toolbar-table-wikitable').is(':checked')) |
154 | 154 | classes.push('wikitable');if($j('#wikieditor-toolbar-table-sortable').is(':checked')) |
155 | | -classes.push('sortable');var classStr=classes.length>0?' class="'+classes.join(' ')+'"':'';$j(this).dialog('close');$j.wikiEditor.modules.toolbar.fn.doAction($j(this).data('context'),{type:'replace',options:{pre:'{|'+classStr+"\n",peri:table,post:'|}',ownline:true}},$j(this));$j('#wikieditor-toolbar-table-dimensions-rows').val(4);$j('#wikieditor-toolbar-table-dimensions-columns').val(3);if(!$j('#wikieditor-toolbar-table-dimensions-header').is(':checked')) |
| 155 | +classes.push('sortable');var classStr=classes.length>0?' class="'+classes.join(' ')+'"':'';$j(this).dialog('close');$j.wikiEditor.modules.toolbar.fn.doAction($j(this).data('context'),{type:'replace',options:{pre:'{|'+classStr+"\n",peri:table,post:'|}',ownline:true}},$j(this));$j('#wikieditor-toolbar-table-dimensions-rows').val(3);$j('#wikieditor-toolbar-table-dimensions-columns').val(3);if(!$j('#wikieditor-toolbar-table-dimensions-header').is(':checked')) |
156 | 156 | $j('#wikieditor-toolbar-table-dimensions-header').click();if(!$j('#wikieditor-toolbar-table-wikitable').is(':checked')) |
157 | 157 | $j('#wikieditor-toolbar-table-wikitable').click();if($j('#wikieditor-toolbar-table-sortable').is(':checked')) |
158 | 158 | $j('#wikieditor-toolbar-table-sortable').click();},'wikieditor-toolbar-tool-table-cancel':function(){$j(this).dialog('close');}},open:function(){$j('#wikieditor-toolbar-table-dimensions-rows').focus();if(!($j(this).data('dialogkeypressset'))){$j(this).data('dialogkeypressset',true);$j(this).closest('.ui-dialog').keypress(function(e){if((e.keyCode||e.which)==13){var button=$j(this).data('dialogaction')||$j(this).find('button:first');button.click();e.preventDefault();}});$j(this).closest('.ui-dialog').find('button').focus(function(){$j(this).closest('.ui-dialog').data('dialogaction',this);});}}}},'search-and-replace':{'browsers':{'ltr':{'msie':[['>=',7]],'firefox':[['>=',2]],'opera':false,'safari':[['>=',3]],'chrome':[['>=',3]]},'rtl':{'msie':[['>=',8]],'firefox':[['>=',2]],'opera':false,'safari':[['>=',3]],'chrome':[['>=',3]]}},filters:['#wpTextbox1.toolbar-dialogs'],titleMsg:'wikieditor-toolbar-tool-replace-title',id:'wikieditor-toolbar-replace-dialog',html:'\ |
Index: trunk/extensions/UsabilityInitiative/WikiEditor/Modules/Toolbar/Toolbar.js |
— | — | @@ -1728,7 +1728,7 @@ |
1729 | 1729 | ); |
1730 | 1730 | |
1731 | 1731 | // Restore form state |
1732 | | - $j( '#wikieditor-toolbar-table-dimensions-rows' ).val( 4 ); |
| 1732 | + $j( '#wikieditor-toolbar-table-dimensions-rows' ).val( 3 ); |
1733 | 1733 | $j( '#wikieditor-toolbar-table-dimensions-columns' ).val( 3 ); |
1734 | 1734 | // Simulate clicks instead of setting values, so the according |
1735 | 1735 | // actions are performed |