Index: trunk/phase3/includes/filerepo/OldLocalFile.php |
— | — | @@ -1,6 +1,6 @@ |
2 | 2 | <?php |
3 | 3 | /** |
4 | | - * Old file in the in the oldimage table |
| 4 | + * Old file in the oldimage table |
5 | 5 | * |
6 | 6 | * @file |
7 | 7 | * @ingroup FileRepo |
Index: trunk/phase3/includes/filerepo/LocalFile.php |
— | — | @@ -33,7 +33,7 @@ |
34 | 34 | * @private |
35 | 35 | */ |
36 | 36 | var |
37 | | - $fileExists, # does the file file exist on disk? (loadFromXxx) |
| 37 | + $fileExists, # does the file exist on disk? (loadFromXxx) |
38 | 38 | $historyLine, # Number of line to return by nextHistoryLine() (constructor) |
39 | 39 | $historyRes, # result of the query for the file's history (nextHistoryLine) |
40 | 40 | $width, # \ |
— | — | @@ -549,8 +549,8 @@ |
550 | 550 | /** isTrustedFile inherited */ |
551 | 551 | |
552 | 552 | /** |
553 | | - * Returns true if the file file exists on disk. |
554 | | - * @return boolean Whether file file exist on disk. |
| 553 | + * Returns true if the file exists on disk. |
| 554 | + * @return boolean Whether file exist on disk. |
555 | 555 | */ |
556 | 556 | public function exists() { |
557 | 557 | $this->load(); |
Index: trunk/phase3/thumb.php |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | if ( isset( $params['p'] ) ) { |
43 | 43 | $params['page'] = $params['p']; |
44 | 44 | } |
45 | | - unset( $params['r'] ); |
| 45 | + unset( $params['r'] ); // ignore 'r' because we unconditionally pass File::RENDER |
46 | 46 | |
47 | 47 | // Is this a thumb of an archived file? |
48 | 48 | $isOld = (isset( $params['archived'] ) && $params['archived']); |