Tweeter button

WikipediaFS 0.1 released

After more than one year of inactivity, I finally took the time to release WikipediaFS, a small project of mine. With WikipediaFS, you can view and edit Wikipedia (or any other Mediawiki-based site) articles transparently as if they were real files.

The work I did on the last few days mainly consisted in creating a new command mount.wikipediafs (that also works with fstab) and writing a clear and detailed README file.

Greetings to jd who showed great enthusiasm for WikipediaFS last year and thanks for his help.

Below, some examples of what you can do from the command line thanks to WikipediaFS:

$ mount /mnt/wfs/

WikipediaFS is now mounted in /mnt/wfs/

$ cd /mnt/wfs/

We are now at the WikipediaFS root.

$ ls
mblondel.org/  wikipedia-en/

Those are directories which have been defined in my config file.

$ ls wikipedia-en/

Nothing is listed because we have not used any file yet. This is why most of
the time you will need a terminal to run the "your_favourite_editor file_name"
command.

$ cat wikipedia-en/Japan | less

The Japan article is fetched on en.wikipedia.org and displayed.

$ ls wikipedia-en/
Japan

Japan is now listed because it has been accessed once.

$ vi mblondel.org/Test

An article can be edited with a text editor. Looking at the article with a web
browser, the changes have been performed correctly.

To give a summary to your changes, use [[Summary: a sentence summary]] in the
body of the article. It will be removed before the article is saved.

$ cp wikipedia-en/Japan ~/Desktop/

This backups the online article on the local disk.

$ cp wikipedia-en/Japan mblondel.org/

This copies the wikipedia-en article on my personal mediawiki site.

$ rm mblondel.org/Test

This only removes the article from the directory, not from the site, hopefully.

Leave a Reply