Last modified: 2010-03-13 11:45:48 UTC
I wrote a patch to includes/ImageGallery.php and includes/DefaultSettings.php to allow wiki administrators to change the way galleries are shown by default. Works with the <gallery> tag, images in categories, special pages for images, etc., anywhere that uses the ImageGallery class.
Created attachment 4584 [details]
patch to includes/ImageGallery.php and includes/DefaultSettings.php
Created attachment 6867 [details]
update patch and inline documentation
Created attachment 6870 [details]
patch to configure showbytes and filename truncate length too
This patch allows configuration of the last two variables I have needed to tweak.
Patch applied with r63197.
Reverted in r63261. Breaks gallery parser test, also I don't really like introducing 5 new globals for this...maybe 1 array with keys?
Reapply with r63672. Per suggestion of demon now with 1 array with keys and w/o breaking parsertests