Cscott has uploaded a new change for review.

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


Change subject: Add parser tests for bug 52468 and bug 52363.
......................................................................

Add parser tests for bug 52468 and bug 52363.

Change-Id: I3a4361f8f40d941ec05b690311b33351f6425296
---
M tests/parser/parserTests.txt
1 file changed, 31 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/52/77352/1

diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index 76388d9..f4a85bc 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -865,6 +865,37 @@
 </p>
 !! end
 
+!! test
+<wbr> isn't (yet) valid wikitext (bug 52468)
+!! input
+<wbr>
+!! result
+<p>&lt;wbr&gt;
+</p>
+!! end
+
+###
+### Special characters
+###
+
+!! test
+Bare pipe character (bug 52363)
+!! input
+|
+!! result
+<p>|
+</p>
+!! end
+
+!! test
+Bare pipe character from a template (bug 52363)
+!! input
+{{pipe}}
+!! result
+<p>|
+</p>
+!! end
+
 ###
 ### <nowiki> test cases
 ###

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I3a4361f8f40d941ec05b690311b33351f6425296
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Cscott <[email protected]>

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

Reply via email to