Index: trunk/extensions/CentralNotice/special/SpecialBannerController.php |
— | — | @@ -78,8 +78,7 @@ |
79 | 79 | $js .= <<<JAVASCRIPT |
80 | 80 | if ( document.cookie.indexOf( 'centralnotice_' + bannerType + '=hide' ) === -1 ) { |
81 | 81 | jQuery( '#siteNotice' ).prepend( '<div id="centralNotice" class="' + |
82 | | - ( wgNoticeToggleState ? 'expanded' : 'collapsed' ) + |
83 | | - ' cn-' + bannerType + '">'+bannerScript+'</div>' ); |
| 82 | + 'cn-' + bannerType + '">'+bannerScript+'</div>' ); |
84 | 83 | } |
85 | 84 | }, |
86 | 85 | loadBannerList: function( geoOverride ) { |
Index: trunk/extensions/CentralNotice/CentralNotice.i18n.php |
— | — | @@ -124,8 +124,6 @@ |
125 | 125 | 'centralnotice-close-title' => 'Close', |
126 | 126 | 'centralnotice-translate-button' => 'Help translate link', |
127 | 127 | 'centralnotice-donate-button' => 'Donate button', |
128 | | - 'centralnotice-expanded-banner' => 'Expanded banner', |
129 | | - 'centralnotice-collapsed-banner' => 'Collapsed banner', |
130 | 128 | 'centralnotice-banner-display' => 'Display to:', |
131 | 129 | 'centralnotice-banner-anonymous' => 'Anonymous users', |
132 | 130 | 'centralnotice-banner-logged-in' => 'Logged in users', |