Making WordPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#3961 closed enhancement (fixed)

Auto-link Gutenberg repo mentions in Trac

Reported by: pento's profile pento Owned by: dd32's profile dd32
Milestone: Priority: normal
Component: Trac Keywords: needs-patch
Cc:

Description

In much the same way as we auto-link user mentions, it'd be super handy to auto-link Gutenberg repo issue numbers.

Personally, I use the form GB12345, which would then link to https://github.com/WordPress/Gutenberg/issues/12345.

There's no need to differentiate between Issues and PRs, GitHub will redirect to the appropriate URL.

Change History (4)

#1 @dd32
6 years ago

This comment serves for testing Github issue mentioning. None of these are linked in the source of the comment.

GB1234
GB-56789
Testing/GB1235/Testing

It shouldn't match these:

Last edited 6 years ago by dd32 (previous) (diff)

#2 @dd32
6 years ago

  • Owner set to dd32
  • Resolution set to fixed
  • Status changed from new to closed

In 8054:

Trac: Autolink Gutenberg Github issues using the form GB-1234 or GB1234.

Fixes #3961.

#3 @dd32
6 years ago

In 8055:

Trac: Tweak the regex in r8054 to avoid matching references contained within a link that mentions it part-way through the link text.

See #3961.

#4 @dd32
6 years ago

In 8056:

Trac: Bump the cache busters after r8054 & r8055.

Fixes #3961.

Note: See TracTickets for help on using tickets.