On 7/16/07, Benct Philip Jonsson bpj@melroch.se wrote:
Brion Vibber skrev:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Benct Philip Jonsson wrote:
Two questions:
- is it OK to have hyphens in custom namespace names
Yep.
- can custom namespaces be renamed? I guess one could do some daring things with an export XML file...
a) Change it in $wgExtraNamespaces
b) For compatibility, add an alias for the old name in
$wgNamespaceAliases
c) run maintenance/namespaceDupes.php to ensure there are no namespace conflicts and to resolve them if present (with --fix param)
d) run maintenance/refreshLinks.php for completeness' sake if desired
Can I run these scripts from an FTP client on a hosted server, or will I have to bother the server admin?
Yes, shell access is required. Although on some servers they offer a customizable crontab via the cPanel so you may be able to run it via that.
/BP
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MinuteElectron.