Siebrand has uploaded a new change for review.
https://gerrit.wikimedia.org/r/52008
Change subject: Use American English spelling for behavior
......................................................................
Use American English spelling for behavior
Change-Id: I565c97f7ee59e4ef691252c239844271d404c27e
---
M js/lib/mediawiki.DOMPostProcessor.js
M js/tests/selser.changes.json
M js/tests/selser.changes2.json
3 files changed, 5 insertions(+), 5 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Parsoid
refs/changes/08/52008/1
diff --git a/js/lib/mediawiki.DOMPostProcessor.js
b/js/lib/mediawiki.DOMPostProcessor.js
index 8426339..5cebb8c 100644
--- a/js/lib/mediawiki.DOMPostProcessor.js
+++ b/js/lib/mediawiki.DOMPostProcessor.js
@@ -532,7 +532,7 @@
function handlePres(document, env) {
/* --------------------------------------------------------------
- * Block tags change the behaviour of indent-pres. This behaviour
+ * Block tags change the behavior of indent-pres. This behavior
* cannot be emulated till the DOM is built if we are to avoid
* having to deal with unclosed/mis-nested tags in the token stream.
*
diff --git a/js/tests/selser.changes.json b/js/tests/selser.changes.json
index ee000c1..1b59655 100644
--- a/js/tests/selser.changes.json
+++ b/js/tests/selser.changes.json
@@ -551,7 +551,7 @@
"Link inside a section
heading":[[[0,[0]]],[[0,4,0],[0]],[3],[[0,3,0],[0]],[4],[[0,1,0],[0]],[[0,3,0],2,0],[1],[2],[[0,2,0],2,0],[[0,2,0],[0]],[[0,1,0],3,0],[[0,2,0],1,0],[[0,4,0],1,0],[[0,3,0],1,0],[[0,1,0],1,0],[[0,4,0],3,0],[[0,2,0],4,0],[[0,2,0],3,0],[[0,4,0],2,0]],
"TOC regression (bug
12077)":[[0],[3,0,[0]],[4,0,[0]],[1,0,[0]],[2,0,[0]],[4,0,2,0,[0]],[4,0,1,0,[0]],[2,0,3,0,[0]],[2,0,2,0,4,0,[0]],[3,0,2,0,[0]],[1,0,4,0,[0]],[1,0,1,0,[0]],[4,0,3,0,2,0,[0]],[2,0,3,0,3,0,[0]],[3,0,4,0,[0]],[2,0,1,0,2,0,1],[3,0,3,0,1,0,3],[2,0,3,0,2,0,[0]],[3,0,3,0,3,0,[0]],[3,0,2,0,2,0,3]],
"BUG 1219 URL next to image
(good)":[[2],[1],[[4,0,3],0,4],[[3,0,3],0,[0]],[4],[[1,0,[0]]],[[[0]]],[[3,0,[0]]],[[2,0,1],0,[2]],[[2,0,[1]]],[3],[[4,0,[0]]],[[3,0,1],0,[0]],[[3,0,2],0,[0]],[[2,0,1],0,1],[[2,0,4],0,[3]],[[2,0,[0]]],[[2,0,1],0,[3]],[[1,0,[1]]],[[1,0,1],0,2]],
-"Short headings with trailing space should match behaviour of
Parser::doHeadings (bug 19910)":[[[0,0,0,0,0],0,0,0,0],[4],[1],[3],[2]],
+"Short headings with trailing space should match behavior of
Parser::doHeadings (bug 19910)":[[[0,0,0,0,0],0,0,0,0],[4],[1],[3],[2]],
"Header with special characters (bug
25462)":[[1,0,1,0,[0]],[1,0,1,0,1,0,[0]],[[0]],[4,0,[0]],[2,0,[0]],[4,0,4,0,3,0,2,0,[0]],[1,0,[0]],[1,0,3,0,[0]],[1,0,1,0,4,0,2,0,2,0,[0]],[2,0,1,0,[0]],[2,0,3,0,3,0,4,0,[0]],[2,0,4,0,[0]],[1,0,4,0,2,0,2,0,1,0,2,0,[0]],[3,0,[0]],[1,0,2,0,3,0,1,0,1,0,[0]],[3,0,2,0,3,0,3,0,1,0,[0]],[3,0,2,0,2,0,[0]],[3,0,2,0,1,0,1,0,[0]],[1,0,2,0,4,0,[0]],[4,0,1,0,[0]]],
"Headers with excess '=' characters\n(Are similar tests necessary beyond the
1st
level?)":[[[0]],[2,0,2,0,3,0,[0,[0]]],[1,0,[0]],[1,0,3,0,[4,0]],[2,0,[0]],[1,0,2,0,[[0]]],[4,0,[0]],[4,0,3,0,3,0,4],[4,0,1,0,3,0,[0,2,0]],[2,0,2,0,[[0]]],[4,0,4,0,[[0]]],[3,0,3,0,4,0,3],[3,0,2,0,4,0,[0,[0]]],[3,0,[0]],[1,0,3,0,[2,0]],[1,0,1,0,[3,0]],[4,0,4,0,4,0,3],[2,0,2,0,4,0,[0,[0]]],[4,0,2,0,[3,0]],[2,0,1,0,[[0]]]],
"BUG 1219 URL next to image
(broken)":[[[[0]]],[[3,1],[0]],[4],[2],[3],[[2,[0]]],[[2,1],3],[[2,[3]]],[[1,1],[0]],[1],[[3,[0]]],[[4,3],[1]],[[1,[2]]],[[4,[0]]],[[1,2],[0]],[[4,1],[3]],[[4,[3]]],[[2,[2]]],[[2,3],[0]],[[4,2],[4]]],
@@ -953,4 +953,4 @@
"Tag-like HTML structures are passed through as
text":[[3,0,4,0,[0]],[[0]],[4,0,3,0,3,0,[0]],[3,0,[0]],[4,0,[0]],[2,0,4,0,4,0,[0]],[2,0,[0]],[1,0,3,0,3,0,[0]],[3,0,1,0,2,0,1,0,4,0,3],[3,0,2,0,3,0,4,0,3,0,3],[4,0,1,0,[0]],[2,0,1,0,[0]],[3,0,2,0,[0]],[1,0,[0]],[2,0,1,0,1,0,2,0,[0]],[3,0,4,0,1,0,[0]],[2,0,3,0,[0]],[3,0,2,0,1,0,2,0,2,0,[0]],[2,0,3,0,1,0,2,0,2,0,3],[4,0,3,0,[0]]],
"Tag names followed by punctuation should not be recognized as
tags":[[[0]],[4],[2],[3],[1]],
"_numchanges": 20
-}
\ No newline at end of file
+}
diff --git a/js/tests/selser.changes2.json b/js/tests/selser.changes2.json
index c2e99ed..0c3abc4 100644
--- a/js/tests/selser.changes2.json
+++ b/js/tests/selser.changes2.json
@@ -4257,7 +4257,7 @@
"new": 1
}
],
- "Short headings with trailing space should match behaviour of
Parser::doHeadings (bug 19910)": [
+ "Short headings with trailing space should match behavior of
Parser::doHeadings (bug 19910)": [
{
"annotations": 1
}
@@ -8677,4 +8677,4 @@
"annotations": 1
}
]
-}
\ No newline at end of file
+}
--
To view, visit https://gerrit.wikimedia.org/r/52008
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I565c97f7ee59e4ef691252c239844271d404c27e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Parsoid
Gerrit-Branch: master
Gerrit-Owner: Siebrand <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits