r82786 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r82785‎ | r82786 | r82787 >
Date:10:33, 25 February 2011
Author:reedy
Status:ok
Tags:
Comment:
bug 27703

Allow hash in bug reference link
Modified paths:
  • /trunk/extensions/CodeReview/backend/CodeRevision.php (modified) (history)

Diff [purge]

Index: trunk/extensions/CodeReview/backend/CodeRevision.php
@@ -476,7 +476,7 @@
477477 // Update bug references table...
478478 $affectedBugs = array();
479479 $m = array();
480 - if ( preg_match_all( '/\bbug (\d+)\b/', $this->message, $m ) ) {
 480+ if ( preg_match_all( '/\bbug #?(\d+)\b/', $this->message, $m ) ) {
481481 $data = array();
482482 foreach ( $m[1] as $bug ) {
483483 $data[] = array(

Follow-up revisions

RevisionCommit summaryAuthorDate
r82788* (bug 27703) CR should parse 'bug#25848'...reedy10:56, 25 February 2011

Status & tagging log