[Mediawiki-l] Adding Namespaces

Brion Vibber brion at pobox.com
Tue Jun 28 16:54:00 UTC 2005


John Blumel wrote:
> Are there are known issues related to adding namespaces after a wiki
> has been in use for a while?

It's possible to add a namespace which conflicts with existing
'namespace-like' titles. For instance if you add a namespace 'Foo' and
there's already a page 'Foo:Bar', that page is no longer accessible
until you fix its database entries to reassign it to the namespace.

ie, it was recorded as (0,'Foo:Bar') where it should have (100,'Bar').

I've written a helper script to automatically search for and clean up
such entries: you'll find it in the 1.5beta1 package as
maintenance/namespaceDupes.php. It should also run on 1.4, if you copy
it in.

-- brion vibber (brion @ pobox.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.wikimedia.org/pipermail/mediawiki-l/attachments/20050628/76cac78f/attachment.pgp 


More information about the MediaWiki-l mailing list