Maintenance class for the fast export of special page aliases and magic words. More...
Public Member Functions | |
__construct () | |
execute () | |
Protected Member Functions | |
openHandles () | |
Iterate through all groups, loading current data from the existing extension and opening message files for message output. | |
readHeader ($file) | |
writeHeaders () | |
Write the opening of the files for each output file handle. | |
writeFiles () | |
Itterate through available languages, loading and parsing the data message from the MediaWiki namespace and writing the data to its output file handle. | |
writeFooters () | |
Do whatever needs doing after writing the primary content. | |
closeHandles () | |
Close all output file handles. | |
Protected Attributes | |
$type | |
$target | |
$handles = array() | |
$messagesOld = array() |
Maintenance class for the fast export of special page aliases and magic words.
Definition at line 17 of file magic-export.php.
MagicExport::__construct | ( | ) |
Definition at line 24 of file magic-export.php.
MagicExport::closeHandles | ( | ) | [protected] |
Close all output file handles.
Definition at line 288 of file magic-export.php.
Referenced by execute().
MagicExport::execute | ( | ) |
MagicExport::openHandles | ( | ) | [protected] |
Iterate through all groups, loading current data from the existing extension and opening message files for message output.
Definition at line 68 of file magic-export.php.
Referenced by execute().
MagicExport::readHeader | ( | $ | file | ) | [protected] |
Definition at line 133 of file magic-export.php.
Referenced by openHandles().
MagicExport::writeFiles | ( | ) | [protected] |
Itterate through available languages, loading and parsing the data message from the MediaWiki namespace and writing the data to its output file handle.
Definition at line 179 of file magic-export.php.
Referenced by execute().
MagicExport::writeFooters | ( | ) | [protected] |
Do whatever needs doing after writing the primary content.
Definition at line 281 of file magic-export.php.
Referenced by execute().
MagicExport::writeHeaders | ( | ) | [protected] |
Write the opening of the files for each output file handle.
Definition at line 150 of file magic-export.php.
Referenced by execute().
MagicExport::$handles = array() [protected] |
Definition at line 21 of file magic-export.php.
MagicExport::$messagesOld = array() [protected] |
Definition at line 22 of file magic-export.php.
MagicExport::$target [protected] |
Definition at line 19 of file magic-export.php.
MagicExport::$type [protected] |
Definition at line 18 of file magic-export.php.