https://bugzilla.wikimedia.org/show_bug.cgi?id=26735

           Summary: Add thumbnail / width option to Special:FilePath (like
                    thumb.php?w=SIZE and [[File:Img|SIZEpx]])
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Images and files
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: krinklem...@gmail.com
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com


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

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to