01tonythomas has uploaded a new change for review. https://gerrit.wikimedia.org/r/120341
Change subject: Update Mingle URL in "See Also" field extension ...................................................................... Update Mingle URL in "See Also" field extension The URL check is changed from https://mingle.corp.wikimedia.org/projects/* to https://wikimedia.mingle.thoughtworks.com/projects/* Bug: 58446 Change-Id: I63a7526b0ab55adb657e7b84df79e53a01578227 --- M extensions/MoreBugUrl/lib/Mingle.pm 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/wikimedia/bugzilla/modifications refs/changes/41/120341/1 diff --git a/extensions/MoreBugUrl/lib/Mingle.pm b/extensions/MoreBugUrl/lib/Mingle.pm index f9787ee..96e44d8 100644 --- a/extensions/MoreBugUrl/lib/Mingle.pm +++ b/extensions/MoreBugUrl/lib/Mingle.pm @@ -30,8 +30,8 @@ sub should_handle { my ($class, $uri) = @_; # Mingle URLs have this form: - # https://mingle.corp.wikimedia.org/projects/*/cards/1234 - return (lc($uri->authority) eq 'mingle.corp.wikimedia.org' + # https://wikimedia.mingle.thoughtworks.com/projects/abcdefgh_ijkl/cards/12345 + return (lc($uri->authority) eq 'wikimedia.mingle.thoughtworks.com' and $uri->path =~ m|^/projects/[0-9a-zA-Z_]+/cards/\d+$|) ? 1 : 0; } -- To view, visit https://gerrit.wikimedia.org/r/120341 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I63a7526b0ab55adb657e7b84df79e53a01578227 Gerrit-PatchSet: 1 Gerrit-Project: wikimedia/bugzilla/modifications Gerrit-Branch: master Gerrit-Owner: 01tonythomas <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
