Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\Maintenance\DumpRdf Class Reference
Collaboration diagram for SMW\Maintenance\DumpRdf:
Collaboration graph
[legend]

Public Member Functions

 __construct ()
 
 execute ()
 
 reportMessage ($message)
 

Protected Member Functions

 addDefaultParams ()
 

Detailed Description

Usage: php dumpRDF.php [options...]

–file (-o) <file> Export everything to given output file, stdout is used if omitted; file output is generally better and strongly recommended for large wikis –categories Export only categories –concepts Export only concepts –classes Export only concepts and categories –properties Export only properties –types Export only types –individuals Export only pages that are no categories, properties, or types –page <pagelist> Export only pages included in the <pagelist> with | being used as a separator. Example: –page "Page 1|Page 2", -e, -file, -d are ignored if –page is given. -d <delay> Slows down the export in order to stress the server less, sleeping for <delay> milliseconds every now and then -e <each> After how many exported entities should the process take a nap? –server=<server> The protocol and server name to as base URLs, e.g. https://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts.

GNU GPL v2+

Since
2.0
Author
Markus Krötzsch
mwjames

Constructor & Destructor Documentation

SMW\Maintenance\DumpRdf::__construct ( )
Since
2.0

Member Function Documentation

SMW\Maintenance\DumpRdf::addDefaultParams ( )
protected
See also
Maintenance::addDefaultParams
Since
2.0
SMW\Maintenance\DumpRdf::execute ( )
See also
Maintenance::execute
Since
2.0
SMW\Maintenance\DumpRdf::reportMessage (   $message)
See also
Maintenance::reportMessage
Since
2.0
Parameters
string$message

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