1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Res: Add resources from xowa_app_windows_64_v4.5.26.1810

This commit is contained in:
gnosygnu
2018-11-02 09:58:55 -04:00
parent a672fd8340
commit 5721913241
6057 changed files with 1156950 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
# mwad - mediawiki api
This is a script for creating xml-dumps via the mediawiki api.
It is still in early development, feel free to a new [issue](https://github.com/Mattze96/mwad/issues).
Importing to @gnosygnu's offline wikipedia-reader [XOWA](https://github.com/gnosygnu/xowa) works fine..
## Installation
No additional packages are required at the moment :)
---
## Run
```
usage: mediawiki_api_dump.py [-h] [-v] [-n NAME] [-l LOG] [-c] [-x] url
Create a wiki xml-dump via api.php
positional arguments:
url download url
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose level... repeat up to three times
-n NAME, --name NAME name of the wiki for filename etc.
-l LOG, --log LOG specify log-file.
-c, --compress compress output file with bz2
-x, --xowa special XOWA mode: xml to stdout, progress to stderr
```
Example:
./mediawiki_api_dump.py http://wiki.archlinux.org