Uncommited documentation from my working copy

This commit is contained in:
Sam Reed 2011-06-25 16:15:44 +00:00
parent 62d313ab51
commit b0d659bb21
2 changed files with 10 additions and 2 deletions

View file

@ -438,12 +438,13 @@ class XmlDumpWriter {
/**
* Closes the output stream with the closing root element.
* Call when finished dumping things.
*
* @return string
*/
function closeStream() {
return "</mediawiki>\n";
}
/**
* Opens a <page> section on the output stream, with data
* from the given database row.
@ -616,6 +617,11 @@ class XmlDumpWriter {
return '';
}
/**
* @param $file File
* @param $dumpContents bool
* @return string
*/
function writeUpload( $file, $dumpContents = false ) {
if ( $file->isOld() ) {
$archiveName = " " .

View file

@ -1431,7 +1431,9 @@ abstract class File {
* 160 log 2 / log 36 = 30.95, so the 160-bit hash fills 31 digits in base 36
* fairly neatly.
*
* Returns false on failure
* @param $path string
*
* @return false on failure
*
* @param $path string
*