MediaWiki REL1_32
DumpOutput.php
Go to the documentation of this file.
1<?php
30
34 function writeOpenStream( $string ) {
35 $this->write( $string );
36 }
37
41 function writeCloseStream( $string ) {
42 $this->write( $string );
43 }
44
49 function writeOpenPage( $page, $string ) {
50 $this->write( $string );
51 }
52
56 function writeClosePage( $string ) {
57 $this->write( $string );
58 }
59
64 function writeRevision( $rev, $string ) {
65 $this->write( $string );
66 }
67
72 function writeLogItem( $rev, $string ) {
73 $this->write( $string );
74 }
75
81 function write( $string ) {
82 print $string;
83 }
84
92 function closeRenameAndReopen( $newname ) {
93 }
94
103 function closeAndRename( $newname, $open = false ) {
104 }
105
111 function getFilenames() {
112 return null;
113 }
114}
writeOpenPage( $page, $string)
writeOpenStream( $string)
writeRevision( $rev, $string)
write( $string)
Override to write to a different stream type.
getFilenames()
Returns the name of the file or files which are being written to, if there are any.
writeClosePage( $string)
writeCloseStream( $string)
closeRenameAndReopen( $newname)
Close the old file, move it to a specified name, and reopen new file with the old name.
closeAndRename( $newname, $open=false)
Close the old file, and move it to a specified name.
writeLogItem( $rev, $string)
presenting them properly to the user as errors is done by the caller return true use this to change the list i e etc $rev
Definition hooks.txt:1818
while(( $__line=Maintenance::readconsole()) !==false) print
Definition eval.php:64