MarkTraceur has uploaded a new change for review.
https://gerrit.wikimedia.org/r/54805
Change subject: Add test case for parsoid's extension handling
......................................................................
Add test case for parsoid's extension handling
Parsoid needs a specific test case for extension handling, and this
is it.
Change-Id: I4c234c8ebd1136fd6f03717863f43baa3a6e7701
---
M tests/parser/parserTests.txt
1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/05/54805/1
diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt
index aeadee7..1e233a7 100644
--- a/tests/parser/parserTests.txt
+++ b/tests/parser/parserTests.txt
@@ -9367,6 +9367,17 @@
!!end
+!! test
+Parsoid-only extension testing
+!! options
+parsoid
+extensions="testextension"
+!! input
+<testextension data-blah="DataBlah">Some content</testextension>
+!! result
+<p data-options="{"data-blah":"DataBlah"}">Some content</p>
+!! end
+
!!test
Fuzz testing: image with bogus manual thumbnail
!!input
--
To view, visit https://gerrit.wikimedia.org/r/54805
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I4c234c8ebd1136fd6f03717863f43baa3a6e7701
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: MarkTraceur <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits