samhuri.net/posts/2006/05/wikipediafs-on-linux-in-python.md
Sami Samhuri 281272aa32
Normalize post tags onto a small canonical taxonomy
Existing Tags fields were messy (mixed case, duplicates, lots of
one-off tags) and 28 posts had none at all. Normalized casing,
deduped, mapped common synonyms (textmate/xcode/git -> tools, os x
variants -> mac-os-x, etc) onto a canonical set, and added 1-2
canonical tags to every previously untagged post so most posts now
carry at least one useful tag. Specific extra tags were kept
alongside the canonical ones rather than stripped.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-21 20:15:53 -07:00

1.1 KiB

Title Author Date Timestamp Tags
WikipediaFS on Linux, in Python Sami Samhuri 7th May, 2006 2006-05-07T20:49:00-07:00 coding, python, linux, mediawiki, wikipediafs

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.