Guest User

Untitled

a guest
Jan 18th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. mojomojo_cli import [long options...]
  2.  
  3. Stuff is ::Load, ::Transform ::Finalise'ed based on arguments ...
  4. modules will just 'skip' if they don't like the arguments... so not configuring one means it'll likely not do anything...
  5. generally the first option listed is the magic one to make that module go
  6. ::DirectoryOfText - import a directory of text files... no magic except #ABSTRACT:...\n
  7. --from-directory a stack of plain text
  8. --trim-names remove this from the start of the name [default is --from-directory+/]
  9. --index-name the file name to use as the contents
  10. ::Feed - Fill your wiki with things from a feed
  11. --feed-from which mediawiki feed file to load from
  12. ::MediaWikiXML - Load mediawiki stuff from an xml file
  13. --xml-from which mediawiki xml file to load from
  14. --xml-debug spew out xml related debug info
  15. --xml-latest dont load up all revisions of the page
  16. ::PrintOut
  17. --print show what's loaded, titles (=long for titles,revs and comments
  18. --dump =s dump the contents of a title
  19. ::LoadIntoMojoMojo - Stuff things into the mojomojo schema, the hard way
  20. --mojo-namespace the base for the import
  21. --mojo-index the index name, /mojo-index -> /
  22. ::DropPages
  23. --drop-named remove pages whos names match this
  24. --drop-nothing do not remove anything (Default drops mediawiki-ish things)
  25. --drop-debug list the things that match (and are dropped)
  26. ::MediaWikiToMarkdown
  27. ::ExtractWIkiLinks
  28. ::ManglePages - Mangle mediawiki categories->tags and links
  29. --links correct mediawiki link sillyness (in all revs)
  30. --tags mediawiki uses [[Category:Foo]] links to categorise pages. mojomojo has tags instead
  31. =no: leave links. no tagging.
  32. =remove: strip links. no tagging.
  33. =leave: leave links. tagging.
  34. defualt: strip links. tagging.
  35. --mojo-namespace the base for the import (shared)
Add Comment
Please, Sign In to add comment