Skip to content

willjp/mediawiki-dump2html

Repository files navigation

mediawiki-dump2html

Automation around pandoc to to converts a mediawiki XML dump to a static html site.

Because you should never not have access to your notes.

Features

  • much faster than wget, and similar approaches
  • incremental backups (only replace missing, outdated page revisions)
  • syntaxhighlighting preserved

Requires

Install

go install github.com/willjp/mediawiki-dump2html@latest

# append $GOBIN to your $PATH
PATH=${PATH}:${GOBIN:=~/go/bin}

Usage

# dump your wiki
php ${your_wiki}/maintenance/dumpBackup.php --current --quiet > dump.xml

# generate statichtml
mediawiki-dump2html -i dump.xml -o out/

About

Converts a mediawiki xml dump to static html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages