On Fri, Jan 16, 2009 at 6:10 AM, Ilmari Karonen <nospam(a)vyznev.net> wrote:
MediaWiki 1.14alpha, which is what Wikipedia is
running, has renamed the
"Image:" namespace to "File:", and a lot of Wikipedia editors have
already switched to using the new name. If you want to copy templates
from Wikipedia to a wiki running an older version and be sure that all
images in them will work, you have (at least) three options:
1. Use an older version of the template, from November 2008 or earlier.
2. Replace all instances of "File:" (and "File talk:") with
"Image:"
(and "Image talk:", respectively) in the template code.
3. Add the following lines to the LocalSettings.php file for your wiki:
$wgNamespaceAliases['File'] = NS_IMAGE;
$wgNamespaceAliases['File_talk'] = NS_IMAGE_TALK;
The best option is none of the above. Wait a little while and use
1.14, which has the change by default. Failing that, you can use the
1.14 branch right now, which also has the change. In general, you
can't always get compatibility with Wikipedia content unless you're
running the same version or later, although usually it will pretty
much work.