Page MenuHomeWickedGov Phorge

parserTests.txt
No OneTemporary

Size
937 B
Referenced Files
None
Subscribers
None

parserTests.txt

!! options
version=2
parsoid-compatible
requirements=extension:Disambiguator
!! end
!! article
Disambig
!! text
This is a disambig page.
__DISAMBIG__
!! endarticle
!! article
Normal
!! text
This is a normal page.
!! endarticle
!! test
Link to disambig and non-disambig page
!! wikitext
I am linking to [[Disambig]] and [[Normal]].
!! html
<p>I am linking to <a href="/wiki/Disambig" class="mw-disambig" title="Disambig">Disambig</a> and <a href="/wiki/Normal" title="Normal">Normal</a>.
</p>
!! html/parsoid
<p>I am linking to <a rel="mw:WikiLink" href="./Disambig" title="Disambig" class="mw-disambig">Disambig</a> and <a rel="mw:WikiLink" href="./Normal" title="Normal">Normal</a>.</p>
!! end
!! test
Ensure disambiguation links are marked properly in Parsoid
!! options
parsoid=wt2html
!! wikitext
[[Disambig]]
!! html/parsoid
<p><a rel="mw:WikiLink" href="./Disambig" title="Disambig" class="mw-disambig">Disambig</a></p>
!! end

File Metadata

Mime Type
text/html
Expires
Mon, Nov 23, 03:18 (2 d, 23 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
80/04/ba82a0320921a5f2b7f35992a21b
Default Alt Text
parserTests.txt (937 B)

Event Timeline