wiki.techinc.nl/includes
Brian Wolff 14b3f8767b New more slick gallery display
This extension adds a "mode" parameter to the gallery
tag, allowing different formats for the gallery tag
(galleries in the ui can be controlled by a global)
The added modes are:
*traditional - The original gallery
*nolines - Like the original, no borders, less padding
*packed - All images aligned by having same height.
  JS also justifies the images.
  (I think this one is the one that will go over best
  with users.)
*packed-overlay - like packed, but caption goes over
  top the image in a transloucent box.
*packed-hover - like packed-overlay, but caption only
  visible on hover. Degrades gracefully on screen
  readers, and falls back to packed-overlay if
  you are using a touch screen. I kind of like
  this mode when the caption is not that important
  (ex a category where its just the file name).

This also adds a hook to allow people to make their
own gallery version. I believe there would be interest
in this, as different people have done different
experiments. For example:
* Wikia: http://community.wikia.com/wiki/Help:Galleries,_Slideshows,_and_Sliders/wikitext
* Wikinews: https://en.wikinews.org/wiki/Template:Picture_select

What I would like to see for this patch, is first it gets
enabled, with the default still "traditional". After
about a month or two we consult with users. If feedback
is positive, we change the default mode to one of the
others (probably "packed").

Adds a "mode" parameter to gallery for different
mode, including one 'height-constrained-overlay'
which looks much more like other modern websites.

Note: This makes one change to the old gallery format.
It makes Nonexistent files be rendered like thumbnails
(i.e. they are rendered with a little grey border).

One thing I'm slightly worried about with this patch,
is that I added an option to MediaTransformOutput::toHtml
to override the width attribute. I'm not sure if that
is the best approach, and would appreciate thoughts
on that.

This should be merged at the same time as Ie82c1548

