samhuri.net/public/posts/2006/05/wikipediafs-on-linux-in-python.md
Sami Samhuri b34ddbb600 fix code blocks on narrow screens, change post extensions
- Code blocks can't be in tables or they extend past the body width.
  Workaround by using floated line numbers instead.

- Fix typocode CSS

- Change post extension from .html.md to .md. This makes URLs without
  extensions work with harp server again. This change works now that
  article titles never contain periods.
2014-03-03 22:47:21 -08:00

932 B

Until now I've been using my own version of pywikipedia for scripting MediaWiki, and it works well. But I read about WikipediaFS and had to check it out. It's a user space filesystem for Linux that's built using the Python bindings for FUSE. What it does is mounts a filesystem that represents your wiki, with articles as text files. You can use them just like any other files with mv, cp, ls, vim, and so on.

There hasen't been any action on that project for 13 months though, and it doesn't work on my wiki (MediaWiki 1.4.15) so I'm going to try and make it work after I upgrade to MediaWiki 1.6.3 tonight. This will be pretty cool when it works. I haven't looked at the code yet but it's only 650 lines.