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 |
||
|---|---|---|
| .. | ||
| CoreLinkFunctions.php | ||
| CoreParserFunctions.php | ||
| CoreTagHooks.php | ||
| DateFormatter.php | ||
| LinkHolderArray.php | ||
| Parser.php | ||
| Parser_DiffTest.php | ||
| Parser_LinkHooks.php | ||
| ParserCache.php | ||
| ParserOptions.php | ||
| ParserOutput.php | ||
| Preprocessor.php | ||
| Preprocessor_DOM.php | ||
| Preprocessor_Hash.php | ||
| Preprocessor_HipHop.hphp | ||
| StripState.php | ||
| Tidy.php | ||