From: Daniel Friesen Date: Sat, 8 Jun 2013 11:48:01 +0000 (-0700) Subject: Followup If21705c2, Shorten remaining urls to the whatwg HTML spec. X-Git-Tag: 1.31.0-rc.0~19467 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=a4ce59a4a0923c32f9fd2724ec40d186fc474f80 Followup If21705c2, Shorten remaining urls to the whatwg HTML spec. Finish up with the /specs/web-apps/current-work/multipage/ urls that haven't been updated to /html/. Change-Id: I4dbee0477eea440b0e8f113b1d393c6e0c739c4c --- diff --git a/includes/Html.php b/includes/Html.php index a8432f87e0..1d45e6a504 100644 --- a/includes/Html.php +++ b/includes/Html.php @@ -842,7 +842,7 @@ class Html { * @return Boolean */ public static function isXmlMimeType( $mimetype ) { - # http://www.whatwg.org/specs/web-apps/current-work/multipage/infrastructure.html#xml-mime-type + # http://www.whatwg.org/html/infrastructure.html#xml-mime-type # * text/xml # * application/xml # * Any mimetype with a subtype ending in +xml (this implicitly includes application/xhtml+xml) diff --git a/includes/OutputPage.php b/includes/OutputPage.php index 0849afd0d9..978fddc8dc 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -2528,8 +2528,8 @@ $templates // The spec recommends defining XHTML5's charset using the XML declaration // instead of meta. // Our XML declaration is output by Html::htmlHeader. - // http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#attr-meta-http-equiv-content-type - // http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#charset + // http://www.whatwg.org/html/semantics.html#attr-meta-http-equiv-content-type + // http://www.whatwg.org/html/semantics.html#charset $ret .= Html::element( 'meta', array( 'charset' => 'UTF-8' ) ); } diff --git a/includes/Sanitizer.php b/includes/Sanitizer.php index 8a0522bde4..7400a5aee8 100644 --- a/includes/Sanitizer.php +++ b/includes/Sanitizer.php @@ -1606,7 +1606,7 @@ class Sanitizer { 'hr' => array_merge( $common, array( 'noshade', 'size', 'width' ) ), # HTML Ruby annotation text module, simple ruby only. - # http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-ruby-element + # http://www.whatwg.org/html/text-level-semantics.html#the-ruby-element 'ruby' => $common, # rbc # rtc