Old-style writer for MediaWiki i18n format (one file per language). More...
Public Member Functions | |
makeExportArray (MessageCollection $messages) | |
Preprocesses MessageArray to suitable format and filters things that should not be exported. | |
Static Public Member Functions | |
static | quote ($value) |
Public Attributes | |
$commaToArray = false | |
Protected Member Functions | |
exportStaticHeader ($target) | |
exportMessages ($handle, MessageCollection $collection) | |
writeMessagesBlockComment ($handle, $blockComment) | |
writeMessagesBlock ($handle, $messages, $prefix= '') | |
exportItemPad ($handle, $key, $value, $pad=0) |
Old-style writer for MediaWiki i18n format (one file per language).
Definition at line 82 of file Wiki.php.
WikiFormatWriter::exportItemPad | ( | $ | handle, | |
$ | key, | |||
$ | value, | |||
$ | pad = 0 | |||
) | [protected] |
Definition at line 203 of file Wiki.php.
Referenced by writeMessagesBlock().
WikiFormatWriter::exportMessages | ( | $ | handle, | |
MessageCollection $ | collection | |||
) | [protected] |
Reimplemented from SimpleFormatWriter.
Definition at line 111 of file Wiki.php.
WikiFormatWriter::exportStaticHeader | ( | $ | target | ) | [protected] |
Reimplemented from SimpleFormatWriter.
WikiFormatWriter::makeExportArray | ( | MessageCollection $ | messages | ) |
Preprocesses MessageArray to suitable format and filters things that should not be exported.
$messages | MessageCollection Reference of MessageArray. |
Definition at line 165 of file Wiki.php.
Referenced by exportMessages().
WikiFormatWriter::writeMessagesBlock | ( | $ | handle, | |
$ | messages, | |||
$ | prefix = '' | |||
) | [protected] |
Definition at line 191 of file Wiki.php.
Referenced by exportMessages().
WikiFormatWriter::writeMessagesBlockComment | ( | $ | handle, | |
$ | blockComment | |||
) | [protected] |
Definition at line 180 of file Wiki.php.
Referenced by exportMessages().