Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mojomojo_cli import [long options...]
- Stuff is ::Load, ::Transform ::Finalise'ed based on arguments ...
- modules will just 'skip' if they don't like the arguments... so not configuring one means it'll likely not do anything...
- generally the first option listed is the magic one to make that module go
- ::DirectoryOfText - import a directory of text files... no magic except #ABSTRACT:...\n
- --from-directory a stack of plain text
- --trim-names remove this from the start of the name [default is --from-directory+/]
- --index-name the file name to use as the contents
- ::Feed - Fill your wiki with things from a feed
- --feed-from which mediawiki feed file to load from
- ::MediaWikiXML - Load mediawiki stuff from an xml file
- --xml-from which mediawiki xml file to load from
- --xml-debug spew out xml related debug info
- --xml-latest dont load up all revisions of the page
- ::PrintOut
- --print show what's loaded, titles (=long for titles,revs and comments
- --dump =s dump the contents of a title
- ::LoadIntoMojoMojo - Stuff things into the mojomojo schema, the hard way
- --mojo-namespace the base for the import
- --mojo-index the index name, /mojo-index -> /
- ::DropPages
- --drop-named remove pages whos names match this
- --drop-nothing do not remove anything (Default drops mediawiki-ish things)
- --drop-debug list the things that match (and are dropped)
- ::MediaWikiToMarkdown
- ::ExtractWIkiLinks
- ::ManglePages - Mangle mediawiki categories->tags and links
- --links correct mediawiki link sillyness (in all revs)
- --tags mediawiki uses [[Category:Foo]] links to categorise pages. mojomojo has tags instead
- =no: leave links. no tagging.
- =remove: strip links. no tagging.
- =leave: leave links. tagging.
- defualt: strip links. tagging.
- --mojo-namespace the base for the import (shared)
Add Comment
Please, Sign In to add comment