r66316 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r66315‎ | r66316 | r66317 >
Date:23:12, 12 May 2010
Author:tparscal
Status:ok
Tags:
Comment:
Improved loading spinner visibility. Added versions to CSS image urls.
Modified paths:
  • /trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/combined.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/combined.min.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/vector.collapsibleNav.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/vector.footerCleanup.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.dialogs.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.toc.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css (modified) (history)
  • /trunk/extensions/UsabilityInitiative/images/wikiEditor/toolbar/loading-small.gif (added) (history)
  • /trunk/extensions/UsabilityInitiative/images/wikiEditor/toolbar/loading.gif (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins.combined.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js (modified) (history)
  • /trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.css
@@ -25,7 +25,7 @@
2626 position: relative;
2727 clear: both;
2828 width: 100%;
29 - background-color: #f3f3f3;
 29+ background-color: #E0EEf7;
3030 border: solid silver 1px;
3131 }
3232 body.rtl .wikiEditor-ui {
Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.dialogs.css
@@ -31,32 +31,32 @@
3232 padding: 0.2em 0.6em 0.15em !important;
3333 margin: 0.5em 0 0.5em 0.4em !important;
3434 border: 1px solid #a6a6a6 !important;
35 - background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png ) repeat-x scroll 50% 100% !important;
 35+ background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png?1) repeat-x scroll 50% 100% !important;
3636 }
3737 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:hover {
3838 border-color: #6e7273;
39 - background: #e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png ) repeat-x scroll 50% 100% !important;
 39+ background: #e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png?1) repeat-x scroll 50% 100% !important;
4040 }
4141 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:active,
4242 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:focus {
4343 border-color: #707271;
44 - background: #bfbfbf url( ../images/wikiEditor/dialogs/button_down.png ) repeat-x scroll 50% 100% !important;
 44+ background: #bfbfbf url( ../images/wikiEditor/dialogs/button_down.png?1) repeat-x scroll 50% 100% !important;
4545 }
4646 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button.disabled {
4747 color: #7f7f7f;
4848 border-color: #cccccc;
49 - background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png ) repeat-x scroll 50% 100% !important;
 49+ background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png?1) repeat-x scroll 50% 100% !important;
5050 }
5151 /* Disables the annoying dashed border Firefox puts on active buttons */
5252 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button::-moz-focus-inner {
5353 border: 0;
5454 }
5555 .wikiEditor-toolbar-dialog .ui-widget-header {
56 - background: #f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png ) repeat-x scroll 50% 100% !important;
 56+ background: #f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png?1) repeat-x scroll 50% 100% !important;
5757 }
5858 /* FIXME: Should just update the icon sprite if we're keeping this X */
5959 .wikiEditor-toolbar-dialog .ui-icon-closethick {
60 - background: url( ../images/wikiEditor/dialogs/close_x.png ) no-repeat 50% 50% !important;
 60+ background: url( ../images/wikiEditor/dialogs/close_x.png?1) no-repeat 50% 50% !important;
6161 }
6262 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
6363 margin-top: 0 !important;
@@ -178,16 +178,16 @@
179179 background-repeat: no-repeat;
180180 }
181181 #wikieditor-toolbar-link-int-target-status-exists {
182 - background-image: url( ../images/wikiEditor/dialogs/insert-link-exists.png );
 182+ background-image: url( ../images/wikiEditor/dialogs/insert-link-exists.png?1);
183183 }
184184 #wikieditor-toolbar-link-int-target-status-notexists {
185 - background-image: url( ../images/wikiEditor/dialogs/insert-link-notexists.png );
 185+ background-image: url( ../images/wikiEditor/dialogs/insert-link-notexists.png?1);
186186 }
187187 #wikieditor-toolbar-link-int-target-status-invalid {
188 - background-image: url( ../images/wikiEditor/dialogs/insert-link-invalid.png );
 188+ background-image: url( ../images/wikiEditor/dialogs/insert-link-invalid.png?1);
189189 }
190190 #wikieditor-toolbar-link-int-target-status-external {
191 - background-image: url( ../images/wikiEditor/dialogs/insert-link-external.png );
 191+ background-image: url( ../images/wikiEditor/dialogs/insert-link-external.png?1);
192192 }
193193
194194 /* Reference Dialog */
@@ -230,7 +230,7 @@
231231 background-position: 100% 50%;
232232 }
233233 body.rtl #wikieditor-toolbar-link-int-target-status-external {
234 - background-image: url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png );
 234+ background-image: url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png?1);
