Extension:YouTrackTicket

From MediaWiki.org
Jump to navigation Jump to search
MediaWiki extensions manual
OOjs UI icon advanced.svg
YouTrackTicket
Release status: stable
Implementation Tag
Description Allows to parse all <youtrack> tags into links to their respective YouTrack issue page.
Author(s) Andrei Nicholson (tetsuo13talk)
Latest version 1.0.0 (2014-04-29)
MediaWiki 1.16+
PHP 5.2+
Database changes No
Composer tetsuo13/mediawiki-extensions-youtrackticket
License GNU General Public License 2.0
Download
README.md
  • $wgYouTrackTicketShowImage
  • $wgYouTrackTicketUrl
* <youtrack>
Translate the YouTrackTicket extension if it is available at translatewiki.net
Check usage and version matrix.

The YouTrackTicket extension will render all <youtrack> tags into links to their respective issue page in YouTrack. 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.

Installation[edit]

  • Download and place the file(s) in a directory called YouTrackTicket in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php:
    require_once "$IP/extensions/YouTrackTicket/YouTrackTicket.php";
    
  • Configure as necessary
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration[edit]

$wgYouTrackTicketUrl

This is the URL to the target YouTrack instance and should not contain a trailing slash. Example:

$wgYouTrackTicketUrl = 'https://support.company.tld';
$wgYouTrackTicketShowImage

Boolean that, if defined, specifies whether or not to show a small YouTrack logo next to the rendered link. By default, YouTrackTicket will show the logo.