Change-Id: I33462a8b52502ed76aeb163b66e3704c8618ba23
2013-08-14 20:56:05 -03:00
..
actions HistoryAction: There is no mediawiki.legacy.history module 2013-08-10 00:25:20 +02:00
api Spaces in memcached keys are annoying 2013-08-14 15:23:59 -07:00
cache $wgHTCPMulticastRouting rename + multi hosts support 2013-07-31 16:07:05 +02:00
clientpool doc: various updates 2013-05-20 12:02:37 +02:00
content ContentHandler: Fix a typo 2013-07-27 19:23:27 +00:00
context Have Chunked upload jobs bail if cannot associate with session. 2013-07-07 23:30:39 -03:00
dao Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
db Merge "Never prefix table names with $wgSharedDB when used in foreign DB" 2013-08-09 00:19:48 +00:00
debug API DebugToolbar's debugLog format cleanup 2013-07-09 22:03:16 -04:00
diff Merge "DifferenceEngine: Remove broken comment" 2013-07-22 11:44:03 +00:00
externalstore Merge "Break some long lines" 2013-08-13 18:05:52 +00:00
filebackend filebackend: normalize paths used in locking 2013-07-06 15:06:38 -07:00
filerepo New more slick gallery display 2013-08-14 20:56:05 -03:00
gallery New more slick gallery display 2013-08-14 20:56:05 -03:00
installer Localisation updates from http://translatewiki.net. 2013-08-13 19:34:53 +00:00
interwiki
job jobqueue: cleaned up JobQueue exception handling 2013-08-13 02:37:35 +00:00
json Change @since and @deprecated notes to 1.22 2013-06-21 05:33:22 +00:00
libs Tweak CSSJanus to support noflip for selectors with parentheses 2013-07-19 11:53:27 -07:00
logging Tweak Special:Log/block for supporting RTL wikis 2013-07-20 00:49:25 +00:00
media New more slick gallery display 2013-08-14 20:56:05 -03:00
normal Gitweb -> Gitblit 2013-06-07 23:05:13 +01:00
objectcache Fix return types in documentation 2013-06-28 23:48:31 +02:00
parser New more slick gallery display 2013-08-14 20:56:05 -03:00
profiler Typo fix 2013-08-02 16:48:40 -07:00
resourceloader Make ResourceLoader::makeComment a public static method 2013-08-11 15:11:17 +08:00
revisiondelete Don't purge thumbs for old versions of an image during ?action=purge 2013-07-09 23:13:07 +00:00
search Allow individual search backends to control whether they SearchUpdate 2013-08-14 17:55:04 +00:00
site docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
specials New more slick gallery display 2013-08-14 20:56:05 -03:00
templates Tweak login/account creation for logged in users 2013-08-13 16:45:37 +02:00
upload Have separate timeouts for upload by url ($wgCopyUpload[Async]Timeout) 2013-08-07 21:05:07 +02:00
.htaccess
Action.php docs: Consistently use "since" phrasing in @deprecated 2013-05-15 00:56:57 +00:00
AjaxDispatcher.php Add User::isEveryoneAllowed function 2013-07-12 11:18:15 -04:00
AjaxResponse.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
ArrayUtils.php fix some spacing 2013-03-25 22:22:46 +00:00
Article.php Add user rights 'viewmywatchlist', 'editmywatchlist' 2013-06-26 10:20:40 -04:00
AuthPlugin.php add and use updateExternalDBGroups function, fixes #49641 2013-07-08 19:46:31 +02:00
AutoLoader.php New more slick gallery display 2013-08-14 20:56:05 -03:00
Autopromote.php Added space after switch/Removed spaces after unset 2013-04-26 16:42:31 +02:00
Block.php Merge "copy paste comment should probably have end instead of start" 2013-06-30 21:46:11 +00:00
CacheHelper.php
Category.php phpcs: Fix Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore violations 2013-04-11 07:34:41 +00:00
Categoryfinder.php Spellchecked /includes directory 2013-03-13 03:42:41 -04:00
CategoryPage.php Fixed @param tags to conform with Doxygen format. 2013-03-11 13:15:01 -04:00
CategoryViewer.php New more slick gallery display 2013-08-14 20:56:05 -03:00
Cdb.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
Cdb_PHP.php Fixed spacing and removed unneeded parenthesis 2013-05-17 16:12:08 +00:00
ChangesFeed.php Pass array to Title::getLocalURL instead of an urlencoded string 2013-04-27 08:22:01 +00:00
ChangesList.php Remove unused globals. 2013-07-12 20:25:14 +02:00
ChangeTags.php Removed $wgOldChangeTagsIndex 2013-07-12 19:06:15 +01:00
Collation.php Merge "Allow uca-sv@collation=standard to be a collation name." 2013-06-27 18:48:21 +00:00
ConfEditor.php Fixed spacing and removed unneeded parenthesis 2013-05-17 16:12:08 +00:00
Cookie.php Remove spaces in function signature 2013-03-18 20:44:43 +01:00
DataUpdate.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
DefaultSettings.php New more slick gallery display 2013-08-14 20:56:05 -03:00
DeferredUpdates.php Spellchecked /includes directory 2013-03-13 03:42:41 -04:00
Defines.php Remove Parser_LinkHooks and CoreLinkFunctions classes 2013-05-02 16:43:39 +01:00
DeprecatedGlobal.php
EditPage.php Add limit report data on preview pages 2013-08-13 05:54:03 +00:00
Exception.php echo is not a function 2013-05-09 19:52:45 +00:00
Export.php Use getFileContents() instead of incorrect file system call to fetch file contents. 2013-06-10 10:10:40 -07:00
FakeTitle.php
Fallback.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
Feed.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
FeedUtils.php Fixed spacing and removed unneeded parenthesis 2013-05-17 16:12:08 +00:00
FileDeleteForm.php Add user rights 'viewmywatchlist', 'editmywatchlist' 2013-06-26 10:20:40 -04:00
ForkController.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
FormOptions.php Added space after switch/Removed spaces after unset 2013-04-26 16:42:31 +02:00
GitInfo.php Gitweb -> Gitblit 2013-06-07 23:05:13 +01:00
GlobalFunctions.php Make wfReadOnly() a wrapper around wfReadOnlyReason() 2013-08-13 04:42:24 +00:00
HashRing.php Fixed total breakage of HashRing in 9d1cd9a. 2013-05-15 20:17:24 +00:00
HistoryBlob.php DiffHistoryBlob: don't check for mhash extension 2013-07-30 11:44:03 -04:00
Hooks.php Allow explicit & implicit null returns from hook handlers 2013-06-25 12:10:12 -07:00
Html.php Followup If21705c2, Shorten remaining urls to the whatwg HTML spec. 2013-06-08 04:48:01 -07:00
HTMLForm.php Don't display empty preference sections 2013-08-14 20:26:33 +00:00
HttpFunctions.php Merge "Added SSL verification to PHPHttpRequest." 2013-06-26 21:56:40 +00:00
ImagePage.php The language used to render SVGs should be definable 2013-06-05 19:28:03 +00:00
ImageQueryPage.php New more slick gallery display 2013-08-14 20:56:05 -03:00
Import.php print is not a function 2013-05-09 20:06:03 +02:00
Init.php Remove hphpc support and deprecate related functions 2013-05-09 08:28:05 +10:00
IP.php Improve behavior of IP::toUnsigned on Windows 2013-06-25 20:04:46 +02:00
Licenses.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
limit.sh (Bug 45854) Unset the cgroup if we don't have a memory limit 2013-03-08 10:51:55 +01:00
Linker.php skin: Convert table of contents from <table> to <div> 2013-07-02 01:08:45 +02:00
LinkFilter.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
LinksUpdate.php RefreshLinks on imagelinks on new uploads to kill tracking cat. 2013-06-05 11:01:22 -03:00
MagicWord.php MagicWord: Remove some commented-out code 2013-07-01 00:55:41 +02:00
MappedIterator.php jobqueue: avoid exceptions due to races in redis job listing functions 2013-07-09 16:57:40 -07:00
Message.php Return messages in a consistent form from Status objects 2013-07-30 02:11:48 +00:00
MessageBlobStore.php Revert "Commit of various live hacks" 2013-04-29 19:19:54 +01:00
Metadata.php Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights 2013-07-03 13:40:04 -04:00
mime.info
mime.types
MimeMagic.php Added space after switch/Removed spaces after unset 2013-04-26 16:42:31 +02:00
MWCryptRand.php Moved CryptRand.php to MWCryptRand.php 2013-04-23 11:39:39 +00:00
MWFunction.php Deprecate MWFunction::call and ::callArray 2013-07-19 18:48:51 -04:00
Namespace.php Fixed return type of getContentNamespaces() 2013-07-16 17:01:13 -07:00
OutputHandler.php Fix fatal error when $wgValidateAllHtml is enabled and apache_request_headers() does not exists 2013-07-25 12:05:13 +02:00
OutputPage.php mw.config: Add wgIsRedirect 2013-07-23 21:11:31 +02:00
PageQueryPage.php Update/add documentation 2013-04-14 21:18:38 +02:00
Pager.php Make it easier to override the DB used for a Pager subclass 2013-07-16 11:16:47 -07:00
PathRouter.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
PHPVersionError.php Drop support for XHTML 1.0 2013-05-15 23:09:25 -07:00
PoolCounter.php Clarified PoolCounter::execute() docs a bit. 2013-04-24 14:51:10 -07:00
Preferences.php Remove the showjumplinks user preference 2013-07-31 22:30:46 +02:00
PrefixSearch.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
ProtectionForm.php Fix protection rights usage 2013-07-04 15:38:36 +10:00
ProxyTools.php Spellchecked /includes directory 2013-03-13 03:42:41 -04:00
QueryPage.php Make Special:MIMESearch a non-expensive special page. 2013-07-25 00:05:09 -03:00
RecentChange.php Follow-up 05077dc374 2013-06-04 23:30:16 +02:00
Revision.php Merge "Make revision content decompression publicly available" 2013-08-07 21:00:02 +00:00
RevisionList.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
Sanitizer.php Merge "Whitelist the <wbr> element." 2013-08-07 14:38:32 +00:00
ScopedCallback.php Throw an exception in ScopedCallback for invalid callbacks. 2013-06-01 07:06:32 +00:00
ScopedPHPTimeout.php
Setup.php Replace remaining sajax use 2013-08-13 02:29:31 +00:00
SiteConfiguration.php Attempt to remove a hard-coded "wikipedia". 2013-08-09 09:32:13 +00:00
SiteStats.php Add ss_active_users in SiteStats::isSane 2013-05-23 19:05:13 +02:00
Skin.php Make brackets in section edit links accessible to CSS 2013-07-02 19:22:39 +02:00
SkinTemplate.php Remove the showjumplinks user preference 2013-07-31 22:30:46 +02:00
SpecialPage.php Followup Idfee1b4d per Tim 2013-07-26 11:03:11 -04:00
SpecialPageFactory.php Add Special:RandomInCategory. 2013-08-01 10:33:04 -07:00
SqlDataUpdate.php docs: Remove odd colons after @todo 2013-05-15 06:23:40 +00:00
SquidPurgeClient.php
StatCounter.php StatCounter doc tweaks. 2013-04-23 11:27:27 +00:00
Status.php Return messages in a consistent form from Status objects 2013-07-30 02:11:48 +00:00
StreamFile.php Add missing wfProfileOut before throwing an exception 2013-04-08 18:37:24 +00:00
StringUtils.php Fixed spacing around parenthesis in includes 2013-04-28 15:50:07 +00:00
StubObject.php Fixed spacing and removed unneeded parenthesis 2013-05-17 16:12:08 +00:00
tidy.conf Whitelist the <wbr> element. 2013-08-02 21:12:12 +02:00
Timestamp.php Include original exception when throw TimestampException 2013-07-08 17:08:27 +02:00
Title.php Don't use $wgVariantArticlePath for variants of non-content languages 2013-08-14 16:04:51 +00:00
TitleArray.php Spellchecked /includes directory 2013-03-13 03:42:41 -04:00
UIDGenerator.php UIDGenerator: better support for 32-bit machines 2013-04-19 08:34:20 +10:00
User.php typo fixed: User::getIntOption returns an integer, not a boolean 2013-08-10 13:48:37 +02:00
UserArray.php fix some spacing 2013-03-25 22:22:46 +00:00
UserMailer.php Merge "Mime emails should be sent with UTF-8 charset" 2013-07-15 18:37:02 +00:00
UserRightsProxy.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
ViewCountUpdate.php
WatchedItem.php Add user rights 'viewmywatchlist', 'editmywatchlist' 2013-06-26 10:20:40 -04:00
WebRequest.php Add methods to get raw request in WebRequest 2013-07-29 16:52:17 +00:00
WebResponse.php Improve WebResponse::setcookie 2013-08-07 17:43:06 -04:00
WebStart.php Deprecate MWFunction::call and ::callArray 2013-07-19 18:48:51 -04:00
Wiki.php Hide exceptions in MediaWiki::doJobs() as deferred updates do. 2013-05-14 18:36:07 -07:00
WikiCategoryPage.php
WikiError.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
WikiFilePage.php Make action=purge on file redirects purge the file redirect cache. 2013-08-04 00:36:38 -03:00
WikiMap.php In $wgConf, allow wgCanonicalServer to be false or absent 2013-07-04 05:50:57 +00:00
WikiPage.php Merge "Abort page restriction if no null revision can be created" 2013-07-29 17:40:57 +00:00
Xml.php Avoid date()/gmdate() for date formatting 2013-07-08 04:14:12 +00:00
XmlTypeCheck.php Fix XmlTypeCheck docs 2013-06-08 10:53:45 +00:00
ZhClient.php Fixed spacing in files direct in includes folder 2013-04-21 06:38:49 +00:00
ZhConversion.php
ZipDirectoryReader.php Added/Removed spaces around string concatenation 2013-04-13 13:36:24 +02:00