235235 }
236236 /* Template Editor Dialogs */
237237 .wikiEditor-template-dialog-fields label {
Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toolbar.css
@@ -23,35 +23,31 @@
2424 background-color: #E0EEf7;
2525 }
2626 .wikiEditor-ui-toolbar {
27 - background-image: url(../images/wikiEditor/toolbar/base.png);
 27+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
2828 background-position: left top;
2929 background-repeat: repeat-x;
3030 }
3131 /*
3232 .wikiEditor-ui-toolbar .toolbar {
33 - background-image: url(../images/wikiEditor/toolbar/base.png);
 33+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
3434 background-position: left top;
3535 }
3636 */
3737 body.rtl .wikiEditor-ui-toolbar .sections .section {
3838 float: right;
3939 }
40 -.wikiEditor-ui-toolbar .sections .loading {
41 - padding-top: 0.5em;
42 - padding-bottom: 0.5em;
43 -}
4440 /* Gets overridden when the section div is in class loading - see below */
4541 .wikiEditor-ui-toolbar .sections div .spinner {
4642 display: none;
4743 }
4844 .wikiEditor-ui-toolbar .sections .loading .spinner {
4945 display: block;
50 - background-image: url(../images/wikiEditor/toolbar/loading.gif);
 46+ background-image: url(../images/wikiEditor/toolbar/loading.gif?1);
5147 background-position: left center;
5248 background-repeat: no-repeat;
5349 padding-left: 32px;
54 - margin-left: 1em;
55 - height: 22px;
 50+ margin-left: 0.5em;
 51+ height: 32px;
5652 float: left;
5753 color: #666666;
5854 }
@@ -60,7 +56,7 @@
6157 padding-left: 0;
6258 padding-right: 32px;
6359 margin-left: 0;
64 - margin-right: 1em;
 60+ margin-right: 0.5em;
6561 float: right;
6662 }
6763 /* Top Level Containers */
@@ -145,7 +141,7 @@
146142 height: 26px;
147143 cursor: pointer;
148144 color: #0645ad;
149 - background-image: url(../images/wikiEditor/toolbar/arrow-right.png);
 145+ background-image: url(../images/wikiEditor/toolbar/arrow-right.png?1);
150146 background-position: left center;
151147 background-repeat: no-repeat;
152148 }
@@ -153,7 +149,7 @@
154150 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a:visited {
155151 padding-left: 12px;
156152 padding-right: 18px;
157 - background-image: url(../images/wikiEditor/toolbar/arrow-left.png);
 153+ background-image: url(../images/wikiEditor/toolbar/arrow-left.png?1);
158154 background-position: right center;
159155 }
160156 /* IGNORED BY IE6 */
@@ -164,15 +160,18 @@
165161 .wikiEditor-ui-toolbar .tabs span.tab a.current,
166162 .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
167163 color: #333333;
168 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 164+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
169165 }
170166 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current,
171167 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
172 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 168+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
173169 }
174170 .wikiEditor-ui-toolbar .tabs span.tab a.current:hover {
175171 text-decoration: none;
176172 }
 173+.wikiEditor-ui-toolbar .tabs span.tab a.loading {
 174+ background-image: url(../images/wikiEditor/toolbar/loading-small.gif?1) !important;
 175+}
177176 /* Toolbar */
178177 .wikiEditor-ui-toolbar .group .label {
179178 float: left;
@@ -219,7 +218,7 @@
220219 float: right;
221220 }
222221 .wikiEditor-ui-toolbar .group .tool-select .label {
223 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 222+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
224223 background-position: center right;
225224 background-repeat: no-repeat;
226225 padding: 0;
Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toc.css
@@ -25,7 +25,7 @@
2626 }
2727 .tab-toc {
2828 /* Should match the toolbar */
29 - background-image: url(../images/wikiEditor/toolbar/base.png);
 29+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
3030 background-position: left top;
3131 background-repeat: repeat-x;
3232 height: 26px;
@@ -141,11 +141,11 @@
142142 left: 0;
143143 }
144144 .wikiEditor-ui-toc-collapse-open {
145 - background: #f3f3f3 url(../images/wikiEditor/toc/close.png) 4px 50% no-repeat;
 145+ background: #f3f3f3 url(../images/wikiEditor/toc/close.png?1) 4px 50% no-repeat;
146146 border-left: 1px solid #DDDDDD;
147147 }
148148 .wikiEditor-ui-toc-collapse-closed {
149 - background: #f3f3f3 url(../images/wikiEditor/toc/open.png) 4px 50% no-repeat;
 149+ background: #f3f3f3 url(../images/wikiEditor/toc/open.png?1) 4px 50% no-repeat;
150150 }
151151
152152 /* Resizing Changes */
@@ -174,7 +174,7 @@
175175 top: 7px;
176176 left: -12px !important;
177177 cursor: ew-resize;
178 - background: url(../images/wikiEditor/toc/grip.png) 50% 50% no-repeat;
 178+ background: url(../images/wikiEditor/toc/grip.png?1) 50% 50% no-repeat;
179179 z-index: 0;
180180 }
181181 body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip {
Index: trunk/extensions/UsabilityInitiative/css/vector.collapsibleNav.css
@@ -1,6 +1,6 @@
22 /* Prototype code to show collapsing left nav options */
33 #panel.collapsible-nav div.portal {
4 - background-image:url(../images/vector/collapsibleNav/portal-break.png);
 4+ background-image:url(../images/vector/collapsibleNav/portal-break.png?1);
55 background-position:left top;
66 background-repeat:no-repeat;
77 padding: 0.25em 0 !important;
@@ -13,21 +13,21 @@
1414 #panel.collapsible-nav div.portal h5 {
1515 color: #4D4D4D;
1616 font-weight: normal;
17 - background: url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat;
 17+ background: url(../images/vector/collapsibleNav/arrow-down.png?1) 0 50% no-repeat;
1818 padding: 4px 0 3px 1.5em;
1919 margin-bottom: 0px;
2020 }
2121 body.rtl #panel.collapsible-nav div.portal h5 {
22 - background: url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat;
 22+ background: url(../images/vector/collapsibleNav/arrow-down.png?1) 100% 50% no-repeat;
2323 padding: 4px 1.5em 3px 0;
2424 }
2525 #panel.collapsible-nav div.collapsed h5 {
2626 color: #0645AD;
27 - background: url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat;
 27+ background: url(../images/vector/collapsibleNav/arrow-right.png?1) 0 50% no-repeat;
2828 margin-bottom: 0px;
2929 }
3030 body.rtl #panel.collapsible-nav div.collapsed h5 {
31 - background: url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat;
 31+ background: url(../images/vector/collapsibleNav/arrow-left.png?1) 100% 50% no-repeat;
3232 }
3333 #panel.collapsible-nav div h5:hover {
3434 cursor: pointer;
Index: trunk/extensions/UsabilityInitiative/css/combined.css
@@ -66,7 +66,7 @@
6767 color: HighlightText;
6868 }/* Prototype code to show collapsing left nav options */
6969 #panel.collapsible-nav div.portal {
70 - background-image:url(../images/vector/collapsibleNav/portal-break.png);
 70+ background-image:url(../images/vector/collapsibleNav/portal-break.png?1);
7171 background-position:left top;
7272 background-repeat:no-repeat;
7373 padding: 0.25em 0 !important;
@@ -79,21 +79,21 @@
8080 #panel.collapsible-nav div.portal h5 {
8181 color: #4D4D4D;
8282 font-weight: normal;
83 - background: url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat;
 83+ background: url(../images/vector/collapsibleNav/arrow-down.png?1) 0 50% no-repeat;
8484 padding: 4px 0 3px 1.5em;
8585 margin-bottom: 0px;
8686 }
8787 body.rtl #panel.collapsible-nav div.portal h5 {
88 - background: url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat;
 88+ background: url(../images/vector/collapsibleNav/arrow-down.png?1) 100% 50% no-repeat;
8989 padding: 4px 1.5em 3px 0;
9090 }
9191 #panel.collapsible-nav div.collapsed h5 {
9292 color: #0645AD;
93 - background: url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat;
 93+ background: url(../images/vector/collapsibleNav/arrow-right.png?1) 0 50% no-repeat;
9494 margin-bottom: 0px;
9595 }
9696 body.rtl #panel.collapsible-nav div.collapsed h5 {
97 - background: url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat;
 97+ background: url(../images/vector/collapsibleNav/arrow-left.png?1) 100% 50% no-repeat;
9898 }
9999 #panel.collapsible-nav div h5:hover {
100100 cursor: pointer;
@@ -153,7 +153,7 @@
154154 position: relative;
155155 clear: both;
156156 width: 100%;
157 - background-color: #f3f3f3;
 157+ background-color: #E0EEf7;
158158 border: solid silver 1px;
159159 }
160160 body.rtl .wikiEditor-ui {
@@ -293,32 +293,32 @@
294294 padding: 0.2em 0.6em 0.15em !important;
295295 margin: 0.5em 0 0.5em 0.4em !important;
296296 border: 1px solid #a6a6a6 !important;
297 - background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png ) repeat-x scroll 50% 100% !important;
 297+ background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png?1) repeat-x scroll 50% 100% !important;
298298 }
299299 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:hover {
300300 border-color: #6e7273;
301 - background: #e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png ) repeat-x scroll 50% 100% !important;
 301+ background: #e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png?1) repeat-x scroll 50% 100% !important;
302302 }
303303 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:active,
304304 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:focus {
305305 border-color: #707271;
306 - background: #bfbfbf url( ../images/wikiEditor/dialogs/button_down.png ) repeat-x scroll 50% 100% !important;
 306+ background: #bfbfbf url( ../images/wikiEditor/dialogs/button_down.png?1) repeat-x scroll 50% 100% !important;
307307 }
308308 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button.disabled {
309309 color: #7f7f7f;
310310 border-color: #cccccc;
311 - background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png ) repeat-x scroll 50% 100% !important;
 311+ background: #f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png?1) repeat-x scroll 50% 100% !important;
312312 }
313313 /* Disables the annoying dashed border Firefox puts on active buttons */
314314 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button::-moz-focus-inner {
315315 border: 0;
316316 }
317317 .wikiEditor-toolbar-dialog .ui-widget-header {
318 - background: #f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png ) repeat-x scroll 50% 100% !important;
 318+ background: #f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png?1) repeat-x scroll 50% 100% !important;
319319 }
320320 /* FIXME: Should just update the icon sprite if we're keeping this X */
321321 .wikiEditor-toolbar-dialog .ui-icon-closethick {
322 - background: url( ../images/wikiEditor/dialogs/close_x.png ) no-repeat 50% 50% !important;
 322+ background: url( ../images/wikiEditor/dialogs/close_x.png?1) no-repeat 50% 50% !important;
323323 }
324324 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane {
325325 margin-top: 0 !important;
@@ -440,16 +440,16 @@
441441 background-repeat: no-repeat;
442442 }
443443 #wikieditor-toolbar-link-int-target-status-exists {
444 - background-image: url( ../images/wikiEditor/dialogs/insert-link-exists.png );
 444+ background-image: url( ../images/wikiEditor/dialogs/insert-link-exists.png?1);
