Last modified: 2011-02-08 21:56:31 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 T28735, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 26735 - Add thumbnail / width option to Special:FilePath (like thumb.php?w=SIZE and [[File:Img|SIZEpx]])
Add thumbnail / width option to Special:FilePath (like thumb.php?w=SIZE and [...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.18.x
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-14 23:17 UTC by Krinkle
Modified: 2011-02-08 21:56 UTC (History)
4 users (show)

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


Attachments

Description Krinkle 2011-01-14 23:17:21 UTC
When building plugins that use material from commons (such as from WordPress) it would be ideal not to 
* Not have to hardcode thumbpath to upload.wikimedia which breaks in case of redirects
* Not have to make an API-call to get the current path

Reason for getting path is mostly because a file could become a redirect and a normal thumb will brake, while Special:FilePath and API calls stay functional because they resolve redirects.


Syntax:

/wiki/Special:FilePath/Image.jpg/200

/w/index.php?title=Special:FilePath&file=Image.jpg&width=200
Comment 1 Roan Kattouw 2011-01-15 12:14:16 UTC
Fixed in r80381.

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


Navigation
Links