Index: branches/REL1_16/extensions/UsabilityInitiative/Vector/Modules/CollapsibleNav/CollapsibleNav.js |
— | — | @@ -5,14 +5,14 @@ |
6 | 6 | if( !wgVectorEnabledModules.collapsiblenav ) { |
7 | 7 | return true; |
8 | 8 | } |
9 | | - $j( '#panel' ).addClass( 'collapsible-nav' ); |
| 9 | + $j( '#mw-panel' ).addClass( 'collapsible-nav' ); |
10 | 10 | // Always show the first portal |
11 | | - $j( '#panel > div.portal:first' ) |
| 11 | + $j( '#mw-panel > div.portal:first' ) |
12 | 12 | .addClass( 'expanded' ) |
13 | 13 | .find( 'div.body' ) |
14 | 14 | .show(); |
15 | 15 | // Remember which portals to hide and show |
16 | | - $j( '#panel > div.portal:not(:first)' ) |
| 16 | + $j( '#mw-panel > div.portal:not(:first)' ) |
17 | 17 | .each( function() { |
18 | 18 | if ( $j.cookie( 'vector-nav-' + $j(this).attr( 'id' ) ) == 'true' ) { |
19 | 19 | $j(this) |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | } |
26 | 26 | } ); |
27 | 27 | // Toggle the selected menu's class and expand or collapse the menu |
28 | | - $j( '#panel > div.portal > h5' ).click( function() { |
| 28 | + $j( '#mw-panel > div.portal > h5' ).click( function() { |
29 | 29 | $j.cookie( 'vector-nav-' + $j(this).parent().attr( 'id' ), $j(this).parent().is( '.collapsed' ) ); |
30 | 30 | $j(this) |
31 | 31 | .parent() |
Index: branches/REL1_16/extensions/UsabilityInitiative/Vector/Vector.hooks.php |
— | — | @@ -12,17 +12,17 @@ |
13 | 13 | |
14 | 14 | static $scripts = array( |
15 | 15 | 'raw' => array( |
16 | | - array( 'src' => 'Modules/CollapsibleNav/CollapsibleNav.js', 'version' => 7 ), |
| 16 | + array( 'src' => 'Modules/CollapsibleNav/CollapsibleNav.js', 'version' => 8 ), |
17 | 17 | array( 'src' => 'Modules/CollapsibleTabs/CollapsibleTabs.js', 'version' => 7 ), |
18 | 18 | array( 'src' => 'Modules/EditWarning/EditWarning.js', 'version' => 8 ), |
19 | 19 | array( 'src' => 'Modules/FooterCleanup/FooterCleanup.js', 'version' => 5 ), |
20 | 20 | array( 'src' => 'Modules/SimpleSearch/SimpleSearch.js', 'version' => 7 ), |
21 | 21 | ), |
22 | 22 | 'combined' => array( |
23 | | - array( 'src' => 'Vector.combined.js', 'version' => 22 ), |
| 23 | + array( 'src' => 'Vector.combined.js', 'version' => 23 ), |
24 | 24 | ), |
25 | 25 | 'minified' => array( |
26 | | - array( 'src' => 'Vector.combined.min.js', 'version' => 22 ), |
| 26 | + array( 'src' => 'Vector.combined.min.js', 'version' => 23 ), |
27 | 27 | ), |
28 | 28 | ); |
29 | 29 | static $modules = array( |
Index: branches/REL1_16/extensions/UsabilityInitiative/Vector/Vector.combined.js |
— | — | @@ -5,14 +5,14 @@ |
6 | 6 | if( !wgVectorEnabledModules.collapsiblenav ) { |
7 | 7 | return true; |
8 | 8 | } |
9 | | - $j( '#panel' ).addClass( 'collapsible-nav' ); |
| 9 | + $j( '#mw-panel' ).addClass( 'collapsible-nav' ); |
10 | 10 | // Always show the first portal |
11 | | - $j( '#panel > div.portal:first' ) |
| 11 | + $j( '#mw-panel > div.portal:first' ) |
12 | 12 | .addClass( 'expanded' ) |
13 | 13 | .find( 'div.body' ) |
14 | 14 | .show(); |
15 | 15 | // Remember which portals to hide and show |
16 | | - $j( '#panel > div.portal:not(:first)' ) |
| 16 | + $j( '#mw-panel > div.portal:not(:first)' ) |
17 | 17 | .each( function() { |
18 | 18 | if ( $j.cookie( 'vector-nav-' + $j(this).attr( 'id' ) ) == 'true' ) { |
19 | 19 | $j(this) |
— | — | @@ -24,7 +24,7 @@ |
25 | 25 | } |
26 | 26 | } ); |
27 | 27 | // Toggle the selected menu's class and expand or collapse the menu |
28 | | - $j( '#panel > div.portal > h5' ).click( function() { |
| 28 | + $j( '#mw-panel > div.portal > h5' ).click( function() { |
29 | 29 | $j.cookie( 'vector-nav-' + $j(this).parent().attr( 'id' ), $j(this).parent().is( '.collapsed' ) ); |
30 | 30 | $j(this) |
31 | 31 | .parent() |
Index: branches/REL1_16/extensions/UsabilityInitiative/Vector/Vector.combined.min.js |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | |
3 | 3 | $j(document).ready(function(){if(!wgVectorEnabledModules.collapsiblenav){return true;} |
4 | | -$j('#panel').addClass('collapsible-nav');$j('#panel > div.portal:first').addClass('expanded').find('div.body').show();$j('#panel > div.portal:not(:first)').each(function(){if($j.cookie('vector-nav-'+$j(this).attr('id'))=='true'){$j(this).addClass('expanded').find('div.body').show();}else{$j(this).addClass('collapsed');}});$j('#panel > div.portal > h5').click(function(){$j.cookie('vector-nav-'+$j(this).parent().attr('id'),$j(this).parent().is('.collapsed'));$j(this).parent().toggleClass('expanded').toggleClass('collapsed').find('div.body').slideToggle('fast');return false;});});$j(document).ready(function(){if(!wgVectorEnabledModules.collapsibletabs){return true;} |
| 4 | +$j('#mw-panel').addClass('collapsible-nav');$j('#mw-panel > div.portal:first').addClass('expanded').find('div.body').show();$j('#mw-panel > div.portal:not(:first)').each(function(){if($j.cookie('vector-nav-'+$j(this).attr('id'))=='true'){$j(this).addClass('expanded').find('div.body').show();}else{$j(this).addClass('collapsed');}});$j('#mw-panel > div.portal > h5').click(function(){$j.cookie('vector-nav-'+$j(this).parent().attr('id'),$j(this).parent().is('.collapsed'));$j(this).parent().toggleClass('expanded').toggleClass('collapsed').find('div.body').slideToggle('fast');return false;});});$j(document).ready(function(){if(!wgVectorEnabledModules.collapsibletabs){return true;} |
5 | 5 | var rtl=$j('body').is('.rtl');$j.collapsibleTabs.moveToCollapsed=function(ele){var $moving=$j(ele);$j($moving.data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting=true;var data=$moving.data('collapsibleTabsSettings');var target=$moving.data('collapsibleTabsSettings').collapsedContainer;$moving.css("position","relative").css((rtl?'left':'right'),0).animate({width:'1px'},"normal",function(){$j(this).hide();$j('<span class="placeholder" style="display:none;"></span>').insertAfter(this);$j(this).remove().prependTo(target).data('collapsibleTabsSettings',data);$j(this).attr('style','display:list-item;');$j($j(ele).data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting=false;$j.collapsibleTabs.handleResize();});};$j.collapsibleTabs.moveToExpanded=function(ele){var $moving=$j(ele);$j($moving.data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting=true;var data=$moving.data('collapsibleTabsSettings');var $target=$j($moving.data('collapsibleTabsSettings').expandedContainer).find('span.placeholder:first');var expandedWidth=$moving.data('collapsibleTabsSettings').expandedWidth;$moving.css("position","relative").css((rtl?'right':'left'),0).css('width','1px');$target.replaceWith($moving.remove().css('width','1px').data('collapsibleTabsSettings',data).animate({width:expandedWidth+"px"},"normal",function(){$j(this).attr('style','display:block;');$j($moving.data('collapsibleTabsSettings').expandedContainer).data('collapsibleTabsSettings').shifting=false;$j.collapsibleTabs.handleResize();}));};$j('#p-views ul').bind("beforeTabCollapse",function(){if($j('#p-cactions').css('display')=='none') |
6 | 6 | $j("#p-cactions").addClass("filledPortlet").removeClass("emptyPortlet").find('h5').css('width','1px').animate({'width':'26px'},390);}).bind("beforeTabExpand",function(){if($j('#p-cactions li').length==1) |
7 | 7 | $j("#p-cactions h5").animate({'width':'1px'},370,function(){$j(this).attr('style','').parent().addClass("emptyPortlet").removeClass("filledPortlet");});}).collapsibleTabs({expandCondition:function(eleWidth){if(rtl){return($j('#right-navigation').position().left+$j('#right-navigation').width()+1)<($j('#left-navigation').position().left-eleWidth);}else{return($j('#left-navigation').position().left+$j('#left-navigation').width()+1)<($j('#right-navigation').position().left-eleWidth);}},collapseCondition:function(){if(rtl){return($j('#right-navigation').position().left+$j('#right-navigation').width())>$j('#left-navigation').position().left;}else{return($j('#left-navigation').position().left+$j('#left-navigation').width())>$j('#right-navigation').position().left;}}});});$j(document).ready(function(){if(!wgVectorEnabledModules.editwarning||$j('#wpTextbox1').size()==0){return true;} |
Index: branches/REL1_16/extensions/UsabilityInitiative/UsabilityInitiative.hooks.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | 'base_sets' => array( |
21 | 21 | 'raw' => array( |
22 | 22 | array( 'src' => 'css/suggestions.css', 'version' => 6 ), |
23 | | - array( 'src' => 'css/vector.collapsibleNav.css', 'version' => 7 ), |
| 23 | + array( 'src' => 'css/vector.collapsibleNav.css', 'version' => 8 ), |
24 | 24 | array( 'src' => 'css/vector.footerCleanup.css', 'version' => 1 ), |
25 | 25 | array( 'src' => 'css/wikiEditor.css', 'version' => 12 ), |
26 | 26 | array( 'src' => 'css/wikiEditor.dialogs.css', 'version' => 20 ), |
— | — | @@ -29,11 +29,11 @@ |
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' => 68 ), |
| 33 | + array( 'src' => 'css/combined.css', 'version' => 69 ), |
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' => 68 ), |
| 37 | + array( 'src' => 'css/combined.min.css', 'version' => 69 ), |
38 | 38 | array( 'src' => 'css/vector/jquery-ui-1.7.2.css', 'version' => '1.7.2y' ), |
39 | 39 | ), |
40 | 40 | ) |
Index: branches/REL1_16/extensions/UsabilityInitiative/css/vector.collapsibleNav.css |
— | — | @@ -1,62 +1,62 @@ |
2 | 2 | /* Prototype code to show collapsing left nav options */ |
3 | | -#panel.collapsible-nav div.portal { |
| 3 | +#mw-panel.collapsible-nav div.portal { |
4 | 4 | background-image:url(../images/vector/collapsibleNav/portal-break.png); |
5 | 5 | background-position:left top; |
6 | 6 | background-repeat:no-repeat; |
7 | 7 | padding: 0.25em 0 !important; |
8 | 8 | margin: -11px 9px 10px 11px; |
9 | 9 | } |
10 | | -body.rtl #panel.collapsible-nav div.portal { |
| 10 | +body.rtl #mw-panel.collapsible-nav div.portal { |
11 | 11 | background-position: right top; |
12 | 12 | margin: -11px 11px 10px 9px; |
13 | 13 | } |
14 | | -#panel.collapsible-nav div.portal h5 { |
| 14 | +#mw-panel.collapsible-nav div.portal h5 { |
15 | 15 | color: #4D4D4D; |
16 | 16 | font-weight: normal; |
17 | 17 | background: url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat; |
18 | 18 | padding: 4px 0 3px 1.5em; |
19 | 19 | margin-bottom: 0px; |
20 | 20 | } |
21 | | -body.rtl #panel.collapsible-nav div.portal h5 { |
| 21 | +body.rtl #mw-panel.collapsible-nav div.portal h5 { |
22 | 22 | background: url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat; |
23 | 23 | padding: 4px 1.5em 3px 0; |
24 | 24 | } |
25 | | -#panel.collapsible-nav div.collapsed h5 { |
| 25 | +#mw-panel.collapsible-nav div.collapsed h5 { |
26 | 26 | color: #0645AD; |
27 | 27 | background: url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat; |
28 | 28 | margin-bottom: 0px; |
29 | 29 | } |
30 | | -body.rtl #panel.collapsible-nav div.collapsed h5 { |
| 30 | +body.rtl #mw-panel.collapsible-nav div.collapsed h5 { |
31 | 31 | background: url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat; |
32 | 32 | } |
33 | | -#panel.collapsible-nav div h5:hover { |
| 33 | +#mw-panel.collapsible-nav div h5:hover { |
34 | 34 | cursor: pointer; |
35 | 35 | text-decoration: none; |
36 | 36 | } |
37 | | -#panel.collapsible-nav div.collapsed h5:hover { |
| 37 | +#mw-panel.collapsible-nav div.collapsed h5:hover { |
38 | 38 | text-decoration: underline; |
39 | 39 | } |
40 | | -#panel.collapsible-nav div.portal div.body { |
| 40 | +#mw-panel.collapsible-nav div.portal div.body { |
41 | 41 | padding-top: 0px; |
42 | 42 | display: none; |
43 | 43 | } |
44 | | -#panel.collapsible-nav div.portal div.body ul li { |
| 44 | +#mw-panel.collapsible-nav div.portal div.body ul li { |
45 | 45 | padding: 0.25em 0; |
46 | 46 | } |
47 | | -#panel.collapsible-nav div.portal div.body { |
| 47 | +#mw-panel.collapsible-nav div.portal div.body { |
48 | 48 | background: none !important; |
49 | 49 | } |
50 | | -#panel.collapsible-nav #p-navigation { |
| 50 | +#mw-panel.collapsible-nav #p-navigation { |
51 | 51 | background-image: none; |
52 | 52 | margin-top: 0px; |
53 | 53 | } |
54 | | -#panel.collapsible-nav #p-navigation div.body { |
| 54 | +#mw-panel.collapsible-nav #p-navigation div.body { |
55 | 55 | margin-left: 0.5em; |
56 | 56 | } |
57 | | -body.rtl #panel.collapsible-nav #p-navigation div.body { |
| 57 | +body.rtl #mw-panel.collapsible-nav #p-navigation div.body { |
58 | 58 | margin-left: 0; |
59 | 59 | margin-right: 0.5em; |
60 | 60 | } |
61 | | -#panel.collapsible-nav #p-navigation h5 { |
| 61 | +#mw-panel.collapsible-nav #p-navigation h5 { |
62 | 62 | display: none; |
63 | 63 | } |
Index: branches/REL1_16/extensions/UsabilityInitiative/css/combined.css |
— | — | @@ -50,65 +50,65 @@ |
51 | 51 | color: HighlightText; |
52 | 52 | } |
53 | 53 | /* Prototype code to show collapsing left nav options */ |
54 | | -#panel.collapsible-nav div.portal { |
| 54 | +#mw-panel.collapsible-nav div.portal { |
55 | 55 | background-image:url(../images/vector/collapsibleNav/portal-break.png); |
56 | 56 | background-position:left top; |
57 | 57 | background-repeat:no-repeat; |
58 | 58 | padding: 0.25em 0 !important; |
59 | 59 | margin: -11px 9px 10px 11px; |
60 | 60 | } |
61 | | -body.rtl #panel.collapsible-nav div.portal { |
| 61 | +body.rtl #mw-panel.collapsible-nav div.portal { |
62 | 62 | background-position: right top; |
63 | 63 | margin: -11px 11px 10px 9px; |
64 | 64 | } |
65 | | -#panel.collapsible-nav div.portal h5 { |
| 65 | +#mw-panel.collapsible-nav div.portal h5 { |
66 | 66 | color: #4D4D4D; |
67 | 67 | font-weight: normal; |
68 | 68 | background: url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat; |
69 | 69 | padding: 4px 0 3px 1.5em; |
70 | 70 | margin-bottom: 0px; |
71 | 71 | } |
72 | | -body.rtl #panel.collapsible-nav div.portal h5 { |
| 72 | +body.rtl #mw-panel.collapsible-nav div.portal h5 { |
73 | 73 | background: url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat; |
74 | 74 | padding: 4px 1.5em 3px 0; |
75 | 75 | } |
76 | | -#panel.collapsible-nav div.collapsed h5 { |
| 76 | +#mw-panel.collapsible-nav div.collapsed h5 { |
77 | 77 | color: #0645AD; |
78 | 78 | background: url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat; |
79 | 79 | margin-bottom: 0px; |
80 | 80 | } |
81 | | -body.rtl #panel.collapsible-nav div.collapsed h5 { |
| 81 | +body.rtl #mw-panel.collapsible-nav div.collapsed h5 { |
82 | 82 | background: url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat; |
83 | 83 | } |
84 | | -#panel.collapsible-nav div h5:hover { |
| 84 | +#mw-panel.collapsible-nav div h5:hover { |
85 | 85 | cursor: pointer; |
86 | 86 | text-decoration: none; |
87 | 87 | } |
88 | | -#panel.collapsible-nav div.collapsed h5:hover { |
| 88 | +#mw-panel.collapsible-nav div.collapsed h5:hover { |
89 | 89 | text-decoration: underline; |
90 | 90 | } |
91 | | -#panel.collapsible-nav div.portal div.body { |
| 91 | +#mw-panel.collapsible-nav div.portal div.body { |
92 | 92 | padding-top: 0px; |
93 | 93 | display: none; |
94 | 94 | } |
95 | | -#panel.collapsible-nav div.portal div.body ul li { |
| 95 | +#mw-panel.collapsible-nav div.portal div.body ul li { |
96 | 96 | padding: 0.25em 0; |
97 | 97 | } |
98 | | -#panel.collapsible-nav div.portal div.body { |
| 98 | +#mw-panel.collapsible-nav div.portal div.body { |
99 | 99 | background: none !important; |
100 | 100 | } |
101 | | -#panel.collapsible-nav #p-navigation { |
| 101 | +#mw-panel.collapsible-nav #p-navigation { |
102 | 102 | background-image: none; |
103 | 103 | margin-top: 0px; |
104 | 104 | } |
105 | | -#panel.collapsible-nav #p-navigation div.body { |
| 105 | +#mw-panel.collapsible-nav #p-navigation div.body { |
106 | 106 | margin-left: 0.5em; |
107 | 107 | } |
108 | | -body.rtl #panel.collapsible-nav #p-navigation div.body { |
| 108 | +body.rtl #mw-panel.collapsible-nav #p-navigation div.body { |
109 | 109 | margin-left: 0; |
110 | 110 | margin-right: 0.5em; |
111 | 111 | } |
112 | | -#panel.collapsible-nav #p-navigation h5 { |
| 112 | +#mw-panel.collapsible-nav #p-navigation h5 { |
113 | 113 | display: none; |
114 | 114 | } |
115 | 115 | /* wikiEditor plugin */ |
Index: branches/REL1_16/extensions/UsabilityInitiative/css/combined.min.css |
— | — | @@ -47,65 +47,65 @@ |
48 | 48 | color:white; |
49 | 49 | color:HighlightText; |
50 | 50 | } |
51 | | -#panel.collapsible-nav div.portal{ |
| 51 | +#mw-panel.collapsible-nav div.portal{ |
52 | 52 | background-image:url(../images/vector/collapsibleNav/portal-break.png); |
53 | 53 | background-position:left top; |
54 | 54 | background-repeat:no-repeat; |
55 | 55 | padding:0.25em 0 !important; |
56 | 56 | margin:-11px 9px 10px 11px; |
57 | 57 | } |
58 | | -body.rtl #panel.collapsible-nav div.portal{ |
| 58 | +body.rtl #mw-panel.collapsible-nav div.portal{ |
59 | 59 | background-position:right top; |
60 | 60 | margin:-11px 11px 10px 9px; |
61 | 61 | } |
62 | | -#panel.collapsible-nav div.portal h5{ |
| 62 | +#mw-panel.collapsible-nav div.portal h5{ |
63 | 63 | color:#4D4D4D; |
64 | 64 | font-weight:normal; |
65 | 65 | background:url(../images/vector/collapsibleNav/arrow-down.png) 0 50% no-repeat; |
66 | 66 | padding:4px 0 3px 1.5em; |
67 | 67 | margin-bottom:0px; |
68 | 68 | } |
69 | | -body.rtl #panel.collapsible-nav div.portal h5{ |
| 69 | +body.rtl #mw-panel.collapsible-nav div.portal h5{ |
70 | 70 | background:url(../images/vector/collapsibleNav/arrow-down.png) 100% 50% no-repeat; |
71 | 71 | padding:4px 1.5em 3px 0; |
72 | 72 | } |
73 | | -#panel.collapsible-nav div.collapsed h5{ |
| 73 | +#mw-panel.collapsible-nav div.collapsed h5{ |
74 | 74 | color:#0645AD; |
75 | 75 | background:url(../images/vector/collapsibleNav/arrow-right.png) 0 50% no-repeat; |
76 | 76 | margin-bottom:0px; |
77 | 77 | } |
78 | | -body.rtl #panel.collapsible-nav div.collapsed h5{ |
| 78 | +body.rtl #mw-panel.collapsible-nav div.collapsed h5{ |
79 | 79 | background:url(../images/vector/collapsibleNav/arrow-left.png) 100% 50% no-repeat; |
80 | 80 | } |
81 | | -#panel.collapsible-nav div h5:hover{ |
| 81 | +#mw-panel.collapsible-nav div h5:hover{ |
82 | 82 | cursor:pointer; |
83 | 83 | text-decoration:none; |
84 | 84 | } |
85 | | -#panel.collapsible-nav div.collapsed h5:hover{ |
| 85 | +#mw-panel.collapsible-nav div.collapsed h5:hover{ |
86 | 86 | text-decoration:underline; |
87 | 87 | } |
88 | | -#panel.collapsible-nav div.portal div.body{ |
| 88 | +#mw-panel.collapsible-nav div.portal div.body{ |
89 | 89 | padding-top:0px; |
90 | 90 | display:none; |
91 | 91 | } |
92 | | -#panel.collapsible-nav div.portal div.body ul li{ |
| 92 | +#mw-panel.collapsible-nav div.portal div.body ul li{ |
93 | 93 | padding:0.25em 0; |
94 | 94 | } |
95 | | -#panel.collapsible-nav div.portal div.body{ |
| 95 | +#mw-panel.collapsible-nav div.portal div.body{ |
96 | 96 | background:none !important; |
97 | 97 | } |
98 | | -#panel.collapsible-nav #p-navigation{ |
| 98 | +#mw-panel.collapsible-nav #p-navigation{ |
99 | 99 | background-image:none; |
100 | 100 | margin-top:0px; |
101 | 101 | } |
102 | | -#panel.collapsible-nav #p-navigation div.body{ |
| 102 | +#mw-panel.collapsible-nav #p-navigation div.body{ |
103 | 103 | margin-left:0.5em; |
104 | 104 | } |
105 | | -body.rtl #panel.collapsible-nav #p-navigation div.body{ |
| 105 | +body.rtl #mw-panel.collapsible-nav #p-navigation div.body{ |
106 | 106 | margin-left:0; |
107 | 107 | margin-right:0.5em; |
108 | 108 | } |
109 | | -#panel.collapsible-nav #p-navigation h5{ |
| 109 | +#mw-panel.collapsible-nav #p-navigation h5{ |
110 | 110 | display:none; |
111 | 111 | } |
112 | 112 | form#editform{ |
Index: branches/REL1_16/phase3/skins/common/wikibits.js |
— | — | @@ -244,7 +244,7 @@ |
245 | 245 | // optimization technique. |
246 | 246 | var linkContainers = [ |
247 | 247 | 'column-one', // Monobook and Modern |
248 | | - 'head', 'panel', 'p-logo' // Vector |
| 248 | + 'mw-head', 'mw-panel', 'p-logo' // Vector |
249 | 249 | ]; |
250 | 250 | for ( var i in linkContainers ) { |
251 | 251 | var linkContainer = document.getElementById( linkContainers[i] ); |
Index: branches/REL1_16/phase3/skins/Vector.php |
— | — | @@ -448,8 +448,8 @@ |
449 | 449 | // Output HTML Page |
450 | 450 | $this->html( 'headelement' ); |
451 | 451 | ?> |
452 | | - <div id="page-base" class="noprint"></div> |
453 | | - <div id="head-base" class="noprint"></div> |
| 452 | + <div id="mw-page-base" class="noprint"></div> |
| 453 | + <div id="mw-head-base" class="noprint"></div> |
454 | 454 | <!-- content --> |
455 | 455 | <div id="content" <?php $this->html('specialpageattributes') ?>> |
456 | 456 | <a id="top"></a> |
— | — | @@ -483,7 +483,7 @@ |
484 | 484 | <?php if ( $this->data['showjumplinks'] ): ?> |
485 | 485 | <!-- jumpto --> |
486 | 486 | <div id="jump-to-nav"> |
487 | | - <?php $this->msg( 'jumpto' ) ?><a href="#head"><?php $this->msg( 'jumptonavigation' ) ?></a>, |
| 487 | + <?php $this->msg( 'jumpto' ) ?> <a href="#mw-head"><?php $this->msg( 'jumptonavigation' ) ?></a>, |
488 | 488 | <a href="#p-search"><?php $this->msg( 'jumptosearch' ) ?></a> |
489 | 489 | </div> |
490 | 490 | <!-- /jumpto --> |
— | — | @@ -507,7 +507,7 @@ |
508 | 508 | </div> |
509 | 509 | <!-- /content --> |
510 | 510 | <!-- header --> |
511 | | - <div id="head" class="noprint"> |
| 511 | + <div id="mw-head" class="noprint"> |
512 | 512 | <?php $this->renderNavigation( 'PERSONAL' ); ?> |
513 | 513 | <div id="left-navigation"> |
514 | 514 | <?php $this->renderNavigation( array( 'NAMESPACES', 'VARIANTS' ) ); ?> |
— | — | @@ -518,7 +518,7 @@ |
519 | 519 | </div> |
520 | 520 | <!-- /header --> |
521 | 521 | <!-- panel --> |
522 | | - <div id="panel" class="noprint"> |
| 522 | + <div id="mw-panel" class="noprint"> |
523 | 523 | <!-- logo --> |
524 | 524 | <div id="p-logo"><a style="background-image: url(<?php $this->text( 'logopath' ) ?>);" href="<?php echo htmlspecialchars( $this->data['nav_urls']['mainpage']['href'] ) ?>" <?php echo $this->skin->tooltipAndAccesskey( 'p-logo' ) ?>></a></div> |
525 | 525 | <!-- /logo --> |
Index: branches/REL1_16/phase3/skins/vector/experiments/new-tabs.css |
— | — | @@ -191,7 +191,7 @@ |
192 | 192 | direction: rtl; |
193 | 193 | } |
194 | 194 | /* @noflip */ |
195 | | - body #head div.vectorMenu h5 { |
| 195 | + body #mw-head div.vectorMenu h5 { |
196 | 196 | background-image: url(../images/arrow-down-icon.png); |
197 | 197 | background-position: center center; |
198 | 198 | background-repeat: no-repeat; |
— | — | @@ -319,4 +319,4 @@ |
320 | 320 | } |
321 | 321 | .wikiEditor-ui-tabs div.current a { |
322 | 322 | background: #FFFFFF; |
323 | | -} |
\ No newline at end of file |
| 323 | +} |
Index: branches/REL1_16/phase3/skins/vector/experiments/babaco-colors-a.css |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | } |
15 | 15 | |
16 | 16 | /* Framework */ |
17 | | -#page-base { |
| 17 | +#mw-page-base { |
18 | 18 | background-color: inherit !important; |
19 | 19 | background-image: none !important; |
20 | 20 | } |
— | — | @@ -65,10 +65,10 @@ |
66 | 66 | font-family:sans-serif; |
67 | 67 | font-weight:normal; |
68 | 68 | } |
69 | | -body #panel div.portal div.body { |
| 69 | +body #mw-panel div.portal div.body { |
70 | 70 | background-image:url(images/new-portal-break-ltr.png); |
71 | 71 | } |
72 | | -body.rtl #panel div.portal div.body { |
| 72 | +body.rtl #mw-panel div.portal div.body { |
73 | 73 | background-image:url(images/new-portal-break-rtl.png); |
74 | 74 | } |
75 | 75 | body div.vectorTabs li a, div.vectorTabs li a span{ |
— | — | @@ -101,7 +101,7 @@ |
102 | 102 | border: 1px solid #cccccc; |
103 | 103 | background-color: #f7f7f7; |
104 | 104 | } |
105 | | -#panel div.portal h5 { |
| 105 | +#mw-panel div.portal h5 { |
106 | 106 | font-weight:bold; |
107 | 107 | margin-bottom:0; |
108 | 108 | padding-bottom:0.05em; |
Index: branches/REL1_16/phase3/skins/vector/experiments/babaco-colors-b.css |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | } |
10 | 10 | |
11 | 11 | /* Framework */ |
12 | | -#page-base { |
| 12 | +#mw-page-base { |
13 | 13 | background-color: inherit !important; |
14 | 14 | background-image: none !important; |
15 | 15 | } |
Index: branches/REL1_16/phase3/skins/vector/experiments/babaco-colors-c.css |
— | — | @@ -1,7 +1,7 @@ |
2 | 2 | /* Babaco Color Scheme C */ |
3 | 3 | |
4 | 4 | /* ridding ourselves of the gradient */ |
5 | | -#page-base { |
| 5 | +#mw-page-base { |
6 | 6 | background-color: inherit !important; |
7 | 7 | background-image: none !important; |
8 | 8 | } |
— | — | @@ -53,7 +53,7 @@ |
54 | 54 | #toc h2, .toc h2 { |
55 | 55 | font-weight:normal; |
56 | 56 | } |
57 | | -body #panel div.portal div.body { |
| 57 | +body #mw-panel div.portal div.body { |
58 | 58 | background-image:url(images/new-portal-break-ltr.png); |
59 | 59 | } |
60 | 60 | |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | border: 1px solid #cccccc; |
79 | 79 | background-color: #f7f7f7; |
80 | 80 | } |
81 | | -#panel div.portal h5 { |
| 81 | +#mw-panel div.portal h5 { |
82 | 82 | font-weight:bold; |
83 | 83 | margin-bottom:0; |
84 | 84 | padding-bottom:0.05em; |
Index: branches/REL1_16/phase3/skins/vector/main-ltr.css |
— | — | @@ -385,17 +385,17 @@ |
386 | 386 | background-color: silver; |
387 | 387 | } |
388 | 388 | /* Panel */ |
389 | | -#panel { |
| 389 | +#mw-panel { |
390 | 390 | position: absolute; |
391 | 391 | top: 160px; |
392 | 392 | padding-top: 1em; |
393 | 393 | width: 10em; |
394 | 394 | left: 0; |
395 | 395 | } |
396 | | - #panel div.portal { |
| 396 | + #mw-panel div.portal { |
397 | 397 | padding-bottom: 1.5em; |
398 | 398 | } |
399 | | - #panel div.portal h5 { |
| 399 | + #mw-panel div.portal h5 { |
400 | 400 | font-weight: normal; |
401 | 401 | color: #444444; |
402 | 402 | padding: 0.25em; |
— | — | @@ -405,7 +405,7 @@ |
406 | 406 | border: none; |
407 | 407 | font-size: 0.75em; |
408 | 408 | } |
409 | | - #panel div.portal div.body { |
| 409 | + #mw-panel div.portal div.body { |
410 | 410 | margin: 0; |
411 | 411 | padding-top: 0.5em; |
412 | 412 | margin-left: 1.25em; |
— | — | @@ -413,14 +413,14 @@ |
414 | 414 | background-repeat: no-repeat; |
415 | 415 | background-position: top left; |
416 | 416 | } |
417 | | - #panel div.portal div.body ul { |
| 417 | + #mw-panel div.portal div.body ul { |
418 | 418 | list-style: none; |
419 | 419 | list-style-image: none; |
420 | 420 | list-style-type: none; |
421 | 421 | padding: 0; |
422 | 422 | margin: 0; |
423 | 423 | } |
424 | | - #panel div.portal div.body ul li { |
| 424 | + #mw-panel div.portal div.body ul li { |
425 | 425 | line-height: 1.125em; |
426 | 426 | padding: 0; |
427 | 427 | padding-bottom: 0.5em; |
— | — | @@ -428,10 +428,10 @@ |
429 | 429 | overflow: hidden; |
430 | 430 | font-size: 0.75em; |
431 | 431 | } |
432 | | - #panel div.portal div.body ul li a { |
| 432 | + #mw-panel div.portal div.body ul li a { |
433 | 433 | color: #0645ad; |
434 | 434 | } |
435 | | - #panel div.portal div.body ul li a:visited { |
| 435 | + #mw-panel div.portal div.body ul li a:visited { |
436 | 436 | color: #0b0080; |
437 | 437 | } |
438 | 438 | /* Footer */ |
— | — | @@ -1125,4 +1125,4 @@ |
1126 | 1126 | background-image:url(images/tab-break.png); |
1127 | 1127 | background-position:right bottom; |
1128 | 1128 | background-repeat:no-repeat; |
1129 | | -} |
\ No newline at end of file |
| 1129 | +} |
Index: branches/REL1_16/phase3/skins/vector/main-rtl.css |
— | — | @@ -385,17 +385,17 @@ |
386 | 386 | background-color: silver; |
387 | 387 | } |
388 | 388 | /* Panel */ |
389 | | -#panel { |
| 389 | +#mw-panel { |
390 | 390 | position: absolute; |
391 | 391 | top: 160px; |
392 | 392 | padding-top: 1em; |
393 | 393 | width: 10em; |
394 | 394 | right: 0; |
395 | 395 | } |
396 | | - #panel div.portal { |
| 396 | + #mw-panel div.portal { |
397 | 397 | padding-bottom: 1.5em; |
398 | 398 | } |
399 | | - #panel div.portal h5 { |
| 399 | + #mw-panel div.portal h5 { |
400 | 400 | font-weight: normal; |
401 | 401 | color: #444444; |
402 | 402 | padding: 0.25em; |
— | — | @@ -405,7 +405,7 @@ |
406 | 406 | border: none; |
407 | 407 | font-size: 0.75em; |
408 | 408 | } |
409 | | - #panel div.portal div.body { |
| 409 | + #mw-panel div.portal div.body { |
410 | 410 | margin: 0; |
411 | 411 | padding-top: 0.5em; |
412 | 412 | margin-right: 1.25em; |
— | — | @@ -413,14 +413,14 @@ |
414 | 414 | background-repeat: no-repeat; |
415 | 415 | background-position: top right; |
416 | 416 | } |
417 | | - #panel div.portal div.body ul { |
| 417 | + #mw-panel div.portal div.body ul { |
418 | 418 | list-style: none; |
419 | 419 | list-style-image: none; |
420 | 420 | list-style-type: none; |
421 | 421 | padding: 0; |
422 | 422 | margin: 0; |
423 | 423 | } |
424 | | - #panel div.portal div.body ul li { |
| 424 | + #mw-panel div.portal div.body ul li { |
425 | 425 | line-height: 1.125em; |
426 | 426 | padding: 0; |
427 | 427 | padding-bottom: 0.5em; |
— | — | @@ -428,10 +428,10 @@ |
429 | 429 | overflow: hidden; |
430 | 430 | font-size: 0.75em; |
431 | 431 | } |
432 | | - #panel div.portal div.body ul li a { |
| 432 | + #mw-panel div.portal div.body ul li a { |
433 | 433 | color: #0645ad; |
434 | 434 | } |
435 | | - #panel div.portal div.body ul li a:visited { |
| 435 | + #mw-panel div.portal div.body ul li a:visited { |
436 | 436 | color: #0b0080; |
437 | 437 | } |
438 | 438 | /* Footer */ |
— | — | @@ -1125,4 +1125,4 @@ |
1126 | 1126 | background-image:url(images/tab-break.png); |
1127 | 1127 | background-position:left bottom; |
1128 | 1128 | background-repeat:no-repeat; |
1129 | | -} |
\ No newline at end of file |
| 1129 | +} |
Index: branches/REL1_16/phase3/includes/DefaultSettings.php |
— | — | @@ -1686,7 +1686,7 @@ |
1687 | 1687 | * to ensure that client-side caches do not keep obsolete copies of global |
1688 | 1688 | * styles. |
1689 | 1689 | */ |
1690 | | -$wgStyleVersion = '269'; |
| 1690 | +$wgStyleVersion = '270'; |
1691 | 1691 | |
1692 | 1692 | |
1693 | 1693 | # Server-side caching: |