aboutsummaryrefslogtreecommitdiffstats
path: root/includes/filerepo/file/LocalFile.php
Commit message (Collapse)AuthorAgeFilesLines
* Disable file locking for thumbnail purging just as it already is with ↵Aaron Schulz2012-03-221-1/+1
| | | | | | | creation/updates (for performance). Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/113441
* MFT r112918, r113214, r113268, r113277, r113312, r113415, r113454, r113737, ↵Sam Reed2012-03-161-3/+10
| | | | | | | r113758, r113775, r113892 Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/114015
* enhance filerepo doc structureAntoine Musso2012-02-081-5/+5
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/110938
* Pass the user doing the upload to WikiPage::doEdit()Alexandre Emsenhuber2011-12-271-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107383
* In LocalFile:Aaron Schulz2011-12-261-79/+82
| | | | | | | | | | | | | | | | | * Removed bogus rmdir() call. * Added lock() calls to upgradeRow()/getSha1(). * Use FileRepo getFileSha1() in getSha1() rather than via FSFile. * Made purgeThumbList()/migrateThumbFile() use FileRepo::cleanupBatch(). * A few other minor cleanups. * w/s cleanup in recordUpload2(). In FSRepo: * Removed deleted zone config code from constructor; useless since r107028. In FileBackend: * Make sure 'latest' param gets passed through via $params for some functions. * Cleaned up doMoveInternal() to use *_Internal() functions. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107347
* FU r106752: fixed call to bogus function in LocalFile::getSha1()Aaron Schulz2011-12-241-1/+1
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/107194
* Cleaned up some references to FSRepo in code and comments. This should have ↵Aaron Schulz2011-12-201-5/+5
| | | | | | | no noticeable functional changes. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106841
* follow-up r98710/r104410. I personally think that forRefresh is confusing, ↵Brian Wolff2011-12-201-1/+1
| | | | | | | since a purge is always in essence a "refresh"ing operation. change it to forThumbRefresh. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106761
* Merged FileBackend branch. Manually avoiding merging the many prop-only ↵Aaron Schulz2011-12-201-30/+27
| | | | | | | changes SVN likes to sprinkle in (easy to spot from the change list). Did not add SwiftFileBackend.php as it still is in development. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/106752
* purgeThumbList debug message is now a onelinerAntoine Musso2011-12-081-1/+6
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105543
* Revert r105140 temporarily. The exception is thrown while running the parser ↵Roan Kattouw2011-12-051-3/+0
| | | | | | | tests (at least from Jenkins, haven't tried locally), which completely breaks the test suite and renders Jenkins useless. Feel free to reapply once the cause of the oi_archive_name bug is fixed and committing this won't cause exceptions to be thrown in Jenkins's face. Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105153
* Added file old version name sanity check to recordUpload2()Aaron Schulz2011-12-041-0/+3
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/105140
* Fix r104410: Added default value for $options to purgeThumbnails(), not sure ↵Aaron Schulz2011-11-281-1/+1
| | | | | | | how this was lost in the patch Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104412
* FU r104410: don't even bother calling filterThumbnailPurgeList() if ↵Aaron Schulz2011-11-281-3/+5
| | | | | | | 'forRefresh' isn't set to be safe Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104411
* Restored r98710 but with a 'forRefresh' option (not used yet)Aaron Schulz2011-11-281-3/+10
| | | | Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/104410
* Moved File classes to filerepo/file (as well as ArchivedFile)Aaron Schulz2011-11-161-0/+2323
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/103403