# # # patch "releases.xml.php" # from [74e4740b7504e1010952d3aa2153a8aa3b7f3f97] # to [7b643c403360e0238ad0fd4915cacbf0befa6ab9] # ============================================================ --- releases.xml.php 74e4740b7504e1010952d3aa2153a8aa3b7f3f97 +++ releases.xml.php 7b643c403360e0238ad0fd4915cacbf0befa6ab9 @@ -201,7 +201,7 @@ $self = "http://{$_SERVER['SERVER_NAME'] '$1', $entry); - // link monotone bugs + // link old savannah bugs $entry = preg_replace_callback( '/monotone bugs?(?:(?:, |, and | and | )#\d+)+/', create_function('$matches', ' @@ -212,6 +212,18 @@ $self = "http://{$_SERVER['SERVER_NAME'] ); '), $entry); + // link new IDF issues (we use the same procedure as + // above, just that we call them now "issues" by convention + $entry = preg_replace_callback( + '/monotone issues?(?:(?:, |, and | and | )#\d+)+/', + create_function('$matches', ' + return preg_replace( + "/#(\d+)/", + "#$1", + $matches[0] + ); + '), + $entry); echo nl2br($entry); ?>