Index: trunk/phase3/includes/Export.php |
— | — | @@ -438,12 +438,13 @@ |
439 | 439 | /** |
440 | 440 | * Closes the output stream with the closing root element. |
441 | 441 | * Call when finished dumping things. |
| 442 | + * |
| 443 | + * @return string |
442 | 444 | */ |
443 | 445 | function closeStream() { |
444 | 446 | return "</mediawiki>\n"; |
445 | 447 | } |
446 | 448 | |
447 | | - |
448 | 449 | /** |
449 | 450 | * Opens a <page> section on the output stream, with data |
450 | 451 | * from the given database row. |
— | — | @@ -616,6 +617,11 @@ |
617 | 618 | return ''; |
618 | 619 | } |
619 | 620 | |
| 621 | + /** |
| 622 | + * @param $file File |
| 623 | + * @param $dumpContents bool |
| 624 | + * @return string |
| 625 | + */ |
620 | 626 | function writeUpload( $file, $dumpContents = false ) { |
621 | 627 | if ( $file->isOld() ) { |
622 | 628 | $archiveName = " " . |
Index: trunk/phase3/includes/filerepo/File.php |
— | — | @@ -1431,8 +1431,10 @@ |
1432 | 1432 | * 160 log 2 / log 36 = 30.95, so the 160-bit hash fills 31 digits in base 36 |
1433 | 1433 | * fairly neatly. |
1434 | 1434 | * |
1435 | | - * Returns false on failure |
| 1435 | + * @param $path string |
1436 | 1436 | * |
| 1437 | + * @return false on failure |
| 1438 | + * |
1437 | 1439 | * @param $path string |
1438 | 1440 | * |
1439 | 1441 | * @return false|string |