From: Fomafix Date: Wed, 7 Jun 2017 12:11:08 +0000 (+0200) Subject: Use instead of X-Git-Tag: 1.31.0-rc.0~2755 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=b0ae261d2cbcdd0da61a9e4bee86d3a3e53596c7;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ] ); }