From Surf Wiki (app.surf) — the open knowledge base
Mork (file format)
| Field | Value |
|---|---|
| name | Mork |
| extension | `.mab`, `.msf`, `.dat` |
| owner | Netscape, later Mozilla Foundation |
| genre | Database |
| standard | None (reference implementation) |
| url | Mozilla Developer Center |
Mork is a computer file format used by several email clients and web browsers produced by Netscape and Mozilla Foundation. It was developed by David McCusker with the aim of creating a minimal database replacement that would be reliable, flexible, and efficient, and use a file format close to plain text.
The format was named after the character Mork from the TV show Mork & Mindy.
Usage
The Mork format was used in most Mozilla-based projects, including the Mozilla Application Suite, SeaMonkey, Firefox, and Thunderbird. In Firefox, it was used to store browsing history and form history data. In Thunderbird, it continued to be used for various purposes, such as storing address book data (.mab files) and mail folder summaries (.msf files).
Criticisms
Mork has many suboptimal properties. For example, despite the aim of efficiency, storing Unicode text takes three or six bytes per character.
The file format has been severely criticized by Jamie Zawinski, a former Netscape engineer. He has criticized the apparent "textual" format on the grounds that it is "not human-readable", complaining that the impossibility of writing a correct parser for the format, and referred to it as "...the single most braindamaged [sic] file format that I have ever seen in my nineteen year career".
In response, McCusker stated that the problems with Mork resulted from "conflicting requirements" and that he merely fixed scalability issues in bad code he "inherited".
The Register lambasted the Mork database with their article "Why has Thunderbird turned into a turkey?"
Obsolescence
The replacement system, used for storing all user configuration data, is called MozStorage. MozStorage is based on the SQLite database. Beginning with Firefox 3.0, Firefox uses it for its history, form history and bookmark data. The storage engine was also included in Firefox 2.0, but only for use with extensions.
Mork was completely removed from Firefox in 2011.
Plans existed for Mork to be replaced with MozStorage in Thunderbird 3.0., but as of 2025 still used the Mork file format. As of 2012, SeaMonkey used Mork for at least its POP and IMAP mail folders indexes.
References
References
- (2007-09-16). "Mork What Is It — MDC". Developer.mozilla.org.
- (2007-09-16). "Mork Why — MDC". Developer.mozilla.org.
- Zawinski, Jamie. "mork.pl: Perl program to extract metadata from a Mork database". jwz.org.
- "Bug 241438 – please make history.dat easier to parse (i.e., not Mork)". Bugzilla.mozilla.org.
- (2005-05-25). "erys: resume: netscape: mork: jwz". [[Internet Archive]].
- "Why has Thunderbird turned into a turkey?". www.theregister.co.uk.
- Paul, Ryan. (2006-04-30). "Features cut from Firefox 2". Arstechnica.com.
- "Remove Mork from Mozilla-Central".
- "Mork to be removed from Firefox 7". Tumblr.
- (2009-08-10). "Thunderbird 3 Planning". Wiki.mozilla.org.
- "11050 - Use mozStorage or IndexedDB instead of Mork for the message summary database".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Mork (file format) — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report