Strip out our API and use simplemediawiki
[mw] / README
1 mw - VCS-like nonsense for MediaWiki websites
2 Copyright (C) 2010  Ian Weller <ian@ianweller.org>
3
4 == Basic workflow ==
5 We don't have a nice installation process yet, so set the following alias:
6   alias mw="PYTHONPATH=PATH_TO/mw/src PATH_TO/mw/bin/mw"
7 where PATH_TO is the path to your local mw repository.
8
9 mw init http://example.com/w/api.php
10 mw login # if you need/want to
11 mw pull 'Main Page'
12 $EDITOR Main_Page.wiki
13 mw fetch # check for newer revisions; this command doesn't exist yet
14 mw update # apply newer revisions; this command doesn't exist yet
15 mw commit
16
17 == License ==
18 This program is free software; you can redistribute it and/or modify
19 it under the terms of the GNU General Public License as published by
20 the Free Software Foundation; either version 2 of the License, or
21 (at your option) any later version.
22
23 This program is distributed in the hope that it will be useful,
24 but WITHOUT ANY WARRANTY; without even the implied warranty of
25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26 GNU General Public License for more details.
27
28 You should have received a copy of the GNU General Public License along
29 with this program.  If not, see <http://www.gnu.org/licenses/>.

Benjamin Mako Hill || Want to submit a patch?