Allow handler specific parameters in <gallery> (page number, etc)
authorBrian Wolff <bawolff+wn@gmail.com>
Thu, 25 Apr 2013 00:28:03 +0000 (21:28 -0300)
committerBrian Wolff <bawolff+wn@gmail.com>
Fri, 5 Jul 2013 17:29:09 +0000 (14:29 -0300)
commit8eff8a07847290bcc926d1e95dd37167c805154c
tree05b08b46585fb8b67a35ea1eb703e8b6c4cc8997
parentf7a7608aeddb638858b6c107b8716d41e492900d
Allow handler specific parameters in <gallery> (page number, etc)

For multipage media, people really want to be able to specify
if the image gallery should display page 1 or page 10. This
also allows other handler specific parameters like thumbtime
for videos, "lossy" for tiff files, etc.

Note, this only allows the handler specific options
(typically things that would change an image). Other options in
the thumb syntax like class, border, upright, left, etc are
still not supported (and mostly probably should not be)

Bug: 8480

Change-Id: Ib831d89ed8676deb2f44238ff9a23ce58ad4d2df
RELEASE-NOTES-1.22
includes/ImageGallery.php
includes/parser/Parser.php