Skip to content

Commit

Permalink
Extract FAQ url
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Jul 30, 2013
1 parent a63c0ed commit c48568a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion changelog.php
Expand Up @@ -49,6 +49,7 @@
$tracker_url_rfe = 'https://sourceforge.net/p/phpmyadmin/feature-requests/\\1/';
$tracker_url_patch = 'https://sourceforge.net/p/phpmyadmin/patches/\\1/';
$github_url = 'https://github.com/phpmyadmin/phpmyadmin/';
$faq_url = 'http://docs.phpmyadmin.net/en/latest/faq.html';

$replaces = array(
'@(http://[./a-zA-Z0-9.-_-]*[/a-zA-Z0-9_])@'
Expand Down Expand Up @@ -80,7 +81,7 @@

// FAQ entries
'/FAQ ([0-9]+)\.([0-9a-z]+)/i'
=> '<a href="http://docs.phpmyadmin.net/en/latest/faq.html#faq\\1-\\2">FAQ \\1.\\2</a>',
=> '<a href="' . $faq_url . '#faq\\1-\\2">FAQ \\1.\\2</a>',

// linking bugs
'/bug\s*#?([0-9]{6,})/i'
Expand Down

0 comments on commit c48568a

Please sign in to comment.