mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 00:05:00 +00:00
Fix parsoid parserTests
These errors weren't being flagged because of a bug in how `parsoid-compatible` was handled in the parser test file options. See Ifca13393c3bbec27c23cbdc311d4550fbccf21ca. Change-Id: Ib65dd0adb472da53823c07af5991a140374501e4
This commit is contained in:
parent
6ca710aa80
commit
f89e892a06
|
@ -275,7 +275,7 @@ extension[ScribuntoErrors-5e10d413]="<p>Script error: No such module \"foo\".</p
|
|||
<p><strong class="error"><span class="scribunto-error" id="mw-scribunto-error-5e10d413">Script error: No such module "foo".</span></strong>
|
||||
</p>
|
||||
!! html/parsoid
|
||||
<p><strong class="error" about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"#invoke:foo","function":"invoke"},"params":{"1":{"wt":"bar"}},"i":0}}]}'><span class="scribunto-error" id="mw-scribunto-error-0">Script error: No such module <span typeof="mw:Entity">"</span>foo<span typeof="mw:Entity">"</span>.</span></strong></p>
|
||||
<p><strong class="error" about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"#invoke:foo","function":"invoke"},"params":{"1":{"wt":"bar"}},"i":0}}]}'><span class="scribunto-error" id="mw-scribunto-error-5e10d413">Script error: No such module <span typeof="mw:Entity">"</span>foo<span typeof="mw:Entity">"</span>.</span></strong></p>
|
||||
!! end
|
||||
|
||||
!! test
|
||||
|
@ -293,7 +293,7 @@ extension[ScribuntoErrors-d64a22ba]="<p>Script error: The function \"blah\" does
|
|||
<p><strong class="error"><span class="scribunto-error" id="mw-scribunto-error-d64a22ba">Script error: The function "blah" does not exist.</span></strong>
|
||||
</p>
|
||||
!! html/parsoid
|
||||
<p><strong class="error" about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"#invoke:test","function":"invoke"},"params":{"1":{"wt":"blah"}},"i":0}}]}'><span class="scribunto-error" id="mw-scribunto-error-0">Script error: The function <span typeof="mw:Entity">"</span>blah<span typeof="mw:Entity">"</span> does not exist.</span></strong></p>
|
||||
<p><strong class="error" about="#mwt1" typeof="mw:Transclusion" data-mw='{"parts":[{"template":{"target":{"wt":"#invoke:test","function":"invoke"},"params":{"1":{"wt":"blah"}},"i":0}}]}'><span class="scribunto-error" id="mw-scribunto-error-d64a22ba">Script error: The function <span typeof="mw:Entity">"</span>blah<span typeof="mw:Entity">"</span> does not exist.</span></strong></p>
|
||||
!! end
|
||||
|
||||
!! test
|
||||
|
|
Loading…
Reference in a new issue