MediaWiki  1.23.2
DumpNamespaceFilter Class Reference

Dump output filter to include or exclude pages in a given set of namespaces. More...

Inheritance diagram for DumpNamespaceFilter:
Collaboration diagram for DumpNamespaceFilter:

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
 

Detailed Description

Dump output filter to include or exclude pages in a given set of namespaces.

Definition at line 1351 of file Export.php.

Constructor & Destructor Documentation

◆ __construct()

DumpNamespaceFilter::__construct ( $sink,
  $param 
)

Member Function Documentation

◆ pass()

DumpNamespaceFilter::pass (   $page)
Parameters
$page
Returns
bool

Reimplemented from DumpFilter.

Definition at line 1406 of file Export.php.

References namespaces.

Member Data Documentation

◆ $invert

DumpNamespaceFilter::$invert = false

Definition at line 1352 of file Export.php.

◆ $namespaces

DumpNamespaceFilter::$namespaces = array()

Definition at line 1353 of file Export.php.


The documentation for this class was generated from the following file: