wiki.techinc.nl/includes/parser
Kim Eik 0a52782667 (bug 34852) new optional 'link' parameter to <gallery>
The patch adds an optional parameter |link= to the <gallery>
tag. This will allow for images to link to other pages and
externals urls instead of being hardlinked to the image file
that is displayed in the gallery.

Here are a couple of examples.

Link as WikiLink:
<gallery>
File:20120106_001.jpg|link=Main_Page
</gallery>

Link as absolute URI:
<gallery>
File:20120106_001.jpg|my caption|alt=my alt
text|link=http://bugzilla.wikimedia.org
</gallery>

this would cause the link on the thumbnails rendered by the gallery tag to link
to a custom page/url instead of the actual media/image.

a link should be an internal wiki link or an absolute uri as shown in the examples.

Change-Id: I21b276ad5c7a8df13b3a716957d23fd53c37d29e
2012-04-16 10:09:31 +02:00
..
CoreLinkFunctions.php
CoreParserFunctions.php GENDER should use the GenderCache 2012-04-07 22:45:31 +02:00
CoreTagHooks.php Reverted r108743 per CR comment. This should at least be discussed first. 2012-01-12 19:41:18 +00:00
DateFormatter.php More return documentation 2012-02-09 21:35:05 +00:00
LinkHolderArray.php Remove backslash from @return types 2012-02-13 16:35:59 +00:00
Parser.php (bug 34852) new optional 'link' parameter to <gallery> 2012-04-16 10:09:31 +02:00
Parser_DiffTest.php
Parser_LinkHooks.php Fixing some of the "@return true" or "@return false", need to be "@return bool" and then the metadata can say true if foo, false if bar 2012-02-09 19:29:36 +00:00
ParserCache.php Documentation followups from lastnight 2012-02-10 15:37:33 +00:00
ParserOptions.php revert r111234 (deprecated methods removal) 2012-02-12 19:25:28 +00:00
ParserOutput.php More return documentation 2012-02-09 21:35:05 +00:00
Preprocessor.php Bug 31995 - Addition of PPFrame::getTitle 2011-11-09 20:52:24 +00:00
Preprocessor_DOM.php Sanitizing already existing use of PHP's assert 2012-03-19 11:14:43 +00:00
Preprocessor_Hash.php Sanitizing already existing use of PHP's assert 2012-03-19 11:14:43 +00:00
Preprocessor_HipHop.hphp Follow up to r114126: Being more conservative for HipHop compiler 2012-03-19 23:36:48 +00:00
StripState.php Fixed a few "strip tag exposed" bugs. 2012-03-20 04:39:09 +00:00
Tidy.php Revert Microdata improvements in r111891, r111898, r111899, r111901, r111903, and r111906 till after the git migration. 2012-02-20 22:32:18 +00:00