From Fedora Project Wiki
(Created page with '== Local junk == * mw init API_URL * mw login * mw logout == Fetching == * mw fetch [ --rv=DATESPEC ] PAGE_NAME * mw fetch-category [ --rv=DATESPEC ] CATEGORY_NAME * mw fetch-...')
 
(test edit with mw)
Line 1: Line 1:
Roadmap of what we want to do with mw.
== Local junk ==
== Local junk ==



Revision as of 18:23, 30 January 2011

Roadmap of what we want to do with mw.

Local junk

  • mw init API_URL
  • mw login
  • mw logout

Fetching

  • mw fetch [ --rv=DATESPEC ] PAGE_NAME
  • mw fetch-category [ --rv=DATESPEC ] CATEGORY_NAME
  • mw fetch-all [ --rv=DATESPEC ]
  • mw update [ FILE ... ]

Page functions

  • mw add FILE ...
  • mw delete FILE ...
  • mw move OLD_FILE NEW_FILE
  • mw protect FILE ...
  • mw watch FILE ...
  • mw unwatch FILE ...

History and repo status

  • mw status [ FILE ... ]
  • mw diff [ --rv=REV_ID ] [ FILE ... ]
  • mw blame FILE

Committing / editing

  • mw commit [ FILE ]
  • mw undo REV_ID
  • mw revert REV_ID

Repository directory layout

<repo>/
  .mw/
    config
  cat/
    <folders with symlinks to pages in category>
  img/
    <where stuff from the Media/File/Image namespaces go>
  <all pages -- subpages have slashes converted to exclamation points>

Things that would be rockin' but totally not needed

  • Local preview (requires MediaWiki and deps to be installed)