Daniel Friesen has uploaded a new change for review.
https://gerrit.wikimedia.org/r/67604
Change subject: Followup If21705c2, Shorten remaining urls to the whatwg HTML
spec.
......................................................................
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
---
M includes/Html.php
M includes/OutputPage.php
M includes/Sanitizer.php
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/04/67604/1
diff --git a/includes/Html.php b/includes/Html.php
index a8432f8..1d45e6a 100644
--- a/includes/Html.php
+++ b/includes/Html.php
@@ -842,7 +842,7 @@
* @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 0849afd..978fddc 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -2528,8 +2528,8 @@
// 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 8a0522b..7400a5a 100644
--- a/includes/Sanitizer.php
+++ b/includes/Sanitizer.php
@@ -1606,7 +1606,7 @@
'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
--
To view, visit https://gerrit.wikimedia.org/r/67604
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4dbee0477eea440b0e8f113b1d393c6e0c739c4c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Daniel Friesen <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits