dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b800b9
)
Revert wrapping sitenotice in google tags
author
Elliott Eggleston
<ejegg@ejegg.com>
Thu, 4 Dec 2014 20:26:40 +0000
(12:26 -0800)
committer
Awight
<awight@wikimedia.org>
Thu, 4 Dec 2014 20:29:54 +0000
(20:29 +0000)
Reverts change I95473e22de83e585044a4f917bbd1b00db7db71b
Change-Id: Ia522064df15b959e22e81abe2c607687ec2a29cb
includes/skins/Skin.php
patch
|
blob
|
history
diff --git
a/includes/skins/Skin.php
b/includes/skins/Skin.php
index
40318c0
..
5604bc2
100644
(file)
--- a/
includes/skins/Skin.php
+++ b/
includes/skins/Skin.php
@@
-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;
}