Skip to content

About

Haskell parsers for MediaWiki markup

Topics

Resources

Stars

6 stars

Watchers

2 watching

Forks

Latest commit

 

History

127 Commits

Folders and files

Repository files navigation

mediawiki-parser

Parser for the MediaWiki markup language for GHC Haskell.

This package only provides the library --- the development of executables that convert MediaWiki to another format is left to the dependee.

Link Graph Utility

The only executable offered in this package is the mediawiki-links utility which accepts a MediaWiki XML dump file on stdin and writes a set of link graph edges to stdout. The output format is a tab-separated text file with the following columns,

  • source node name
  • link target node name
  • link target namespace
  • link anchor text

Installation

  1. Download and install Haskell Platform
  2. Run cabal update
  3. Clone this repository, git clone git://github.com/bgamari/mediawiki-parser
  4. Run cabal install from within the repository
  5. The mediawiki-import executable can be found in ~/.cabal/bin

About

Haskell parsers for MediaWiki markup

Topics

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages