Index: trunk/extensions/UsabilityInitiative/css/wikiEditor.toc.css |
— | — | @@ -66,7 +66,6 @@ |
67 | 67 | .wikiEditor-ui-toc ul li div.current { |
68 | 68 | background-color: #FAFAFA; |
69 | 69 | color: #333333; |
70 | | - cursor: default; |
71 | 70 | } |
72 | 71 | .wikiEditor-ui-toc ul li div.section-0 { |
73 | 72 | font-size: 1em; |
Index: trunk/extensions/UsabilityInitiative/css/combined.css |
— | — | @@ -171,7 +171,6 @@ |
172 | 172 | .wikiEditor-ui-toc ul li div.current { |
173 | 173 | background-color: #FAFAFA; |
174 | 174 | color: #333333; |
175 | | - cursor: default; |
176 | 175 | } |
177 | 176 | .wikiEditor-ui-toc ul li div.section-0 { |
178 | 177 | font-size: 1em; |
Index: trunk/extensions/UsabilityInitiative/css/combined.min.css |
— | — | @@ -158,7 +158,6 @@ |
159 | 159 | .wikiEditor-ui-toc ul li div.current{ |
160 | 160 | background-color:#FAFAFA; |
161 | 161 | color:#333333; |
162 | | -cursor:default; |
163 | 162 | } |
164 | 163 | .wikiEditor-ui-toc ul li div.section-0{ |
165 | 164 | font-size:1em; |
— | — | @@ -501,4 +500,4 @@ |
502 | 501 | background-color:white; |
503 | 502 | text-decoration:none; |
504 | 503 | border-color:#a8d7f9; |
505 | | -} |
| 504 | +} |
\ No newline at end of file |
Index: trunk/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -22,15 +22,15 @@ |
23 | 23 | array( 'src' => 'css/wikiEditor.css', 'version' => 4 ), |
24 | 24 | array( 'src' => 'css/wikiEditor.toolbar.css', 'version' => 7 ), |
25 | 25 | array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 2 ), |
26 | | - array( 'src' => 'css/wikiEditor.toc.css', 'version' => 7 ), |
| 26 | + array( 'src' => 'css/wikiEditor.toc.css', 'version' => 8 ), |
27 | 27 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2' ), |
28 | 28 | ), |
29 | 29 | 'combined' => array( |
30 | | - array( 'src' => 'css/combined.css', 'version' => 13 ), |
| 30 | + array( 'src' => 'css/combined.css', 'version' => 14 ), |
31 | 31 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2' ), |
32 | 32 | ), |
33 | 33 | 'minified' => array( |
34 | | - array( 'src' => 'css/combined.min.css', 'version' => 13 ), |
| 34 | + array( 'src' => 'css/combined.min.css', 'version' => 14 ), |
35 | 35 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2' ), |
36 | 36 | ), |
37 | 37 | ) |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.js |
— | — | @@ -944,6 +944,7 @@ |
945 | 945 | var externalMsg = gM( 'edittoolbar-tool-link-int-target-status-external' ); |
946 | 946 | var loadingMsg = gM( 'edittoolbar-tool-link-int-target-status-loading' ); |
947 | 947 | $j( '#edittoolbar-link-int-target-status' ) |
| 948 | + .before( $j( '<br />' ) ) |
948 | 949 | .append( $j( '<img />' ).attr( { |
949 | 950 | 'id': 'edittoolbar-link-int-target-status-exists', |
950 | 951 | 'src': $j.wikiEditor.imgPath + 'dialogs/' + 'insert-link-exists.png', |
— | — | @@ -1137,7 +1138,7 @@ |
1138 | 1139 | $j(this).data( 'articlePathRegex', new RegExp( |
1139 | 1140 | '^' + RegExp.escape( wgServer + wgArticlePath ) |
1140 | 1141 | .replace( /\\\$1/g, '(.*)' ) + '$' |
1141 | | - ) ); |
| 1142 | + ) ); |
1142 | 1143 | // Pre-fill the text fields based on the current selection |
1143 | 1144 | var selection = $j(this).data( 'context' ).$textarea.getSelection(); |
1144 | 1145 | $j( '#edittoolbar-link-int-target' ).focus(); |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.min.js |
— | — | @@ -39,7 +39,7 @@ |
40 | 40 | $j(this).find('[rel]').each(function(){$j(this).text(gM($j(this).attr('rel')));});$j('#edittoolbar-link-int-target').bind('change keypress paste cut',function(){setTimeout(function(){if(isExternalLink($j('#edittoolbar-link-int-target').val())) |
41 | 41 | $j('#edittoolbar-link-type-ext').attr('checked','checked');else |
42 | 42 | $j('#edittoolbar-link-type-int').attr('checked','checked');if($j('#edittoolbar-link-int-text').data('untouched')) |
43 | | -$j('#edittoolbar-link-int-text').val($j('#edittoolbar-link-int-target').val());},0);});$j('#edittoolbar-link-int-text').bind('change keypress paste cut',function(){$j(this).data('untouched',false);});var existsMsg=gM('edittoolbar-tool-link-int-target-status-exists');var notexistsMsg=gM('edittoolbar-tool-link-int-target-status-notexists');var invalidMsg=gM('edittoolbar-tool-link-int-target-status-invalid');var externalMsg=gM('edittoolbar-tool-link-int-target-status-external');var loadingMsg=gM('edittoolbar-tool-link-int-target-status-loading');$j('#edittoolbar-link-int-target-status').append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-exists','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-exists.png','alt':existsMsg,'title':existsMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-notexists','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-notexists.png','alt':notexistsMsg,'title':notexistsMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-invalid','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-invalid.png','alt':invalidMsg,'title':invalidMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-external','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-external.png','alt':externalMsg,'title':externalMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-loading','src':$j.wikiEditor.imgPath+'dialogs/loading.gif','alt':loadingMsg,'title':loadingMsg})).data('existencecache',{}).children().hide();$j('#edittoolbar-link-int-target').bind('keypress paste cut',function(){if(typeof $j(this).data('timerID')!='undefined'){clearTimeout($j(this).data('timerID'));} |
| 43 | +$j('#edittoolbar-link-int-text').val($j('#edittoolbar-link-int-target').val());},0);});$j('#edittoolbar-link-int-text').bind('change keypress paste cut',function(){$j(this).data('untouched',false);});var existsMsg=gM('edittoolbar-tool-link-int-target-status-exists');var notexistsMsg=gM('edittoolbar-tool-link-int-target-status-notexists');var invalidMsg=gM('edittoolbar-tool-link-int-target-status-invalid');var externalMsg=gM('edittoolbar-tool-link-int-target-status-external');var loadingMsg=gM('edittoolbar-tool-link-int-target-status-loading');$j('#edittoolbar-link-int-target-status').before($j('<br />')).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-exists','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-exists.png','alt':existsMsg,'title':existsMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-notexists','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-notexists.png','alt':notexistsMsg,'title':notexistsMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-invalid','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-invalid.png','alt':invalidMsg,'title':invalidMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-external','src':$j.wikiEditor.imgPath+'dialogs/'+'insert-link-external.png','alt':externalMsg,'title':externalMsg})).append($j('<img />').attr({'id':'edittoolbar-link-int-target-status-loading','src':$j.wikiEditor.imgPath+'dialogs/loading.gif','alt':loadingMsg,'title':loadingMsg})).data('existencecache',{}).children().hide();$j('#edittoolbar-link-int-target').bind('keypress paste cut',function(){if(typeof $j(this).data('timerID')!='undefined'){clearTimeout($j(this).data('timerID'));} |
44 | 44 | var timerID=setTimeout(updateExistence,120);$j(this).data('timerID',timerID);}).change(function(){if(typeof $j(this).data('timerID')!='undefined'){clearTimeout($j(this).data('timerID'));} |
45 | 45 | updateExistence();});$j('#edittoolbar-link-int-target').data('suggcache',{}).suggestions({fetch:function(query){var that=this;var title=$j(this).val();if(isExternalLink(title)||title.indexOf('|')!=-1||title==''){$j(this).suggestions('suggestions',[]);return;} |
46 | 46 | var cache=$j(this).data('suggcache');if(typeof cache[title]!='undefined'){$j(this).suggestions('suggestions',cache[title]);return;} |
Index: trunk/extensions/UsabilityInitiative/EditToolbar/EditToolbar.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | /* Configuration */ |
21 | 21 | |
22 | 22 | // Bump the version number every time you change any of the .css/.js files |
23 | | -$wgEditToolbarStyleVersion = 69; |
| 23 | +$wgEditToolbarStyleVersion = 70; |
24 | 24 | |
25 | 25 | // Set this to true to simply override the stock toolbar for everyone |
26 | 26 | $wgEditToolbarGlobalEnable = false; |