Last modified: 2010-03-13 11:45:48 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 T14797, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 12797 - Allow adjusting of default gallery display options
Allow adjusting of default gallery display options
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.12.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-01-26 06:25 UTC by Zachary Hauri
Modified: 2010-03-13 11:45 UTC (History)
3 users (show)

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


Attachments
patch to includes/ImageGallery.php and includes/DefaultSettings.php (1.47 KB, patch)
2008-01-26 06:26 UTC, Zachary Hauri
Details
update patch and inline documentation (1.59 KB, patch)
2009-12-10 19:21 UTC, Conrad Irwin
Details
patch to configure showbytes and filename truncate length too (2.24 KB, patch)
2009-12-11 00:46 UTC, Conrad Irwin
Details

Description Zachary Hauri 2008-01-26 06:25:05 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.
Comment 1 Zachary Hauri 2008-01-26 06:26:41 UTC
Created attachment 4584 [details]
patch to includes/ImageGallery.php and includes/DefaultSettings.php
Comment 2 Conrad Irwin 2009-12-10 19:21:47 UTC
Created attachment 6867 [details]
update patch and inline documentation
Comment 3 Conrad Irwin 2009-12-11 00:46:54 UTC
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.
Comment 4 Raimond Spekking 2010-03-03 13:21:57 UTC
Patch applied with r63197.
Comment 5 Chad H. 2010-03-05 00:29:13 UTC
Reverted in r63261. Breaks gallery parser test, also I don't really like introducing 5 new globals for this...maybe 1 array with keys?
Comment 6 Raimond Spekking 2010-03-13 11:45:48 UTC
Reapply with r63672. Per suggestion of demon now with 1 array with keys and w/o breaking parsertests

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


Navigation
Links