MediaWiki and Script Translation for the Morevna Project

MediaWiki and Script Translation for the Morevna Project


We are getting very close to wrapping up the English translation of the script for "The Beautiful Queen Marya Morevna: Underground" (which is the working title of the film being produced by the Morevna Project). So it seems like a good time to talk about the software we've been using, which is MediaWiki.

Making Movies with Free Software

This article is part of an on-going series on the challenges I've faced in producing two free-licensed movies, Marya Morevna, through the Morevna Project and Lunatics, which we are working on as Anansi Spaceworks.

Putting together a collaborative film production involves a lot of bits and pieces. Workflow is unclear at the beginning, and has to be developed organically. That argues against putting too much structure into the software that you use -- otherwise it would straightjacket you. Furthermore, when you're working on an artistic project, you don't want to waste time developing (or fixing) software that doesn't work like you need it to. So it makes sense to use something that is well-tested.

If you know how to contribute to Wikipedia, you know how to contribute to Morevna Project!

So, really, MediaWiki is a no-brainer.

After years of development, Wikipedia has hammered out most of the problems with MediaWiki, so that it's a very robust piece of software (with as many people as use Wikipedia, it has to be).

Another advantage of MediaWiki is that (also because of Wikipedia), many, many people know how to use its markup language. So, if you know how to contribute to Wikipedia, you know how to contribute to Morevna Project!

"Spec Script" format and Wiki Markup

Over the years, Hollywood has developed a traditional standard format for unsolicited scripts (so-called "spec scripts") that has become the de facto standard for writing screenplays in or out of Hollywood. It was originally based on typewriter technology, and it shows -- it's really a very primitive format. But it's what people are used to reading, so it makes sense to keep using it.

A number of different free software word processing packages support this "spec script" format, including LyX, which I've used for the purpose. For Morevna's original Russian script, Konstantin Dmitriev used OpenOffice 2.3 (I can tell, because the exported PDF retains the "producer" tag that identifies the software that made the PDF).

A sample of the original Russian script, created in OpenOffice and exported to PDFA sample of the original Russian script, created in OpenOffice and exported to PDF

However, the English translation, for which Konstantin knew he would need help, was started on the project's MediaWiki site.

I found it interesting to see how the format works out in MediaWiki format. First of all, the script is presented as one very long wiki page, broken into scenes (with a top-level header for each scene), just as the original script is. This is very convenient in MediaWiki, because the interface allows you to edit just one scene at a time, without having to download the whole page at once.

The same part of the script, translated into English on the project's MediaWiki site, as it appears in SeamonkeyThe same part of the script, translated into English on the project's MediaWiki site, as it appears in Seamonkey

I was a little surprised at the formatting used to represent spoken parts, since the spec script format calls for a rather odd indentation patter, but it's not really hard at all. Here's a sample (this is the code that produces the section of script shown above in the figures):

Pause.

:::: IVAN:
:: Home?
::: (to himself at first, then to MAN-IN-BLACK)
:: I don't have a home anymore... I'm all... Now I'm just like him. I can't let Marya Morevna see me this way... Like some undead thing... 

As IVAN speaks, he looks at his mechanical arm. There is a flashback to the shot of the DOCTOR-SISTER thrown to the ground.

:::: MAN-IN-BLACK:
:: You see this hammer?
:: It's possible to drive nails with it and build a house. But it can also break a man's head. This is a tool. The tool is only an extension of the body and soul. Not evil; not good. It all depends on the man using it.

The main feature we use is just the ":" which indicates tab stops for each paragraph. Simulating "spec script" format in MediaWiki requires little else, so you can see it's a pretty low-maintenance solution.

Discussing the translation

Probably the greatest source of ambiguity for me, was in whether or not we should use MediaWiki's "Discussion" pages. On Wikipedia, of course, the pages are meant for public consumption, so it's very undesirable to have lots of administrivia showing on every page -- such as editorial discussions on which bits to leave in, or how to word them.

So MediaWiki is designed with a "wiki behind the wiki" consisting of one "discussion" page for every presented page. This is clearly useful there.

