fuse-mediawiki 0.1
A fun personal project of mine, fuse-mediawiki, has been pushed to 0.1. It’s most likely still very broken, but it’d be nice if people would be able to test it a bit, submit patches, whatever.
Fetch the source with
$ git clone git://repo.or.cz/fuse-mediawiki.git
and play around. This’ll get you started with the Fedora Project wiki:
$ mkdir ~/wiki/ $ python fuse-mediawiki.git https://fedoraproject.org/w/index.php ~/wiki/ --auth-basic -u FAS_USERNAME $ mkdir -p ~/wiki/content/User:Ianweller/ $ vim ~/wiki/content/User:Ianweller/fuse-mediawiki_playground.wiki
and a :wq and changes will be committed to the wiki. Exit the filesystem with
$ fusermount -u ~/wiki/
Do NOT, under any circumstances, use this for real work and blame me for any damage caused. However, please do test it in places where it doesn’t matter what happens, and let me know what breaks.
There is currently nothing to prevent you from overwriting somebody else’s changes. There is currently nothing that clears out the cache of a page unless you remount it.
I have no clue how this works in Emacs, or gedit, or anything else. Patches welcome to fix it. :)
If you’re trying to debug something, pass the -f option to the end of the command line; it’ll put the program in the foreground and print fun debugging information. Read the README for more info.
This may be a personal project, but if somebody would like to work on this with me, that’d be great! Shoot me an email.
Edit: I fail. The correct option for auth_basic is --http-basic.


![[FSF Associate Member]](/pub/88x31/fsf-member-7305.png)

:-)
the current git version is somewhat broken, but the snapshot works, I think…
I’m somewhat confused how this is actually supposed to work. The mounted system appears as
d????????? ? ? ? ? ? mediawiki
with ls -lah, no directories or files can be created from the command line, and I’m lost how I should be able to edit for example the Finnish Wikipedia sandbox, http://fi.wikipedia.org/wiki/Wikipedia:Hiekkalaatikko