Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Vogel authored Jul 16, 2021
1 parent fa7d353 commit 686005a
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# MediaWiki XML library

This library can be used to create XML that can be imported into MediaWiki.

See also https://www.mediawiki.org/wiki/Manual:ImportDump.php

## How to use

```php
$builder = new Builder();
$builder->addRevision( "Some page title", "Some wiki text" );
$builder->buildAndSave( "/path/to/ouput.xml" );
```

0 comments on commit 686005a

Please sign in to comment.