MediaWiki is designed with a "wiki behind the wiki" consisting of one "discussion" page for every presented page

It's less clear with a collaborative script project like this. With so much detail in one page, it's desirable to keep most comments close to the text they reference. So, in the end, we seem to have chosen to mostly leave our comments on the main page, using brackets, like this:

:::: MAN-IN-BLACK:
:: Well, just look at you! Die now, you evil, filthy thing!

Suddenly, the figure of the MAN-IN-BLACK is replaced by MOREVNA, [http://morevnaproject.org/wiki/Image:Demo03-10.png exactly as she appeared when they first met].

:::: MOREVNA:
:: What's your name?

:::: IVAN:
:: I'm Ivan. Ivan Tsarevich.

[Presumably this should be matched to the exact dialog in that scene [[User:Digitante|Digitante]] 17:02, 5 March 2010 (UTC)]

: [Yes. --[[User:KonstantinDmitriev|KonstantinDmitriev]] 09:05, 6 March 2010 (UTC)]

The "User" section is actually generated by the wiki. When I type it in, all I have to type is "~~~~", and the wiki will expand that to a notice indicating my username ("Digitante") and the time and date.

I suppose, as we become more confident with our choices, we might move the comments to the discussion page so we don't have so much clutter in the main script, but for now, this approach seems to work pretty well.

More than just the script

MediaWiki, of course, provides more than just text features, so it can be used for a lot of the resource management for a multimedia project like a film, and -- also due to the Wikipedia legacy -- it has built-in support for managing licenses and attributions on each contribution. That will be extremely useful when it comes time to draw up the credits for the projects.

Right now, we are able to upload image files like JPG or PNG, SVG drawings, Blender 3D models, and MediaWiki even provides support for audio and video files with playback

Right now, we are able to upload image files like JPG or PNG, SVG drawings, Blender 3D models, and MediaWiki even provides support for audio and video files with playback (although in fact, most of the videos are being served through YouTube so we don't have to manage the burden on the project's servers).

So it pretty much fills all of our needs for "resource management".

The right choice? Yes

I'll have to make these decisions for my own project, Lunatics soon enough (that page is just a stub now, but I will soon need to put some kind of collaborative site up for production needs, just as Morevna Project has done). In the past, I've relied heavily on Zope for my web application needs, because I like having something written in Python (on the theory that it will be easier for me to do development if I need to). MediaWiki is not Zope or Python based, but requires PHP and MySQL (the traditional "LAMP" platform). So it will not be easy for me to modify. But then again, it doesn't look like I need to. So the technical problem is really just one of making it work with my existing Zope website.

After seeing what Morevna Project has been able to do with MediaWiki, though, it's clear to me that this is the way to go for managing resources on a film project. So, I'll just have to solve any issues that come up with using two very different web application systems. However, both are mature software now, so I have a pretty high level of confidence that it will work out fine -- and a lot of gratitude to Morevna Project for demonstrating the software in use.

Category: 

Comments

KonstantinDmitriev's picture

About comments I can add one thing. As mentioned, moving them to discussion page is undesirable, but most probably we want to keep final script clean. In this situation it is possible to put comments inside of "<!--" and "-->" tags. Then they will be hidden during ordinary page view, but will appear at edit time.

Also, if we will want output from MediaWiki to “spec script” format it is possible to use Wiki2LaTeX extension to generate PDF (http://www.mediawiki.org/wiki/Extension:Wiki2LaTeX). With a little tuning we can get desired result.

Author information

Terry Hancock's picture

Biography

Terry Hancock is co-owner and technical officer of Anansi Spaceworks. Currently he is working on a free-culture animated series project about space development, called Lunatics as well helping out with the Morevna Project.

Most forwarded

Interview with Dave Mohyla, of DTIDATA

Dave Mohyla is the president and founder of dtidata.com, a hard drive recovery facility based in Tampa, Florida.

TM: Where are you based? What does your company do?
DTI Data recovery is based in South Pasadena, Florida which is a suburb of Tampa. We have been here for over 10 years. We operate a bio-metrically secured class 100 clean room where we perform hard drive recovery on all types of hard disks, from laptop hard drives to multi drive RAID systems.

Anybody up to writing good directory software?

Since the very beginning, directories (of any kind) have had a very central role in the internet. (I have recently grown fond of Free Web Directory. Even Slashdot can be considered a directory: a collection of great news and invaluable user-generated comments. As far as software is concerned, doing a quick search on Google about software directories will return the free (as in freedom) software directories like Savannah, SourceForge, Freshmeat and so on, followed by shareware and freeware sites such as FileBuzz, PCWin Download Center and All Freeware (great if you're looking for shareware and freeware, but definitely less comprehensive than their free-as-in-freedom counterparts).

Interview with Mark Shuttleworth

Mark Shuttleworth is the founder of Thawte, the first Certification Authority to sell public SSL certificates. After selling Thawte to Verisign, Mark moved on to training as an astronaut in Russia and visiting space. Once he got back he founded Ubuntu, the leading GNU/Linux distribution. He agreed on releasing a quick interview to Free Software Magazine.

Is better education the key to finding better software?

I read David Jonathon's article Anybody Up To Writing Good Directory Software? the other day, which got me thinking about software directories in general. As David mentioned, many of the software directories one finds when doing a quick google search are free as in beer, not as in freedom. But what interests me is the software directories that already exist, providing a combination of both free as in beer software, and open source software. Sites such as Freeware Downloads and Shareware Download don't advertise themselves as providing free as in liberty software, but each of them have a good selection of open source software available... if you know where to look.

Most emailed

Free Open Document label templates

If you’ve ever spent hours at work doing mailings, cursed your printer for printing outside the lines on your labels, or moaned “There has got to be a better way to do this,” here’s the solution you’ve been looking for. Working smarter, not harder! Worldlabel.com, a manufacture of labels offers Open Office / Libre Office labels templates for downloading in ODF format which will save you time, effort, and (if you want) make really cool-looking labels

Creating a user-centric site in Drupal

A little while ago, while talking in the #drupal mailing list, I showed my latest creation to one of the core developers there. His reaction was "Wow, I am always surprised what people use Drupal for". His surprise is somehow justified: I did create a site for a bunch of entertainers in Perth, a company set to use Drupal to take over the world with Entertainers.Biz.

Update: since writing this article, I have updated the system so that the whole booking process happens online. I will update the article accordingly!

So, why, why do people and companies develop free software?

More and more people are discovering free software. Many people only do so after weeks, or even months, of using it. I wonder, for example, how many Firefox users actually know how free Firefox really is—many of them realise that you can get it for free, but find it hard to believe that anybody can modify it and even redistribute it legally.

When the discovery is made, the first instinct is to ask: why do they do it? Programming is hard work. Even though most (if not all) programmers are driven by their higher-than-normal IQs and their amazing passion for solving problems, it’s still hard to understand why so many of them would donate so much of their time to creating something that they can’t really show off to anybody but their colleagues or geek friends.

Sure, anybody can buy laptops, and just program. No need to get a full-on lab or spend thousands of dollars in equipment. But... is that the full story?

Fun articles

Santa Claus - the most successful open source project

It dawned on me the other day, as I was shopping for the dozens of gifts it seems I have to buy every December, that Santa Claus is the most successful open source project in history. (Bridget @ Illiterarty would agree with that). Santa Claus is essentially a marketing development that is embodied by everyone who stuffs a sock, gives a gift, hosts a dinner or wishes Merry Christmas over the holiday season.

Most emailed

Editorial

When I first started thinking about Free Software Magazine, I was feeling enthusiastic about the dream. I had Dave, Gianluca, and Alan willing to help me, I had established members of the free software community willing to help me out, I had writers volunteering their time and energy for free, and I had a generous offer from OpenHosting for servers, all before I'd proved myself. There was a sense of excitement in the air, and I thought maybe, just maybe, I could make this work.

Free Software Magazine uses Apollo project management software and CRM for its everyday activities!