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 | [email protected] On Tue, Jan 15, 2013 at 11:54 AM, Tyler Romeo <[email protected]> wrote: > 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 2015 > Major in Computer Science > www.whizkidztech.com | [email protected] > > > On Tue, Jan 15, 2013 at 11:19 AM, bawolff <[email protected]> wrote: > >> On Tue, Jan 15, 2013 at 10:27 AM, Tyler Romeo <[email protected]> >> 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 make a new FileRepo/File class to allow storage of uploads on >> a >> > different device. >> > >> > *--* >> > *Tyler Romeo* >> > Stevens Institute of Technology, Class of 2015 >> > Major in Computer Science >> > www.whizkidztech.com >> > >> > | [email protected] >> > _______________________________________________ >> > Wikitech-l mailing list >> > [email protected] >> > https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> >> Have you read includes/filerepo/README ? >> >> Very broadly, filerepo is for stuff generic to the filerepo, and file >> objects contain info on individual files. Methods on the file objects >> get called to get info about a specific file, and often those methods >> call more general methods in the filerepo class to get the needed >> information out of the repository. >> >> -bawolff >> >> _______________________________________________ >> Wikitech-l mailing list >> [email protected] >> https://lists.wikimedia.org/mailman/listinfo/wikitech-l >> > > _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
