User "Tim Starling" posted a comment on MediaWiki.r85635. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/85635#c17312 Commit summary:
First part of bug 22881: Allow uploading directly into the archive to support importing files. Based on a patch by Vitaliy Filippov with some major rewrites by me. * LocalFile::publish() supports an extra parameter to support publishing into the archive * Added OldLocalFile::uploadOld(), which is the OldImage equivalent to LocalFile::upload(), but does not override it because it has an entirely different function signature. Comment: You could use a separate method name with LocalFile-specific functionality, and have LocalFile::publish() call it. _______________________________________________ MediaWiki-CodeReview mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview
