added the #I shortcut expression to an issue
This commit is contained in:
parent
024952312c
commit
34986f34fe
@ -14,6 +14,14 @@ class WikiHelper
|
|||||||
$link = "code/revision/{$projectid}/2e/{$matches[1]}";
|
$link = "code/revision/{$projectid}/2e/{$matches[1]}";
|
||||||
return $link;
|
return $link;
|
||||||
}
|
}
|
||||||
|
else if (preg_match ('/^#I([[:digit:]]+)$/', $name, $matches) == 1)
|
||||||
|
{
|
||||||
|
// #I123 -> translate it to issue number.
|
||||||
|
$num_hex = $converter->AsciiToHex ($matches[1]);
|
||||||
|
$link = "issue/show/{$projectid}/{$num_hex}";
|
||||||
|
return $link;
|
||||||
|
}
|
||||||
|
|
||||||
if ($this->_is_reserved ($name, TRUE))
|
if ($this->_is_reserved ($name, TRUE))
|
||||||
{
|
{
|
||||||
$ex0 = $this->_trans_reserved ($name);
|
$ex0 = $this->_trans_reserved ($name);
|
||||||
|
Loading…
Reference in New Issue
Block a user