Set tooltips in galleries, despite caption being visible
Matches Parsoid commit Icbc36b6e9aa1b9f4f27c23f4833c626a725cc154 Bug: T297443 Bug: T108380 Change-Id: Ib6606dcbe8cf9476aaf694c4f86d5dc4768b9dd2
This commit is contained in:
parent
e2752a0dcf
commit
e7004a62d4
4 changed files with 51 additions and 46 deletions
|
|
@ -154,7 +154,10 @@ class TraditionalImageGallery extends ImageGalleryBase {
|
|||
'custom-url-link' => $link
|
||||
];
|
||||
} else {
|
||||
$params = [ 'alt' => $alt ];
|
||||
$params = [
|
||||
'alt' => $alt,
|
||||
'title' => $imageOptions['title'],
|
||||
];
|
||||
$imageParameters = Linker::getImageLinkMTOParams(
|
||||
$imageOptions, $descQuery, $this->mParser
|
||||
) + $params;
|
||||
|
|
|
|||
|
|
@ -5255,6 +5255,8 @@ class Parser {
|
|||
}
|
||||
}
|
||||
|
||||
$imageOptions['title'] = $this->stripAltText( $label, false );
|
||||
|
||||
$ig->add(
|
||||
$title, $label, $alt, '', $handlerOptions,
|
||||
ImageGalleryBase::LOADING_DEFAULT, $imageOptions
|
||||
|
|
|
|||
|
|
@ -750,7 +750,7 @@ File:Foobar.jpg|alt=''x''|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="x" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="caption"><img alt="x" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -786,7 +786,7 @@ File:Foobar.jpg|alt=<nowiki>''</nowiki>x<nowiki>''</nowiki>|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="caption"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -819,7 +819,7 @@ File:Foobar.jpg|alt=<nowiki>''x''</nowiki>|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="caption"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -927,14 +927,14 @@ File:Foobar.jpg|link=''Main Page''|caption2
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foos_bars" title="Foos bars"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foos_bars" title="caption1"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption1
|
||||
</p>
|
||||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Main_Page" title="Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Main_Page" title="caption2"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption2
|
||||
</p>
|
||||
|
|
@ -980,7 +980,7 @@ File:Foobar.jpg|link=Foo<nowiki>''</nowiki>s_bar<nowiki>''</nowiki>s|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foo%27%27s_bar%27%27s" title="Foo''s bar''s"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foo%27%27s_bar%27%27s" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -1013,7 +1013,7 @@ File:Foobar.jpg|link=Foo<nowiki>''s_bar''</nowiki>s|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foo%27%27s_bar%27%27s" title="Foo''s bar''s"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Foo%27%27s_bar%27%27s" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -2301,7 +2301,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 105px"><div style="width: 105px">
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
</p>
|
||||
|
|
@ -2313,7 +2313,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 105px"><div style="width: 105px">
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="blabla."><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>blabla.
|
||||
</p>
|
||||
|
|
@ -2361,7 +2361,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 105px"><div style="width: 105px">
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
</p>
|
||||
|
|
@ -2373,7 +2373,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 105px"><div style="width: 105px">
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 100px;"><div style="margin:31px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="blabla."><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>blabla.
|
||||
</p>
|
||||
|
|
@ -2456,7 +2456,7 @@ image:foobar.jpg|link=Main Page#section|caption
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Main_Page#section" title="Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/Main_Page#section" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -2481,7 +2481,7 @@ File:Foobar.jpg|{{1x|ho}}
|
|||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerycaption">hi</li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="ho"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>ho
|
||||
</p>
|
||||
|
|
@ -2513,7 +2513,7 @@ File:Foobar.jpg|Image caption
|
|||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerycaption"># This should not be a list item Text <b>bold</b> <a href="/index.php?title=Link&action=edit&redlink=1" class="new" title="Link (page does not exist)">link</a> Special <div class="thumb tright"><div class="thumbinner" style="width:182px;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" decoding="async" width="180" height="20" class="thumbimage" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a> <div class="thumbcaption"><div class="magnify"><a href="/wiki/File:Foobar.jpg" class="internal" title="Enlarge"></a></div>File in gallery caption</div></div></div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="Image caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>Image caption
|
||||
</p>
|
||||
|
|
@ -2544,7 +2544,7 @@ File:Foobar.jpg|alt=galleryalt|{{Test|unamedParam|alt=param}}
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="This is a test template"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>This is a test template
|
||||
</p>
|
||||
|
|
@ -2569,7 +2569,7 @@ File:Foobar.jpg|</ref>
|
|||
!! html/php
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="</ref>"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p></ref>
|
||||
</p>
|
||||
|
|
@ -2609,7 +2609,7 @@ caption
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p><a href="/wiki/File:Foobar.jpg" class="galleryfilename galleryfilename-truncate" title="File:Foobar.jpg">Foobar.jpg</a>
|
||||
some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
|
|
@ -2733,7 +2733,7 @@ File:foobar.jpg|caption|alt=galleryalt|link=http://www.example.org
|
|||
!! html/php
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="http://www.example.org" rel="nofollow"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="http://www.example.org" title="caption" rel="nofollow"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -2841,7 +2841,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-nolines">
|
||||
<li class="gallerycaption">No Lines!</li>
|
||||
<li class="gallerybox" style="width: 125px"><div style="width: 125px">
|
||||
<div class="thumb" style="width: 120px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 120px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -2905,7 +2905,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-packed-overlay">
|
||||
<li class="gallerycaption">Packed Overlay!</li>
|
||||
<li class="gallerybox" style="width: 1061.3333333333px"><div style="width: 1061.3333333333px">
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></div></div>
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></div></div>
|
||||
<div class="gallerytextwrapper" style="width: 1040px"><div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -2929,7 +2929,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-packed-hover">
|
||||
<li class="gallerycaption">Packed Hover!</li>
|
||||
<li class="gallerybox" style="width: 1061.3333333333px"><div style="width: 1061.3333333333px">
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></div></div>
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><div style="margin:0px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></div></div>
|
||||
<div class="gallerytextwrapper" style="width: 1040px"><div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -3151,7 +3151,7 @@ File:Foobar.jpg|alt=galleryalt|{{Test|unamedParam|alt=-{R|param}-}}
|
|||
</div>
|
||||
</div></li>
|
||||
<li class="gallerybox" style="width: 155px"><div style="width: 155px">
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="thumb" style="width: 150px;"><div style="margin:68px auto;"><a href="/wiki/File:Foobar.jpg" class="image" title="This is a test template"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></div></div>
|
||||
<div class="gallerytext">
|
||||
<p>This is a test template
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ File:Foobar.jpg|link=|stuff
|
|||
!! html/php
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><span><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></span></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><span title="stuff"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></span></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>stuff
|
||||
</p>
|
||||
|
|
@ -895,7 +895,7 @@ File:Foobar.jpg|alt=''x''|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="x" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="caption"><img alt="x" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -933,7 +933,7 @@ File:Foobar.jpg|alt=<nowiki>''</nowiki>x<nowiki>''</nowiki>|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="caption"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -968,7 +968,7 @@ File:Foobar.jpg|alt=<nowiki>''x''</nowiki>|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="caption"><img alt="''x''" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -1082,14 +1082,14 @@ File:Foobar.jpg|link=''Main Page''|caption2
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foos_bars" title="Foos bars"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foos_bars" title="caption1"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption1
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Main_Page" title="Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Main_Page" title="caption2"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption2
|
||||
</p>
|
||||
|
|
@ -1137,7 +1137,7 @@ File:Foobar.jpg|link=Foo<nowiki>''</nowiki>s_bar<nowiki>''</nowiki>s|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foo%27%27s_bar%27%27s" title="Foo''s bar''s"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foo%27%27s_bar%27%27s" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -1172,7 +1172,7 @@ File:Foobar.jpg|link=Foo<nowiki>''s_bar''</nowiki>s|caption
|
|||
</p>
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foo%27%27s_bar%27%27s" title="Foo''s bar''s"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Foo%27%27s_bar%27%27s" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -2599,7 +2599,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 105px">
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
</p>
|
||||
|
|
@ -2611,7 +2611,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 105px">
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="blabla."><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>blabla.
|
||||
</p>
|
||||
|
|
@ -2661,7 +2661,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 105px">
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
</p>
|
||||
|
|
@ -2673,7 +2673,7 @@ image:foobar.jpg|Blabla|alt=This is a foo-bar.|blabla.
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 105px">
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 100px; height: 70px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="blabla."><img alt="This is a foo-bar." src="http://example.com/images/thumb/3/3a/Foobar.jpg/70px-Foobar.jpg" decoding="async" width="70" height="8" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/105px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/140px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>blabla.
|
||||
</p>
|
||||
|
|
@ -2762,7 +2762,7 @@ image:foobar.jpg|link=Main Page#section|caption
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Main_Page#section" title="Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/Main_Page#section" title="caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -2789,7 +2789,7 @@ File:Foobar.jpg|{{1x|ho}}
|
|||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerycaption">hi</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="ho"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>ho
|
||||
</p>
|
||||
|
|
@ -2823,7 +2823,7 @@ File:Foobar.jpg|Image caption
|
|||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerycaption"># This should not be a list item Text <b>bold</b> <a href="/index.php?title=Link&action=edit&redlink=1" class="new" title="Link (page does not exist)">link</a> Special <figure class="mw-default-size" typeof="mw:Image/Thumb"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg" decoding="async" width="180" height="20" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/270px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/360px-Foobar.jpg 2x" /></a><figcaption>File in gallery caption</figcaption></figure></li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="Image caption"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>Image caption
|
||||
</p>
|
||||
|
|
@ -2856,7 +2856,7 @@ File:Foobar.jpg|alt=galleryalt|{{Test|unamedParam|alt=param}}
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="This is a test template"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>This is a test template
|
||||
</p>
|
||||
|
|
@ -2883,7 +2883,7 @@ File:Foobar.jpg|</ref>
|
|||
!! html/php
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="</ref>"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p></ref>
|
||||
</p>
|
||||
|
|
@ -2925,7 +2925,7 @@ caption
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="some caption Main Page"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p><a href="/wiki/File:Foobar.jpg" class="galleryfilename galleryfilename-truncate" title="File:Foobar.jpg">Foobar.jpg</a>
|
||||
some <b>caption</b> <a href="/wiki/Main_Page" title="Main Page">Main Page</a>
|
||||
|
|
@ -3057,7 +3057,7 @@ File:foobar.jpg|caption|alt=galleryalt|link=http://www.example.org
|
|||
!! html/php
|
||||
<ul class="gallery mw-gallery-traditional">
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="http://www.example.org" rel="nofollow"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="http://www.example.org" title="caption" rel="nofollow"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>caption
|
||||
</p>
|
||||
|
|
@ -3173,7 +3173,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-nolines">
|
||||
<li class="gallerycaption">No Lines!</li>
|
||||
<li class="gallerybox" style="width: 125px">
|
||||
<div class="thumb" style="width: 120px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 120px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -3243,7 +3243,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-packed-overlay">
|
||||
<li class="gallerycaption">Packed Overlay!</li>
|
||||
<li class="gallerybox" style="width: 1061.3333333333px">
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></span></div>
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></span></div>
|
||||
<div class="gallerytextwrapper" style="width: 1040px"><div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -3269,7 +3269,7 @@ File:Foobar.jpg|foo
|
|||
<ul class="gallery mw-gallery-packed-hover">
|
||||
<li class="gallerycaption">Packed Hover!</li>
|
||||
<li class="gallerybox" style="width: 1061.3333333333px">
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></span></div>
|
||||
<div class="thumb" style="width: 1059.3333333333px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="foo"><img alt="" src="http://example.com/images/thumb/3/3a/Foobar.jpg/1589px-Foobar.jpg" decoding="async" width="1060" height="120" srcset="http://example.com/images/3/3a/Foobar.jpg 1.5x" /></a></span></div>
|
||||
<div class="gallerytextwrapper" style="width: 1040px"><div class="gallerytext">
|
||||
<p>foo
|
||||
</p>
|
||||
|
|
@ -3547,7 +3547,7 @@ File:Foobar.jpg|alt=galleryalt|{{Test|unamedParam|alt=-{R|param}-}}
|
|||
</div>
|
||||
</li>
|
||||
<li class="gallerybox" style="width: 155px">
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="thumb" style="width: 150px; height: 150px;"><span typeof="mw:Image"><a href="/wiki/File:Foobar.jpg" class="mw-file-description" title="This is a test template"><img alt="galleryalt" src="http://example.com/images/thumb/3/3a/Foobar.jpg/120px-Foobar.jpg" decoding="async" width="120" height="14" srcset="http://example.com/images/thumb/3/3a/Foobar.jpg/180px-Foobar.jpg 1.5x, http://example.com/images/thumb/3/3a/Foobar.jpg/240px-Foobar.jpg 2x" /></a></span></div>
|
||||
<div class="gallerytext">
|
||||
<p>This is a test template
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue