Index: branches/FileBackend/phase3/includes/filerepo/backend/FileBackendMultiWrite.php |
— | — | @@ -30,7 +30,7 @@ |
31 | 31 | protected $masterIndex = -1; // index of master backend |
32 | 32 | |
33 | 33 | /** |
34 | | - * Construct a proxy backend that consist of several internal backends. |
| 34 | + * Construct a proxy backend that consists of several internal backends. |
35 | 35 | * $config contains: |
36 | 36 | * 'name' : The name of the proxy backend |
37 | 37 | * 'lockManager' : Registered name of the file lock manager to use |
Index: branches/FileBackend/phase3/includes/filerepo/backend/FileOp.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | * Helper class for representing operations with transaction support. |
10 | 10 | * FileBackend::doOperations() will require these classes for supported operations. |
11 | 11 | * |
12 | | - * Access use of large fields should be avoided as we want to be able to support |
| 12 | + * Use of large fields should be avoided as we want to be able to support |
13 | 13 | * potentially many FileOp classes in large arrays in memory. |
14 | 14 | * |
15 | 15 | * @ingroup FileBackend |
Index: branches/FileBackend/phase3/includes/filerepo/backend/FSFileBackend.php |
— | — | @@ -7,7 +7,7 @@ |
8 | 8 | /** |
9 | 9 | * Class for a file system based file backend. |
10 | 10 | * Status messages should avoid mentioning the internal FS paths. |
11 | | - * Likewise, error suppression should be used to path disclosure. |
| 11 | + * Likewise, error suppression should be used to avoid path disclosure. |
12 | 12 | * |
13 | 13 | * @ingroup FileBackend |
14 | 14 | */ |
Index: branches/FileBackend/phase3/includes/filerepo/backend/LockManager.php |
— | — | @@ -3,7 +3,7 @@ |
4 | 4 | * FileBackend helper class for handling file locking. |
5 | 5 | * Locks on resource keys can either be shared or exclusive. |
6 | 6 | * |
7 | | - * Implemenations can keep track of what is locked in the process cache. |
| 7 | + * Implementations can keep track of what is locked in the process cache. |
8 | 8 | * This can reduce hits to external resources for lock()/unlock() calls. |
9 | 9 | * |
10 | 10 | * Subclasses should avoid throwing exceptions at all costs. |
Index: branches/FileBackend/phase3/includes/filerepo/backend/FileBackend.php |
— | — | @@ -64,7 +64,7 @@ |
65 | 65 | * |
66 | 66 | * Using $ops: |
67 | 67 | * $ops is an array of arrays. The first array holds a list of operations. |
68 | | - * The inner array contains the parameters, E.G: |
| 68 | + * The inner array contains the parameters, e.g: |
69 | 69 | * <code> |
70 | 70 | * $ops = array( |
71 | 71 | * array( |
— | — | @@ -94,7 +94,7 @@ |
95 | 95 | |
96 | 96 | /** |
97 | 97 | * Prepare a storage path for usage. This will create containers |
98 | | - * that don't yet exists or, on FS backends, create parent directories. |
| 98 | + * that don't yet exist or, on FS backends, create parent directories. |
99 | 99 | * |
100 | 100 | * $params include: |
101 | 101 | * dir : storage directory |
— | — | @@ -350,7 +350,7 @@ |
351 | 351 | abstract public function delete( array $params ); |
352 | 352 | |
353 | 353 | /** |
354 | | - * Combines files from severals storage paths into a new file in the backend. |
| 354 | + * Combines files from several storage paths into a new file in the backend. |
355 | 355 | * Do not call this function from places outside FileBackend and FileOp. |
356 | 356 | * $params include: |
357 | 357 | * srcs : ordered source storage paths (e.g. chunk1, chunk2, ...) |
— | — | @@ -388,10 +388,10 @@ |
389 | 389 | } |
390 | 390 | |
391 | 391 | /** |
392 | | - * Whether this backend implements move() and it applies to a potential |
393 | | - * move from one storage path to another. No backends hits are required. |
394 | | - * For example, moving objects accross containers may not be supported. |
395 | | - * Do not call this function from places outside FileBackend and FileOp. |
| 392 | + * Whether this backend can perform a move from one storage path to another. |
| 393 | + * No backend hits are required. For example, moving objects across |
| 394 | + * containers may not be supported. Do not call this function from places |
| 395 | + * outside FileBackend and FileOp. |
396 | 396 | * $params include: |
397 | 397 | * src : source storage path |
398 | 398 | * dst : destination storage path |
— | — | @@ -623,7 +623,7 @@ |
624 | 624 | |
625 | 625 | /** |
626 | 626 | * Validate and normalize a relative storage path. |
627 | | - * Null is returned if the path involves directory traveral. |
| 627 | + * Null is returned if the path involves directory traversal. |
628 | 628 | * Traversal is insecure for FS backends and likely broken for others. |
629 | 629 | * |
630 | 630 | * @param $path string |