Smalyshev has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/228418

Change subject: T93213: drop x-default tag
......................................................................

T93213: drop x-default tag

As stated in https://support.google.com/webmasters/answer/189077?hl=en,
x-default should be used for selectors, landing pages, etc. which is not our 
case

Change-Id: Ib38f3cd8ce6e001ddc7264925c0787ccd79ac005
---
M includes/OutputPage.php
1 file changed, 0 insertions(+), 5 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/18/228418/1

diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index f9f2470..8ed4064 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -3450,11 +3450,6 @@
                                                'href' => 
$this->getTitle()->getLocalURL( array( 'variant' => $variant ) ) )
                                        );
                                }
-                               # x-default link per 
https://support.google.com/webmasters/answer/189077?hl=en
-                               $tags["variant-x-default"] = Html::element( 
'link', array(
-                                       'rel' => 'alternate',
-                                       'hreflang' => 'x-default',
-                                       'href' => 
$this->getTitle()->getLocalURL() ) );
                        }
                }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/228418
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib38f3cd8ce6e001ddc7264925c0787ccd79ac005
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Smalyshev <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to