445445 }
446446 #wikieditor-toolbar-link-int-target-status-notexists {
447 - background-image: url( ../images/wikiEditor/dialogs/insert-link-notexists.png );
 447+ background-image: url( ../images/wikiEditor/dialogs/insert-link-notexists.png?1);
448448 }
449449 #wikieditor-toolbar-link-int-target-status-invalid {
450 - background-image: url( ../images/wikiEditor/dialogs/insert-link-invalid.png );
 450+ background-image: url( ../images/wikiEditor/dialogs/insert-link-invalid.png?1);
451451 }
452452 #wikieditor-toolbar-link-int-target-status-external {
453 - background-image: url( ../images/wikiEditor/dialogs/insert-link-external.png );
 453+ background-image: url( ../images/wikiEditor/dialogs/insert-link-external.png?1);
454454 }
455455
456456 /* Reference Dialog */
@@ -492,7 +492,7 @@
493493 background-position: 100% 50%;
494494 }
495495 body.rtl #wikieditor-toolbar-link-int-target-status-external {
496 - background-image: url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png );
 496+ background-image: url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png?1);
497497 }
498498 /* Template Editor Dialogs */
499499 .wikiEditor-template-dialog-fields label {
@@ -592,7 +592,7 @@
593593 }
594594 .tab-toc {
595595 /* Should match the toolbar */
596 - background-image: url(../images/wikiEditor/toolbar/base.png);
 596+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
597597 background-position: left top;
598598 background-repeat: repeat-x;
599599 height: 26px;
@@ -708,11 +708,11 @@
709709 left: 0;
710710 }
711711 .wikiEditor-ui-toc-collapse-open {
712 - background: #f3f3f3 url(../images/wikiEditor/toc/close.png) 4px 50% no-repeat;
 712+ background: #f3f3f3 url(../images/wikiEditor/toc/close.png?1) 4px 50% no-repeat;
713713 border-left: 1px solid #DDDDDD;
714714 }
715715 .wikiEditor-ui-toc-collapse-closed {
716 - background: #f3f3f3 url(../images/wikiEditor/toc/open.png) 4px 50% no-repeat;
 716+ background: #f3f3f3 url(../images/wikiEditor/toc/open.png?1) 4px 50% no-repeat;
717717 }
718718
719719 /* Resizing Changes */
@@ -741,7 +741,7 @@
742742 top: 7px;
743743 left: -12px !important;
744744 cursor: ew-resize;
745 - background: url(../images/wikiEditor/toc/grip.png) 50% 50% no-repeat;
 745+ background: url(../images/wikiEditor/toc/grip.png?1) 50% 50% no-repeat;
746746 z-index: 0;
747747 }
748748 body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip {
@@ -806,35 +806,31 @@
807807 background-color: #E0EEf7;
808808 }
809809 .wikiEditor-ui-toolbar {
810 - background-image: url(../images/wikiEditor/toolbar/base.png);
 810+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
811811 background-position: left top;
812812 background-repeat: repeat-x;
813813 }
814814 /*
815815 .wikiEditor-ui-toolbar .toolbar {
816 - background-image: url(../images/wikiEditor/toolbar/base.png);
 816+ background-image: url(../images/wikiEditor/toolbar/base.png?1);
817817 background-position: left top;
818818 }
819819 */
820820 body.rtl .wikiEditor-ui-toolbar .sections .section {
821821 float: right;
822822 }
823 -.wikiEditor-ui-toolbar .sections .loading {
824 - padding-top: 0.5em;
825 - padding-bottom: 0.5em;
826 -}
827823 /* Gets overridden when the section div is in class loading - see below */
828824 .wikiEditor-ui-toolbar .sections div .spinner {
829825 display: none;
830826 }
831827 .wikiEditor-ui-toolbar .sections .loading .spinner {
832828 display: block;
833 - background-image: url(../images/wikiEditor/toolbar/loading.gif);
 829+ background-image: url(../images/wikiEditor/toolbar/loading.gif?1);
834830 background-position: left center;
835831 background-repeat: no-repeat;
836832 padding-left: 32px;
837 - margin-left: 1em;
838 - height: 22px;
 833+ margin-left: 0.5em;
 834+ height: 32px;
839835 float: left;
840836 color: #666666;
841837 }
@@ -843,7 +839,7 @@
844840 padding-left: 0;
845841 padding-right: 32px;
846842 margin-left: 0;
847 - margin-right: 1em;
 843+ margin-right: 0.5em;
848844 float: right;
849845 }
850846 /* Top Level Containers */
@@ -928,7 +924,7 @@
929925 height: 26px;
930926 cursor: pointer;
931927 color: #0645ad;
932 - background-image: url(../images/wikiEditor/toolbar/arrow-right.png);
 928+ background-image: url(../images/wikiEditor/toolbar/arrow-right.png?1);
933929 background-position: left center;
934930 background-repeat: no-repeat;
935931 }
@@ -936,7 +932,7 @@
937933 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a:visited {
938934 padding-left: 12px;
939935 padding-right: 18px;
940 - background-image: url(../images/wikiEditor/toolbar/arrow-left.png);
 936+ background-image: url(../images/wikiEditor/toolbar/arrow-left.png?1);
941937 background-position: right center;
942938 }
943939 /* IGNORED BY IE6 */
@@ -947,15 +943,18 @@
948944 .wikiEditor-ui-toolbar .tabs span.tab a.current,
949945 .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
950946 color: #333333;
951 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 947+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
952948 }
953949 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current,
954950 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current:visited {
955 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 951+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
956952 }
957953 .wikiEditor-ui-toolbar .tabs span.tab a.current:hover {
958954 text-decoration: none;
959955 }
 956+.wikiEditor-ui-toolbar .tabs span.tab a.loading {
 957+ background-image: url(../images/wikiEditor/toolbar/loading-small.gif?1) !important;
 958+}
960959 /* Toolbar */
961960 .wikiEditor-ui-toolbar .group .label {
962961 float: left;
@@ -1002,7 +1001,7 @@
10031002 float: right;
10041003 }
10051004 .wikiEditor-ui-toolbar .group .tool-select .label {
1006 - background-image: url(../images/wikiEditor/toolbar/arrow-down.png);
 1005+ background-image: url(../images/wikiEditor/toolbar/arrow-down.png?1);
10071006 background-position: center right;
10081007 background-repeat: no-repeat;
10091008 padding: 0;
Index: trunk/extensions/UsabilityInitiative/css/combined.min.css
@@ -64,7 +64,7 @@
6565 color:HighlightText;
6666 }
6767 #panel.collapsible-nav div.portal{
68 -background-image:url(../images/vector/collapsibleNav/portal-break.png);
 68+background-image:url(../images/vector/collapsibleNav/portal-break.png?1);
6969 background-position:left top;
7070 background-repeat:no-repeat;
7171 padding:0.25em 0 !important;
@@ -77,21 +77,21 @@
7878 #panel.collapsible-nav div.portal h5{
7979 color:#4D4D4D;
8080 font-weight:normal;
81 -background:url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat;
 81+background:url(../images/vector/collapsibleNav/arrow-down.png?1) 0 50% no-repeat;
8282 padding:4px 0 3px 1.5em;
8383 margin-bottom:0px;
8484 }
8585 body.rtl #panel.collapsible-nav div.portal h5{
86 -background:url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat;
 86+background:url(../images/vector/collapsibleNav/arrow-down.png?1) 100% 50% no-repeat;
8787 padding:4px 1.5em 3px 0;
8888 }
8989 #panel.collapsible-nav div.collapsed h5{
9090 color:#0645AD;
91 -background:url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat;
 91+background:url(../images/vector/collapsibleNav/arrow-right.png?1) 0 50% no-repeat;
9292 margin-bottom:0px;
9393 }
9494 body.rtl #panel.collapsible-nav div.collapsed h5{
95 -background:url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat;
 95+background:url(../images/vector/collapsibleNav/arrow-left.png?1) 100% 50% no-repeat;
9696 }
9797 #panel.collapsible-nav div h5:hover{
9898 cursor:pointer;
@@ -146,7 +146,7 @@
147147 position:relative;
148148 clear:both;
149149 width:100%;
150 -background-color:#f3f3f3;
 150+background-color:#E0EEf7;
151151 border:solid silver 1px;
152152 }
153153 body.rtl .wikiEditor-ui{
@@ -282,30 +282,30 @@
283283 padding:0.2em 0.6em 0.15em !important;
284284 margin:0.5em 0 0.5em 0.4em !important;
285285 border:1px solid #a6a6a6 !important;
286 -background:#f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png ) repeat-x scroll 50% 100% !important;
 286+background:#f2f2f2 url( ../images/wikiEditor/dialogs/button_off.png?1) repeat-x scroll 50% 100% !important;
287287 }
288288 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:hover{
289289 border-color:#6e7273;
290 -background:#e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png ) repeat-x scroll 50% 100% !important;
 290+background:#e1e1e1 url( ../images/wikiEditor/dialogs/button_over.png?1) repeat-x scroll 50% 100% !important;
291291 }
292292 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:active,
293293 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button:focus{
294294 border-color:#707271;
295 -background:#bfbfbf url( ../images/wikiEditor/dialogs/button_down.png ) repeat-x scroll 50% 100% !important;
 295+background:#bfbfbf url( ../images/wikiEditor/dialogs/button_down.png?1) repeat-x scroll 50% 100% !important;
296296 }
297297 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button.disabled{
298298 color:#7f7f7f;
299299 border-color:#cccccc;
300 -background:#f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png ) repeat-x scroll 50% 100% !important;
 300+background:#f2f2f2 url( ../images/wikiEditor/dialogs/button_disabled.png?1) repeat-x scroll 50% 100% !important;
301301 }
302302 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane button::-moz-focus-inner{
303303 border:0;
304304 }
305305 .wikiEditor-toolbar-dialog .ui-widget-header{
306 -background:#f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png ) repeat-x scroll 50% 100% !important;
 306+background:#f0f0f0 url( ../images/wikiEditor/dialogs/titlebar_fade.png?1) repeat-x scroll 50% 100% !important;
307307 }
308308 .wikiEditor-toolbar-dialog .ui-icon-closethick{
309 -background:url( ../images/wikiEditor/dialogs/close_x.png ) no-repeat 50% 50% !important;
 309+background:url( ../images/wikiEditor/dialogs/close_x.png?1) no-repeat 50% 50% !important;
310310 }
311311 .wikiEditor-toolbar-dialog .ui-dialog-buttonpane{
312312 margin-top:0 !important;
@@ -421,16 +421,16 @@
422422 background-repeat:no-repeat;
423423 }
424424 #wikieditor-toolbar-link-int-target-status-exists{
425 -background-image:url( ../images/wikiEditor/dialogs/insert-link-exists.png );
 425+background-image:url( ../images/wikiEditor/dialogs/insert-link-exists.png?1);
426426 }
427427 #wikieditor-toolbar-link-int-target-status-notexists{
428 -background-image:url( ../images/wikiEditor/dialogs/insert-link-notexists.png );
 428+background-image:url( ../images/wikiEditor/dialogs/insert-link-notexists.png?1);
429429 }
430430 #wikieditor-toolbar-link-int-target-status-invalid{
431 -background-image:url( ../images/wikiEditor/dialogs/insert-link-invalid.png );
 431+background-image:url( ../images/wikiEditor/dialogs/insert-link-invalid.png?1);
432432 }
433433 #wikieditor-toolbar-link-int-target-status-external{
434 -background-image:url( ../images/wikiEditor/dialogs/insert-link-external.png );
 434+background-image:url( ../images/wikiEditor/dialogs/insert-link-external.png?1);
435435 }
436436 #wikieditor-toolbar-reference-dialog label{
437437 float:left;
@@ -470,7 +470,7 @@
471471 background-position:100% 50%;
472472 }
473473 body.rtl #wikieditor-toolbar-link-int-target-status-external{
474 -background-image:url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png );
 474+background-image:url( ../images/wikiEditor/dialogs/insert-link-external-rtl.png?1);
475475 }
476476 .wikiEditor-template-dialog-fields label{
477477 text-transform:capitalize;
@@ -556,7 +556,7 @@
557557 width:100%;
558558 }
559559 .tab-toc{
560 -background-image:url(../images/wikiEditor/toolbar/base.png);
 560+background-image:url(../images/wikiEditor/toolbar/base.png?1);
561561 background-position:left top;
562562 background-repeat:repeat-x;
563563 height:26px;
@@ -667,11 +667,11 @@
668668 left:0;
669669 }
670670 .wikiEditor-ui-toc-collapse-open{
671 -background:#f3f3f3 url(../images/wikiEditor/toc/close.png) 4px 50% no-repeat;
 671+background:#f3f3f3 url(../images/wikiEditor/toc/close.png?1) 4px 50% no-repeat;
672672 border-left:1px solid #DDDDDD;
673673 }
674674 .wikiEditor-ui-toc-collapse-closed{
675 -background:#f3f3f3 url(../images/wikiEditor/toc/open.png) 4px 50% no-repeat;
 675+background:#f3f3f3 url(../images/wikiEditor/toc/open.png?1) 4px 50% no-repeat;
676676 }
677677 .wikiEditor-ui-toc-resize-vertical,
678678 .ui-resizable-w{
@@ -697,7 +697,7 @@
698698 top:7px;
699699 left:-12px !important;
700700 cursor:ew-resize;
701 -background:url(../images/wikiEditor/toc/grip.png) 50% 50% no-repeat;
 701+background:url(../images/wikiEditor/toc/grip.png?1) 50% 50% no-repeat;
702702 z-index:0;
703703 }
704704 body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip{
@@ -757,34 +757,30 @@
758758 background-color:#E0EEf7;
759759 }
760760 .wikiEditor-ui-toolbar{
761 -background-image:url(../images/wikiEditor/toolbar/base.png);
 761+background-image:url(../images/wikiEditor/toolbar/base.png?1);
762762 background-position:left top;
763763 background-repeat:repeat-x;
764764 }
765765 /*
766766 .wikiEditor-ui-toolbar .toolbar{
767 -background-image:url(../images/wikiEditor/toolbar/base.png);
 767+background-image:url(../images/wikiEditor/toolbar/base.png?1);
768768 background-position:left top;
769769 }
770770 */
771771 body.rtl .wikiEditor-ui-toolbar .sections .section{
772772 float:right;
773773 }
774 -.wikiEditor-ui-toolbar .sections .loading{
775 -padding-top:0.5em;
776 -padding-bottom:0.5em;
777 -}
778774 .wikiEditor-ui-toolbar .sections div .spinner{
779775 display:none;
780776 }
781777 .wikiEditor-ui-toolbar .sections .loading .spinner{
782778 display:block;
783 -background-image:url(../images/wikiEditor/toolbar/loading.gif);
 779+background-image:url(../images/wikiEditor/toolbar/loading.gif?1);
784780 background-position:left center;
785781 background-repeat:no-repeat;
786782 padding-left:32px;
787 -margin-left:1em;
788 -height:22px;
 783+margin-left:0.5em;
 784+height:32px;
789785 float:left;
790786 color:#666666;
791787 }
@@ -793,7 +789,7 @@
794790 padding-left:0;
795791 padding-right:32px;
796792 margin-left:0;
797 -margin-right:1em;
 793+margin-right:0.5em;
798794 float:right;
799795 }
800796 .wikiEditor-ui-toolbar .tabs,
@@ -872,7 +868,7 @@
873869 height:26px;
874870 cursor:pointer;
875871 color:#0645ad;
876 -background-image:url(../images/wikiEditor/toolbar/arrow-right.png);
 872+background-image:url(../images/wikiEditor/toolbar/arrow-right.png?1);
877873 background-position:left center;
878874 background-repeat:no-repeat;
879875 }
@@ -880,7 +876,7 @@
881877 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a:visited{
882878 padding-left:12px;
883879 padding-right:18px;
884 -background-image:url(../images/wikiEditor/toolbar/arrow-left.png);
 880+background-image:url(../images/wikiEditor/toolbar/arrow-left.png?1);
885881 background-position:right center;
886882 }
887883 body.rtl .wikiEditor-ui-toolbar .tabs > span.tab > a,
@@ -890,15 +886,18 @@
891887 .wikiEditor-ui-toolbar .tabs span.tab a.current,
892888 .wikiEditor-ui-toolbar .tabs span.tab a.current:visited{
893889 color:#333333;
894 -background-image:url(../images/wikiEditor/toolbar/arrow-down.png);
 890+background-image:url(../images/wikiEditor/toolbar/arrow-down.png?1);
895891 }
896892 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current,
897893 body.rtl .wikiEditor-ui-toolbar .tabs span.tab a.current:visited{
898 -background-image:url(../images/wikiEditor/toolbar/arrow-down.png);
 894+background-image:url(../images/wikiEditor/toolbar/arrow-down.png?1);
899895 }
900896 .wikiEditor-ui-toolbar .tabs span.tab a.current:hover{
901897 text-decoration:none;
902898 }
 899+.wikiEditor-ui-toolbar .tabs span.tab a.loading{
 900+background-image:url(../images/wikiEditor/toolbar/loading-small.gif?1) !important;
 901+}
903902 .wikiEditor-ui-toolbar .group .label{
904903 float:left;
905904 border:0px;
@@ -941,7 +940,7 @@
942941 float:right;
943942 }
944943 .wikiEditor-ui-toolbar .group .tool-select .label{
945 -background-image:url(../images/wikiEditor/toolbar/arrow-down.png);
 944+background-image:url(../images/wikiEditor/toolbar/arrow-down.png?1);
946945 background-position:center right;
947946 background-repeat:no-repeat;
948947 padding:0;
Index: trunk/extensions/UsabilityInitiative/css/vector.footerCleanup.css
@@ -25,12 +25,12 @@
2626 padding: 0 0 0 14px;
2727 }
2828 .collapsible-list.collapsed label {
29 - background: url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat;
 29+ background: url(../images/vector/collapsibleNav/arrow-down.png?1) 0 50% no-repeat;
3030 padding: 4px 0 3px 1.5em;
3131 margin-bottom: 0px;
3232 }
3333 .collapsible-list.expanded label {
34 - background: url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat;
 34+ background: url(../images/vector/collapsibleNav/arrow-right.png?1) 0 50% no-repeat;
3535 padding: 4px 0 3px 1.5em;
3636 margin-bottom: 0px;
3737 }
Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php
@@ -19,21 +19,21 @@
2020 'base_sets' => array(
2121 'raw' => array(
2222 array( 'src' => 'css/suggestions.css', 'version' => 12 ),
23 - array( 'src' => 'css/vector.collapsibleNav.css', 'version' => 8 ),
24 - array( 'src' => 'css/vector.footerCleanup.css', 'version' => 1 ),
25 - array( 'src' => 'css/wikiEditor.css', 'version' => 12 ),
26 - array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 28 ),
 23+ array( 'src' => 'css/vector.collapsibleNav.css', 'version' => 9 ),
 24+ array( 'src' => 'css/vector.footerCleanup.css', 'version' => 2 ),
 25+ array( 'src' => 'css/wikiEditor.css', 'version' => 13 ),
 26+ array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 29 ),
2727 array( 'src' => 'css/wikiEditor.preview.css', 'version' => 1 ),
28 - array( 'src' => 'css/wikiEditor.toc.css', 'version' => 30 ),
29 - array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 16 ),
 28+ array( 'src' => 'css/wikiEditor.toc.css', 'version' => 31 ),
 29+ array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 17 ),
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' => 89 ),
 33+ array( 'src' => 'css/combined.css', 'version' => 91 ),
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' => 89 ),
 37+ array( 'src' => 'css/combined.min.css', 'version' => 91 ),
3838 array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ),
3939 ),
4040 )
@@ -74,7 +74,7 @@
7575 array( 'src' => 'js/plugins/jquery.textSelection.js', 'version' => 32 ),
7676 array( 'src' => 'js/plugins/jquery.wikiEditor.js', 'version' => 187 ),
7777 array( 'src' => 'js/plugins/jquery.wikiEditor.highlight.js', 'version' => 53 ),
78 - array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 61 ),
 78+ array( 'src' => 'js/plugins/jquery.wikiEditor.toolbar.js', 'version' => 62 ),
7979 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 ),
@@ -83,10 +83,10 @@
8484 array( 'src' => 'js/plugins/jquery.wikiEditor.publish.js', 'version' => 5 ),
8585 ),
8686 'combined' => array(
87 - array( 'src' => 'js/plugins.combined.js', 'version' => 394 ),
 87+ array( 'src' => 'js/plugins.combined.js', 'version' => 395 ),
8888 ),
8989 'minified' => array(
90 - array( 'src' => 'js/plugins.combined.min.js', 'version' => 394 ),
 90+ array( 'src' => 'js/plugins.combined.min.js', 'version' => 395 ),
9191 ),
9292 ),
9393 );
Index: trunk/extensions/UsabilityInitiative/images/wikiEditor/toolbar/loading.gif
Cannot display: file marked as a binary type.
svn:mime-type = image/gif
Index: trunk/extensions/UsabilityInitiative/images/wikiEditor/toolbar/loading-small.gif
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: trunk/extensions/UsabilityInitiative/images/wikiEditor/toolbar/loading-small.gif
___________________________________________________________________
Name: svn:mime-type
9494 + application/octet-stream
Index: trunk/extensions/UsabilityInitiative/js/plugins/jquery.wikiEditor.toolbar.js
@@ -588,19 +588,29 @@
589589 $previousSections.fadeOut( 'fast', function() { $(this).css( 'position', 'relative' ); } );
590590 $(this).parent().parent().find( 'a' ).removeClass( 'current' );
591591 $sections.css( 'overflow', 'hidden' );
 592+ function animate( $this ) {
 593+ $sections
 594+ .css( 'display', 'block' )
 595+ .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() {
 596+ $this.css( 'overflow', 'visible' ).css( 'height', 'auto' );
 597+ context.fn.trigger( 'resize' );
 598+ } );
 599+ }
592600 if ( show ) {
593601 $section.addClass( 'section-visible' );
594602 $section.fadeIn( 'fast' );
595 - $sections
596 - .css( 'display', 'block' )
597 - .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() {
598 - $(this).css( 'overflow', 'visible' ).css( 'height', 'auto' );
599 - context.fn.trigger( 'resize' );
600 - } );
601 - $(this).addClass( 'current' );
602603 if ( $section.hasClass( 'loading' ) ) {
603604 // Loading of this section was deferred, load it now
604 - setTimeout( function() { $section.trigger( 'loadSection' ); }, 0 );
 605+ $this = $(this);
 606+ $this.addClass( 'current loading' );
 607+ setTimeout( function() {
 608+ $section.trigger( 'loadSection' );
 609+ animate( $(this) );
 610+ $this.removeClass( 'loading' );
 611+ }, 1000 );
 612+ } else {
 613+ animate( $(this) );
 614+ $(this).addClass( 'current' );
605615 }
606616 } else {
607617 $sections
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.js
@@ -11438,19 +11438,29 @@
1143911439 $previousSections.fadeOut( 'fast', function() { $(this).css( 'position', 'relative' ); } );
1144011440 $(this).parent().parent().find( 'a' ).removeClass( 'current' );
1144111441 $sections.css( 'overflow', 'hidden' );
 11442+ function animate( $this ) {
 11443+ $sections
 11444+ .css( 'display', 'block' )
 11445+ .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() {
 11446+ $this.css( 'overflow', 'visible' ).css( 'height', 'auto' );
 11447+ context.fn.trigger( 'resize' );
 11448+ } );
 11449+ }
1144211450 if ( show ) {
1144311451 $section.addClass( 'section-visible' );
1144411452 $section.fadeIn( 'fast' );
11445 - $sections
11446 - .css( 'display', 'block' )
11447 - .animate( { 'height': $section.outerHeight() }, $section.outerHeight() * 2, function() {
11448 - $(this).css( 'overflow', 'visible' ).css( 'height', 'auto' );
11449 - context.fn.trigger( 'resize' );
11450 - } );
11451 - $(this).addClass( 'current' );
1145211453 if ( $section.hasClass( 'loading' ) ) {
1145311454 // Loading of this section was deferred, load it now
11454 - setTimeout( function() { $section.trigger( 'loadSection' ); }, 0 );
 11455+ $this = $(this);
 11456+ $this.addClass( 'current loading' );
 11457+ setTimeout( function() {
 11458+ $section.trigger( 'loadSection' );
 11459+ animate( $(this) );
 11460+ $this.removeClass( 'loading' );
 11461+ }, 1000 );
 11462+ } else {
 11463+ animate( $(this) );
 11464+ $(this).addClass( 'current' );
1145511465 }
1145611466 } else {
1145711467 $sections
Index: trunk/extensions/UsabilityInitiative/js/plugins.combined.min.js
@@ -778,7 +778,8 @@
779779 return html;},buildRow:function(context,row){var html='<tr>';for(cell in row){html+='<td class="cell cell-'+cell+'" valign="top"><span>'+
780780 $.wikiEditor.autoMsg(row[cell],['html','text'])+'</span></td>';}
781781 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]}}};}
782 -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');});}
 782+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');function animate($this){$sections.css('display','block').animate({'height':$section.outerHeight()},$section.outerHeight()*2,function(){$this.css('overflow','visible').css('height','auto');context.fn.trigger('resize');});}
 783+if(show){$section.addClass('section-visible');$section.fadeIn('fast');if($section.hasClass('loading')){$this=$(this);$this.addClass('current loading');setTimeout(function(){$section.trigger('loadSection');animate($(this));$this.removeClass('loading');},1000);}else{animate($(this));$(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');});}
783784 if($.trackAction!=undefined){$.trackAction($section.attr('rel')+'.'+(show?'show':'hide'));}
784785 $.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);}
785786 if(id!=='main'){$section.css('display',show?'block':'none');if(show)

Status & tagging log