Erik Moeller wrote:
ns_default is the namespace all other namespace names for that ns_id will redirect to.
I would have called it "ns_canonical" or even "ns_is_canonical", but with sufficient documentation it shouldn't make much difference :)
This means that the default namespace name is "File", and that "Image", "Video" and "Sound" redirect to it.
How is this going to tie in with the [[Image:...]] syntax being special because it inserts an image rather than linking to it? That needs to be internationalised too. :) Oh, and don't forget about the [[Media:...]] syntax, which is also special.
- don't allow it to delete a namespace that contains pages
- don't allow it to create a namespace if there are existing pages with
that prefix (avoid conflicts with pseudo-namespaces)
Just a suggestion, but if it isn't too much work: * when deleting a namespace that contains pages, offer to change all those pages' names to be prefixed (i.e. turn it into a pseudo-namespace)? * when creating a namespace if there are existing pages with that prefix, offer the option of "importing" those pages into the new namespace?
Greetings, Timwi