Revert wrapping sitenotice in google tags
authorElliott Eggleston <ejegg@ejegg.com>
Thu, 4 Dec 2014 20:26:40 +0000 (12:26 -0800)
committerAwight <awight@wikimedia.org>
Thu, 4 Dec 2014 20:29:54 +0000 (20:29 +0000)
Reverts change I95473e22de83e585044a4f917bbd1b00db7db71b

Change-Id: Ia522064df15b959e22e81abe2c607687ec2a29cb

includes/skins/Skin.php

index 40318c0..5604bc2 100644 (file)
@@ -1559,11 +1559,6 @@ abstract class Skin extends ContextSource {
                }
 
                wfRunHooks( 'SiteNoticeAfter', array( &$siteNotice, $this ) );
-
-               // Prevent Google from indexing announcements, cos this dilutes
-               // content results.
-               $siteNotice = "<!--googleoff: all-->{$siteNotice}<!--googleon: all-->";
-
                wfProfileOut( __METHOD__ );
                return $siteNotice;
        }