Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tim Starling
A File object represents the thing that the user uploads to MediaWiki. It has metadata, a description page, archived versions and thumbnails. FileBackend deals with storing individual archived versions, thumbnails, etc. on disk or in remote storage. It can be plugged into any FileRepo or even unre

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
Actually, not I'm not even sure whether I should be overriding File or FileRepo, because in reality all the storage happens in FileBackend. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 2015 Major in Computer Science www.whizkidztech.com | tylerro...@gmail.com On Tue, Jan 15, 2013

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
I just read it over. The only frustrating thing is trying to figure out which of the approximately 100 functions in the File class need to be overloaded and then which of the 100 additional functions in FileRepo need to be overloaded. *--* *Tyler Romeo* Stevens Institute of Technology, Class of 20

Re: [Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread bawolff
On Tue, Jan 15, 2013 at 10:27 AM, Tyler Romeo wrote: > Hey, > > Are there any resources that explain how MediaWiki's file repositories > work? I've been going through the code, but between the various FileRepo > classes and their corresponding File classes, it's way too confusing. I'm > trying to

[Wikitech-l] Somebody Explain File Repositories

2013-01-15 Thread Tyler Romeo
Hey, Are there any resources that explain how MediaWiki's file repositories work? I've been going through the code, but between the various FileRepo classes and their corresponding File classes, it's way too confusing. I'm trying to make a new FileRepo/File class to allow storage of uploads on a d