On Wed, Sep 28, 2011 at 12:49 AM, Happy Melon <happy.melon.w...@gmail.com>wrote:
> On 27 September 2011 22:38, Daniel Friesen <li...@nadir-seen-fire.com > >wrote: > > > On 11-09-27 02:18 PM, Olivier Beaton wrote: > > >>> * File path > > >> Special:Filepath is an important special page for linking. If you have > > >> uploads then Special:Filepath is the only way for bots and other 3rd > > >> party tools to reliably get a link to a media file. If we get rid of > > >> Special:Filepath we get rid of the one thing making a rewrite of the > > >> upload system and paths used a reasonable possibility. > > > > We should just make http://my.wiki/wiki/Media:Foo.jpg redirect to the > appropriate url; simple and effective. There's really no need for a > special > page for this. Although now that it's in, we can't really get rid of it... > :-( > > --HM > That, and that Special:FilePath also supports a width parameter to get the path to a thumbnail without having to calculate it's dimensions, make assumptions about the upload path or make one or more API requests. And it links to the original size if the requested width is larger than the original width. -- Krinkle _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l