YouTrackTicket is an extension for MediaWiki
which will parse all
<youtrack> tags into links to the respective
YouTrack issue page. This extension
encapsulates all references to your YouTrack issues so that any changes to the
server URL can be maintained in a single location instead of editing all pages
with issue IDs.
<youtrack> tag to specify the YouTrack issue ID:
This will render a link to the "FOOBAR-123" issue in your YouTrack instance. The link will contain a small YouTrack logo to its right. This can be optionally disabled.
Follow these steps to install the extension:
- Download or clone this repository in a new directory called
- Add the following to the bottom of
Navigate to "Special:Version" on your wiki to verify that the extension is successfully installed.
The following configuration variables are available. At minimum, $wgYouTrackTicketUrl needs to be set in order for YouTrackTicket to work correctly.
This is the URL to the target YouTrack instance and should not contain a trailing slash. Example:
$wgYouTrackTicketUrl = 'https://support.company.tld';
$wgYouTrackTicketShowImage [boolean] (Optional)
If defined, specifies whether or not to show a small YouTrack logo next to the rendered link. By default, YouTrackTicket will show the logo.