I changed the namespace names back to their original names and things
started working again...
However, the CSS of the wiki took permanent damage it seems - for all
pages!! Very strange indeed IMO, as I didn't touch ANY css.
Can somebody explain what is going on?
Morten :-)
--
Crews Cut Production
Morten Blaabjerg
Danmarksgade 97 - DK-5000 Odense C
Tlf. 65 90 60 88 / 51 80 91 55
morten(a)crewscut.com
----- Original Message -----
From: "Morten Blaabjerg" <morten(a)crewscut.com>
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Sent: Sunday, July 02, 2006 5:52 PM
Subject: Re: [Mediawiki-l] How do I change the default name of a namespace?
Thanks. I changed the namespace names in the language
files, but it causes
me some problems...
All old [[Image:filename.jpg]] links on individual pages still refer to
the
[[Image:filename.jpg]] page, which now doesn't exist.
Also, for some reason it fucks up the CSS for the new File: namespace
pages...
I have absolutely no idea on how to run a bot - is there a not overtly
complicated way out of this?
Best wishes,
Morten :-)
--
Crews Cut Production
Morten Blaabjerg
Danmarksgade 97 - DK-5000 Odense C
Tlf. 65 90 60 88 / 51 80 91 55
http://morten.crewscut.com
morten(a)crewscut.com
----- Original Message -----
From: "Rotem Liss" <mail(a)rotemliss.com>
To: "MediaWiki announcements and site admin list"
<mediawiki-l(a)Wikimedia.org>
Sent: Sunday, July 02, 2006 5:14 PM
Subject: Re: [Mediawiki-l] How do I change the default name of a
namespace?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Morten Blaabjerg wrote:
I want to change the default name of the
"Image" namespace to something
like "File"... as I find this more consistent with our use of the
namespace now, when we begin to upload other kind of files than images.
What is the best way to go around making this change?
You can just change the namespace name in languages/Language.php, or
whatever langauge you use.
Will I have to go through the Sisyfos task of
changing all the links
pointing to [[Image:filename.jpg]]'s etc. ?
You can run a bot instead, and you can preserve the "Image" namespace
name as a "redirect" to the "File" namespace instead of changing it
completely. To preserve it, just change the namespace name in
languages/Language.php.
(I assume you refer to your local installation, not the whole software.)
- --
#define Name RotemLiss
#define Mail mailSTRUDELrotemlissDOTcom
#define Site
www.rotemliss.com
#define KeyFingerPrint 4AFD 8579 A449 4267 BED9 38E5 6EF8 5B1F EBDE 7AC0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org
iD8DBQFEp+LPbvhbH+veesARApN0AKCedfm2tuvQ0bAoCXd77FYe0i0jZACcCk/3
p0TfTXxpzhqxVTc9hYUyisw=
=wg6m
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l