User "NeilK" posted a comment on MediaWiki.r94966. Full URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/94966#c21345 Commit summary:
Two bugs: 1. When the user isn't passed to UploadFromStash::__construct(), it would break when it shouldn't. 2. When stashing files, sometimes an instance of UnregisteredLocalFile would be returned instead of UploadStashFile Comment: Well, the sexy way to get the user now is to obtain it from context, right? So perhaps there could a be a 'scheduled task' context, or does this exist already? http://www.mediawiki.org/wiki/Request_Context Unfortunately using it makes your code undeployable at the moment. :( _______________________________________________ MediaWiki-CodeReview mailing list mediawiki-coderev...@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview