Arlolra has uploaded a new change for review.

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

Change subject: Replace dev.w3.org with more permanent or stable urls
......................................................................

Replace dev.w3.org with more permanent or stable urls

 * Matches I7dcd49b6cd39785fb1b294e4eeaf39bda52337b2 in core.

Change-Id: Ia12a682da67aa35709013cd9b4f0b58fe8741591
---
M lib/dom.markFosteredContent.js
M lib/mediawiki.DOMUtils.js
M lib/pegTokenizer.pegjs.txt
3 files changed, 8 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid 
refs/changes/68/192468/1

diff --git a/lib/dom.markFosteredContent.js b/lib/dom.markFosteredContent.js
index 98ece7c..096e106 100644
--- a/lib/dom.markFosteredContent.js
+++ b/lib/dom.markFosteredContent.js
@@ -9,7 +9,7 @@
  * sibling ("foster parent"). The content that gets adopted is "fostered
  * content".
  *
- * http://dev.w3.org/html5/spec-LC/tree-construction.html#foster-parenting
+ * http://www.w3.org/TR/html5/syntax.html#foster-parent
  * ------------------------------------------------------------------------ */
 
 // cleans up transclusion shadows, keeping track of fostered transclusions
diff --git a/lib/mediawiki.DOMUtils.js b/lib/mediawiki.DOMUtils.js
index a6a7907..0fd92fd 100644
--- a/lib/mediawiki.DOMUtils.js
+++ b/lib/mediawiki.DOMUtils.js
@@ -2035,9 +2035,9 @@
  *
  * Serialize a HTML DOM3 document to XHTML
  * The output is identical to standard XHTML5 DOM serialization, as given by
- * 
http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html
+ * http://www.w3.org/TR/html-polyglot/
  * and
- * 
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments
+ * 
https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments
  * except that we may quote attributes with single quotes, *only* where that 
would
  * result in more compact output than the standard double-quoted serialization.
  *
@@ -2071,9 +2071,9 @@
  *
  * Serialize the children of a HTML DOM3 node to XHTML
  * The output is identical to standard XHTML5 DOM serialization, as given by
- * 
http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html
+ * http://www.w3.org/TR/html-polyglot/
  * and
- * 
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#serializing-html-fragments
+ * 
https://html.spec.whatwg.org/multipage/syntax.html#serialising-html-fragments
  * except that we may quote attributes with single quotes, *only* where that 
would
  * result in more compact output than the standard double-quoted serialization.
  *
diff --git a/lib/pegTokenizer.pegjs.txt b/lib/pegTokenizer.pegjs.txt
index 520c55d..5eb50ae 100644
--- a/lib/pegTokenizer.pegjs.txt
+++ b/lib/pegTokenizer.pegjs.txt
@@ -1277,7 +1277,7 @@
  * parsed as regular inline, but the source positions of the tag are added
  * to allow reconstructing the unparsed text from the input. */
 
-// See http://dev.w3.org/html5/spec-preview/tokenization.html#tag-name-state 
and
+// See http://www.w3.org/TR/html5/syntax.html#tag-open-state and
 // following paragraphs.
 tag_name_chars = [^\t\n\v />\0]
 tag_name = f:[A-Za-z] s:tag_name_chars* {
@@ -1388,7 +1388,7 @@
 }
 
 // ( Replaced by generic_attribute_name for template / parameter support. )
-//// http://dev.w3.org/html5/spec/Overview.html#attributes-0, and we also
+//// http://www.w3.org/TR/html5/syntax.html#attributes-0, and we also
 //// disallow newlines, | and {.
 //generic_attribute_plain_name
 //  = n:[^ \t\0/"'>=\n|{]+ {
@@ -1474,7 +1474,7 @@
 /*
  * A variant of generic_tag, but also checks if the tag name is a block-level
  * tag as defined in
- * http://dev.w3.org/html5/spec-preview/tokenization.html#tag-name-state and
+ * http://www.w3.org/TR/html5/syntax.html#tag-open-state and
  * following paragraphs.
  */
 block_tag

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia12a682da67aa35709013cd9b4f0b58fe8741591
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/parsoid
Gerrit-Branch: master
Gerrit-Owner: Arlolra <[email protected]>

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

Reply via email to