mediawiki-extensions-Discus.../tests/cases/selflink-signature/selflink-signature.html
Bartosz Dziewoński b68832ace0 Fix parsing of non-English titles in tests
We were calling Title::newFromText() before setupEnv(), which meant
that the title for each test case was parsed using the default rules
for English, rather than the rules for the specified wiki.

This only makes a practical difference for tests with self-links.
Changed the only such test to demonstrate the fix.

Change-Id: I45561f1c9f0d149e2b743f0000b742bf6fc014af
2022-03-18 18:24:07 +00:00

5 lines
330 B
HTML

<div class="mw-parser-output">
<h2><span id="Topic"></span><span class="mw-headline" id="Topic">Topic</span></h2>
<p>Comment signed on own talk page, with custom signature that links only to this talk page. Link label is also custom. <a class="mw-selflink selflink">Custom talk link label</a> 21:06, 21 sie 2019 (CEST)</p>
</div>