Cscott has uploaded a new change for review. https://gerrit.wikimedia.org/r/245577
Change subject: Mark "comment parsing mode" parser tests as php-only. ...................................................................... Mark "comment parsing mode" parser tests as php-only. "Comment parsing mode" is for displaying the comment associated with saving a particular revision of an article. It has some special hacks to parse the `/* ... */` phrase used to indicate the section that was being edited. We don't support that in Parsoid, so make these tests PHP-only. Change-Id: Iea7c711d40c589232b443cf3fd19809083f52712 --- M tests/parserTests.txt 1 file changed, 16 insertions(+), 15 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/parsoid refs/changes/77/245577/1 diff --git a/tests/parserTests.txt b/tests/parserTests.txt index 5789cc7..2d0c1bc 100644 --- a/tests/parserTests.txt +++ b/tests/parserTests.txt @@ -20136,7 +20136,7 @@ comment !! wikitext I like the [[Main Page]] a lot -!! html +!! html/php I like the <a href="/wiki/Main_Page" title="Main Page">Main Page</a> a lot !!end @@ -20146,7 +20146,7 @@ comment !! wikitext I like the [[Main Page|best pages]] a lot -!! html +!! html/php I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot !!end @@ -20156,7 +20156,7 @@ comment !! wikitext I like the [[Main Page|best page]]s a lot -!! html +!! html/php I like the <a href="/wiki/Main_Page" title="Main Page">best pages</a> a lot !!end @@ -20166,7 +20166,7 @@ comment title=[[Main Page]] !! wikitext /* External links */ removed bogus entries -!! html +!! html/php <a href="/wiki/Main_Page#External_links" title="Main Page">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> !!end @@ -20176,7 +20176,7 @@ comment title=[[Main Page]] !! wikitext pre-comment text /* External links */ removed bogus entries -!! html +!! html/php pre-comment text <a href="/wiki/Main_Page#External_links" title="Main Page">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> !!end @@ -20186,7 +20186,7 @@ comment local title=[[Main Page]] !! wikitext /* External links */ removed bogus entries -!! html +!! html/php <a href="#External_links">→</a><span dir="auto"><span class="autocomment">External links: </span> removed bogus entries</span> !!end @@ -20198,7 +20198,7 @@ title=[[Subpage test]] !! wikitext Poked at a [[/subpage]] here... -!! html +!! html/php Poked at a <a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">/subpage</a> here... !!end @@ -20210,7 +20210,7 @@ title=[[Subpage test]] !! wikitext Poked at a [[/subpage|neat little page]] here... -!! html +!! html/php Poked at a <a href="/wiki/Subpage_test/subpage" title="Subpage test/subpage">neat little page</a> here... !!end @@ -20221,7 +20221,7 @@ title=[[Subpage test]] !! wikitext Poked at a [[/subpage]] here... -!! html +!! html/php Poked at a <a href="/index.php?title=/subpage&action=edit&redlink=1" class="new" title="/subpage (page does not exist)">/subpage</a> here... !!end @@ -20233,7 +20233,7 @@ title=[[Main Page]] !! wikitext [[#section]] -!! html +!! html/php <a href="#section">#section</a> !! end @@ -20244,7 +20244,7 @@ title=[[Main Page]] !! wikitext [[#section]] -!! html +!! html/php <a href="/wiki/Main_Page#section" title="Main Page">#section</a> !! end @@ -20252,18 +20252,19 @@ Anchor starting with underscore !! wikitext [[#_ref|One]] -!! html +!! html/php <p><a href="#_ref">One</a> </p> +!! html/parsoid +<p><a rel="mw:WikiLink" href="./Main%20Page#_ref">One</a></p> !! end !! test Id starting with underscore !! wikitext <div id="_ref"></div> -!! html +!! html/* <div id="_ref"></div> - !! end !! test @@ -20273,7 +20274,7 @@ title=[[Main Page]] !! wikitext /* __hello__world__ */ -!! html +!! html/php <a href="/wiki/Main_Page#hello_world" title="Main Page">→</a><span dir="auto"><span class="autocomment">__hello__world__</span></span> !! end -- To view, visit https://gerrit.wikimedia.org/r/245577 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iea7c711d40c589232b443cf3fd19809083f52712 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/parsoid Gerrit-Branch: master Gerrit-Owner: Cscott <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
