MediaWiki
1.23.2
|
Dump output filter to include or exclude pages in a given set of namespaces. More...
Public Member Functions | |
__construct (&$sink, $param) | |
pass ( $page) | |
Public Member Functions inherited from DumpFilter | |
__construct (&$sink) | |
closeAndRename ( $newname, $open=false) | |
closeRenameAndReopen ( $newname) | |
getFilenames () | |
writeClosePage ( $string) | |
writeCloseStream ( $string) | |
writeLogItem ( $rev, $string) | |
writeOpenPage ( $page, $string) | |
writeOpenStream ( $string) | |
writeRevision ( $rev, $string) | |
Public Attributes | |
$invert = false | |
$namespaces = array() | |
Public Attributes inherited from DumpFilter | |
DumpOutput | $sink |
FIXME will need to be made protected whenever legacy code is updated. More... | |
Additional Inherited Members | |
Protected Attributes inherited from DumpFilter | |
bool | $sendingThisPage |
Dump output filter to include or exclude pages in a given set of namespaces.
Definition at line 1351 of file Export.php.
DumpNamespaceFilter::__construct | ( | & | $sink, |
$param | |||
) |
$sink | DumpOutput |
$param |
MWException |
Definition at line 1360 of file Export.php.
References DumpFilter\$sink, array(), as, namespaces, NS_CATEGORY, NS_CATEGORY_TALK, NS_FILE, NS_FILE_TALK, NS_HELP, NS_HELP_TALK, NS_IMAGE, NS_IMAGE_TALK, NS_MAIN, NS_MEDIAWIKI, NS_MEDIAWIKI_TALK, NS_PROJECT, NS_PROJECT_TALK, NS_TALK, NS_TEMPLATE, NS_TEMPLATE_TALK, NS_USER, and NS_USER_TALK.
DumpNamespaceFilter::pass | ( | $page | ) |
$page |
Reimplemented from DumpFilter.
Definition at line 1406 of file Export.php.
References namespaces.
DumpNamespaceFilter::$invert = false |
Definition at line 1352 of file Export.php.
DumpNamespaceFilter::$namespaces = array() |
Definition at line 1353 of file Export.php.