From b0ae261d2cbcdd0da61a9e4bee86d3a3e53596c7 Mon Sep 17 00:00:00 2001 From: Fomafix Date: Wed, 7 Jun 2017 14:11:08 +0200 Subject: [PATCH] Use instead of "copyright" is not in the list of the allowed values for the attribut rel: https://w3c.github.io/html/single-page.html#allowed-keywords-and-their-meanings Bug: T167284 Change-Id: I09205bb146001d1d1d90e6a0f25d21851f3f697c --- includes/OutputPage.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 24a506c7aa..969171d654 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -295,7 +295,7 @@ class OutputPage extends ContextSource { private $mEnableSectionEditLinks = true; /** - * @var string|null The URL to send in a element with rel=copyright + * @var string|null The URL to send in a element with rel=license */ private $copyrightUrl; @@ -3446,7 +3446,7 @@ class OutputPage extends ContextSource { if ( $copyright ) { $tags['copyright'] = Html::element( 'link', [ - 'rel' => 'copyright', + 'rel' => 'license', 'href' => $copyright ] ); } -- 2.20.1