WikipediaFS is a
virtual filesystem
A virtual file system (VFS) or virtual filesystem switch is an abstract layer on top of a more concrete file system. The purpose of a VFS is to allow client applications to access different types of concrete file systems in a uniform way. A VFS ...
which allows users to view and edit the articles of any
MediaWiki
MediaWiki is a Free and open-source software, free and open-source wiki software. It is used on Wikipedia and almost all other Wikimedia movement, Wikimedia Website, websites, including Wiktionary, Wikimedia Commons and Wikidata; these sit ...
-based site as if they were real
files
File or filing may refer to:
Mechanical tools and processes
* File (tool), a tool used to ''remove'' fine amounts of material from a workpiece
**Filing (metalworking), a material removal process in manufacturing
** Nail file, a tool used to gent ...
on a local
disk drive
Disk storage (also sometimes called drive storage) is a general category of storage mechanisms where data is recorded by various electronic, magnetic, optical, or mechanical changes to a surface layer of one or more rotating disks. A disk drive is ...
. This enables a user to edit articles directly with any
text editor
A text editor is a type of computer program that edits plain text. Such programs are sometimes known as "notepad" software (e.g. Windows Notepad). Text editors are provided with operating systems and software development packages, and can be u ...
.
WikipediaFS is developed primarily by Mathieu Blondel on
SourceForge.net
SourceForge is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, Mirror site ...
.
WikipediaFS is implemented in
Python and uses the
FUSE
Fuse or FUSE may refer to:
Devices
* Fuse (electrical), a device used in electrical systems to protect against excessive current
** Fuse (automotive), a class of fuses for vehicles
* Fuse (hydraulic), a device used in hydraulic systems to prote ...
kernel module
In computing, a loadable kernel module (LKM) is an object file that contains code to extend the running kernel, or so-called ''base kernel'', of an operating system. LKMs are typically used to add support for new hardware (as device drivers) and/ ...
. The file system works by
lazily downloading and uploading article sourcetexts — only sending
HTTP
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
requests to the selected site when a file is accessed. (Reading a file corresponds to a GET
HTTP
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
request, writing to a POST
HTTP
The Hypertext Transfer Protocol (HTTP) is an application layer protocol in the Internet protocol suite model for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web, ...
request.)
Advantages
* Editing a long Wikipedia article can sometimes turn out to be painful and time-consuming due to web-forms limitations. Instead, when WikipediaFS is mounted on a directory, articles become like real files in that directory: it is thus possible to use a text-editor to edit files. Text-editors are generally more stable and less sluggish than browsers and have useful features such as spell checking and wiki
syntax highlighting
Syntax highlighting is a feature of text editors that are used for programming, scripting, or markup languages, such as HTML. The feature displays text, especially source code, in different colours and fonts according to the category of terms. ...
.
* It is possible to write programs or bots transparently as if they dealt with simple files because WikipediaFS takes care of the HTTP layer. For example, WikipediaFS could be used to perform a massive
content migration
Content migration is the process of moving information stored on a given computer information system (IS) to a new system. The IS may be a Web content management system (CMS), a digital asset management (DAM), or a document management system ( ...
from one MediaWiki site to another.
Disadvantages
* The project is no longer maintained as of 2007; the software has since been deprecated.
* It is difficult to go from-page-to-page; users must know the exact name of a page in order to edit it, as WikipediaFS has no local knowledge of what pages exist and which don't.
See also
*
Wikifs
References
External links
*
MediaWiki Manual:External editorsproposals for improvementCollection of all available patches{{Webarchive, url=https://web.archive.org/web/20231129175749/https://git.sr.ht/~mcepl/wikipediafs , date=2023-11-29
Wikipedia