Revert r41364 -- broke 22 parser test cases with change of alt behavior.
authorBrion Vibber <brion@users.mediawiki.org>
Tue, 30 Sep 2008 00:21:59 +0000 (00:21 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Tue, 30 Sep 2008 00:21:59 +0000 (00:21 +0000)
commitb74cc5481080b832a10406bae85d55a6e4f7f40b
treef14ed4dfeb490e6f83eac0452cc648e18f4ae14c
parent0dd22a54067e4348246009bddb82373c42df71ee
Revert r41364 -- broke 22 parser test cases with change of alt behavior.

The caption was originally defined *as* the alt text (defaulting to the image file name if there is no alt text). Note that a separate caption text is only displayed in some display modes ('frame' and 'thumb', iirc), and not by default.

Please run the parser tests and check the effect you have on them. If it's really an appropriate change, then update the test cases. If you're not sure, consider backing out pending further discussion. :)

It might be appropriate to not set the 'alt' attribute for frame/thumb cases, but definitely not for inline images where we already have a way of setting the alt text which you're removing!
RELEASE-NOTES
includes/parser/Parser.php
languages/messages/MessagesEn.php