mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/ImageMap
synced 2024-11-14 18:04:46 +00:00
cd635484c9
This change introduce parser tests support for the extension with a single dummy test case. That will make it easier to add more tests later on. Change-Id: I757f13a3799b771931de8933eb7eabeb3b4b8f8d
11 lines
479 B
Plaintext
11 lines
479 B
Plaintext
!! test
|
|
dummy test
|
|
!! input
|
|
<imagemap>
|
|
Image:Foobar.jpg
|
|
</imagemap>
|
|
!! result
|
|
<div class="noresize" style="height: 220px; width: 1941px; "><img alt="Foobar.jpg" src="http://example.com/images/3/3a/Foobar.jpg" width="1941" height="220"/><div style="margin-left: 1921px; margin-top: -20px; text-align: left;"><a href="/wiki/File:Foobar.jpg" title="About this image"><img alt="About this image" src="/extensions/ImageMap/desc-20.png" style="border: none;"/></a></div></div>
|
|
|
|
!! end
|