Last caption wins in gallery
authorArlo Breault <abreault@wikimedia.org>
Fri, 22 Jan 2016 03:24:03 +0000 (19:24 -0800)
committerArlo Breault <abreault@wikimedia.org>
Fri, 22 Jan 2016 19:22:06 +0000 (11:22 -0800)
commit63aeabeff1e098e872cc46f3698c61457e44ba15
tree295567037db9f61a5eb72c6256727869371893ac
parent4552ab0d9ff4277138aa953b202ecb366c22d6ee
Last caption wins in gallery

 * Currently, for images:

   [[File:Foobar.jpg|hi|alt=100|ho]]

   caption: ho

   but for galleries:

   <gallery>
   File:Foobar.jpg|hi|alt=100|ho
   </gallery>

   caption: hi|ho

 * This patch brings some consistency to them.

Change-Id: I3b73189b27cc35fade4809477cf18779b953aa3b
RELEASE-NOTES-1.27
includes/parser/Parser.php
tests/parser/parserTests.txt