Last modified: 2013-07-29 14:02:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T54192, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52192 - Markups in alt param of <gallery> are "eaten" during parsing
Markups in alt param of <gallery> are "eaten" during parsing
Status: PATCH_TO_REVIEW
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.22.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-28 12:47 UTC by Liangent
Modified: 2013-07-29 14:02 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Liangent 2013-07-28 12:47:57 UTC
alt should be some plain text.

Wikitext:

<gallery>
File:Wiki.png|cap'''t'''ion|alt=x'''y'''z
</gallery>

Actual:

<ul class="gallery">
<li class="gallerybox" style="width: 155px">
<div style="width: 155px">
<div class="thumb" style="width: 150px;">
<div style="margin:15px auto;"><a href="/wiki/File:Wiki.png" class="image"><img alt="xyz" src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" width="104" height="120" /></a></div>
</div>
<div class="gallerytext">
<p>cap<b>t</b>ion</p>
</div>
</div>
</li>
</ul>

Expected:

<ul class="gallery">
<li class="gallerybox" style="width: 155px">
<div style="width: 155px">
<div class="thumb" style="width: 150px;">
<div style="margin:15px auto;"><a href="/wiki/File:Wiki.png" class="image"><img alt="x'''y'''z" src="//upload.wikimedia.org/wikipedia/en/thumb/b/bc/Wiki.png/104px-Wiki.png" width="104" height="120" /></a></div>
</div>
<div class="gallerytext">
<p>cap<b>t</b>ion</p>
</div>
</div>
</li>
</ul>
Comment 1 Gerrit Notification Bot 2013-07-28 12:50:25 UTC
Change 76341 had a related patch set uploaded by Liangent:
LanguageConverter fixes to eliminate parser test failures

https://gerrit.wikimedia.org/r/76341

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links