Last modified: 2012-12-27 00:40:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44305, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42305 - UW flickr upload doesn't recognize static flickr links
UW flickr upload doesn't recognize static flickr links
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nischay Nahata
:
Depends on:
Blocks: 43450
  Show dependency treegraph
 
Reported: 2012-11-20 22:08 UTC by Lupo
Modified: 2012-12-27 00:40 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Lupo 2012-11-20 22:08:48 UTC
Static Flickr links are not recognized.

http://farm4.staticflickr.com/3128/3118440661_5f0867b8a0_b.jpg

Should be able to handle both .staticflickr.com and static.flickr.com

Should be able to extract the image ID from this (it's 3118440661)

Once you've got the image ID, getting image info is peanuts.
Comment 1 Lupo 2012-11-20 23:17:43 UTC
Oh, and while we're on URL formats: there are also a few flickr links out there that contain strange path components. (When I researched this, I found many mentions that these were for clicktracking.) Such links look like this:

http://www.flickr.com/x/t/0099009/photos/4blogs/3072644853/ 

http://www.flickr.com/x/t/0092009/photos/pasfam/147426941/

http://www.flickr.com/x/t/0094009/photos/elisfanclub/371751378/ 

The "x/t/.../" part can be safely skipped.
Comment 2 Nischay Nahata 2012-11-21 10:02:03 UTC
I am working on this, meanwhile its a good time to add other URL formats we need to support. I don't think this is all ;)
Comment 3 Nischay Nahata 2012-11-21 10:59:15 UTC
https://gerrit.wikimedia.org/r/#/c/34506/
Comment 4 Ryan Kaldari 2012-11-23 02:43:25 UTC
Merged.
Comment 5 Waldir 2012-12-12 03:35:04 UTC
(In reply to comment #2)
> I am working on this, meanwhile its a good time to add other URL formats we
> need to support. I don't think this is all ;)

I added a few on bug #28731.
Comment 6 Nischay Nahata 2012-12-12 16:52:27 UTC
A bit unrelated here, I was talking about links that all contain the photo-id not other sources.. a better place for this is https://bugzilla.wikimedia.org/show_bug.cgi?id=42964

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links