Page MenuHomePhabricator

http://sourceforge.net/p/pywikipediabot/feature-requests/349/ is not a valid "see also" url
Closed, ResolvedPublic

Description

Go to https://bugzilla.wikimedia.org/show_bug.cgi?id=54415

Try and add "http://sourceforge.net/p/pywikipediabot/feature-requests/349/" as a see also link

Get "http://sourceforge.net/p/pywikipediabot/feature-requests/349/ is not a valid URL to a bug. See Also URLs should point to one of: <snip" back in a nice red warning.

All of our urls will be formed like that, but the "feature-requests" part can also be: 'patches', 'support-requests', or 'bugs'.


Version: wmf-deployment
Severity: normal
URL: http://sourceforge.net/p/pywikipediabot/feature-requests/349/
See Also:
https://bugzilla.mozilla.org/show_bug.cgi?id=919122
https://sourceforge.net/p/pywikipediabot/feature-requests/349/

Details

Reference
bz54416

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:07 AM
bzimport set Reference to bz54416.

Probably an upstream bug since sf recently changed their url structure:

https://bugzilla.mozilla.org/show_bug.cgi?id=624522

Change 85399 had a related patch set uploaded by Legoktm:
Add support for sf.net Allura URLs to Bugzilla's 'See also' field

https://gerrit.wikimedia.org/r/85399

Change 85399 merged by Dzahn:
Add support for sf.net Allura URLs to Bugzilla's 'See also' field

https://gerrit.wikimedia.org/r/85399

seems it doesn't match properly yet. Because we now list sourceforge bugs as valid but i couldn't add a random one like:

http://sourceforge.net/p/pywikipediabot/bugs/1674/ is not a valid URL to a bug.

So http://sourceforge.net/p/pywikipediabot/bugs/1674 works,

http://sourceforge.net/p/pywikipediabot/bugs/1674/ does not.

I'll leave this ticket open and it's up to Legoktm whether to write a followup patch to attach an optional / at the end of the URL. :)

Thanks Daniel for merging Legoktm's patch (so work to import pywikipedia reports from SourceForge to Bugzilla can continue)!

Change 85883 had a related patch set uploaded by Legoktm:
Optional / at the end of the url

https://gerrit.wikimedia.org/r/85883

I also modified the import script in https://gerrit.wikimedia.org/r/#/c/85884/ to strip the trailing /, so this is no longer a blocker.

I'll run the import in a few hours once I'm on a more stable internet connection.

Bleh, https://sourceforge.net/p/pywikipediabot/feature-requests/349 does not work either since the '-' in feature-requests isn't matched in the regex. I'll amend the current patch to cover that.

Change 85883 merged by Dzahn:
Optional / at the end of the url, allow for - to be in bugtype

https://gerrit.wikimedia.org/r/85883

merged. And now i could add the URL from the bug title as "See also". resolved