mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/SecureLinkFixer
synced 2024-12-01 02:36:11 +00:00
582afdc696
Bug: T174199 Change-Id: If22589e88f1c188e1823e4e51b810a13bc3ea13e
19 lines
850 B
Plaintext
19 lines
850 B
Plaintext
!! Version 2
|
|
|
|
!! test
|
|
Different domains
|
|
!! wikitext
|
|
Normal: http://test.localhost/
|
|
Preloaded: http://en.wikipedia.org/wiki/Main_Page
|
|
Protorel: [//en.wikipedia.org/wiki/Main_Page Main Page]
|
|
TLD: http://foo.dev/foo/
|
|
Ignored protocol: ftp://en.wikipedia.org/
|
|
!! html
|
|
<p>Normal: <a rel="nofollow" class="external free" href="http://test.localhost/">http://test.localhost/</a>
|
|
Preloaded: <a rel="nofollow" class="external free" href="https://en.wikipedia.org/wiki/Main_Page">http://en.wikipedia.org/wiki/Main_Page</a>
|
|
Protorel: <a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/Main_Page">Main Page</a>
|
|
TLD: <a rel="nofollow" class="external free" href="https://foo.dev/foo/">http://foo.dev/foo/</a>
|
|
Ignored protocol: <a rel="nofollow" class="external free" href="ftp://en.wikipedia.org/">ftp://en.wikipedia.org/</a>
|
|
</p>
|
|
!! end
|