r110607 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110606‎ | r110607 | r110608 >
Date:20:08, 2 February 2012
Author:kaldari
Status:ok
Tags:
Comment:
removing deprecated functionality
Modified paths:
  • /trunk/extensions/CentralNotice/CentralNotice.i18n.php (modified) (history)
  • /trunk/extensions/CentralNotice/special/SpecialBannerController.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CentralNotice/special/SpecialBannerController.php
@@ -78,8 +78,7 @@
7979 $js .= <<<JAVASCRIPT
8080 if ( document.cookie.indexOf( 'centralnotice_' + bannerType + '=hide' ) === -1 ) {
8181 jQuery( '#siteNotice' ).prepend( '<div id="centralNotice" class="' +
82 - ( wgNoticeToggleState ? 'expanded' : 'collapsed' ) +
83 - ' cn-' + bannerType + '">'+bannerScript+'</div>' );
 82+ 'cn-' + bannerType + '">'+bannerScript+'</div>' );
8483 }
8584 },
8685 loadBannerList: function( geoOverride ) {
Index: trunk/extensions/CentralNotice/CentralNotice.i18n.php
@@ -124,8 +124,6 @@
125125 'centralnotice-close-title' => 'Close',
126126 'centralnotice-translate-button' => 'Help translate link',
127127 'centralnotice-donate-button' => 'Donate button',
128 - 'centralnotice-expanded-banner' => 'Expanded banner',
129 - 'centralnotice-collapsed-banner' => 'Collapsed banner',
130128 'centralnotice-banner-display' => 'Display to:',
131129 'centralnotice-banner-anonymous' => 'Anonymous users',
132130 'centralnotice-banner-logged-in' => 'Logged in users',

Status & tagging log