Page MenuHomePhabricator

Change the WT namespace to an alias for Wiktionary, for Swedish Wiktionary
Closed, ResolvedPublic

Description

At sv-wikt (http://sv.wiktionary.org) we would like to replace ns "WT" with an alias for the "Wiktionary" ns. I.e. "WT" would, just like "Project", automatically redirect to "Wiktionary".

Currently there are a few pages in the WT namespace - should we manually move them, or is that done automatically?

The talk ns "WT-diskussion" could be removed altogether.

Links to discussion: (everybody is positive or neutral)
http://sv.wiktionary.org/wiki/Wiktionary:Bybrunnen#G.C3.B6ra_om_WT-namnrymden_till_ett_alias_f.C3.B6r_.22Wiktionary.22
(permanent) http://sv.wiktionary.org/w/index.php?title=Wiktionary:Bybrunnen&oldid=666357#G.C3.B6ra_om_WT-namnrymden_till_ett_alias_f.C3.B6r_.22Wiktionary.22


Version: unspecified
Severity: enhancement

Details

Reference
bz22446

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:54 PM
bzimport set Reference to bz22446.

(In reply to comment #0)

At sv-wikt (http://sv.wiktionary.org) we would like to replace ns "WT" with an
alias for the "Wiktionary" ns. I.e. "WT" would, just like "Project",
automatically redirect to "Wiktionary".

$wgNamespaceAliases['WT'] = NS_PROJECT; on svwiktionary (for Rob's convenience).

Currently there are a few pages in the WT namespace - should we manually move
them, or is that done automatically?

This is done with a maintenance script.

The talk ns "WT-diskussion" could be removed altogether.

That's not possible.

I guess there's a misunderstanding. I meant that the talk namespace "WT-diskussion" could be removed. The pages (only 1) would be moved.

Anyway - we'd like to have the change as soon as possible. Thanks in advance.

(In reply to comment #2)

I guess there's a misunderstanding. I meant that the talk namespace
"WT-diskussion" could be removed. The pages (only 1) would be moved.

I understood that, but you can't remove a talk namespace without removing its subject namespace. You also can't remove a core namespace.

I think there's still a misunderstanding. Currently:
WT has the talk ns WT-diskussion
Wiktionary has the talk ns Wiktionarydiskussion

Are you saying that WT-diskussion will automatically be an alias for Wiktionarydiskussion?

We don't think that's necessary, but if it's easier that's alright.

(In reply to comment #4)

I think there's still a misunderstanding. Currently:
WT has the talk ns WT-diskussion
Wiktionary has the talk ns Wiktionarydiskussion

Are you saying that WT-diskussion will automatically be an alias for
Wiktionarydiskussion?

We don't think that's necessary, but if it's easier that's alright.

OMG, it turns out WT: and WT-diskussion: are actual *namespaces* on svwiki. That's very deeply wrong.

In that case, yes, both namespaces should be removed after the alias change.

It seems like the pages in the WT: (and perhaps WT-diskussion:) namespace have been renamed to invalid names.

Now we have a page called ":GV" - which is impossible to rename, since it always redirects to "GV". It would be nice if they were renamed to "Wiktionary:GV" and so on.

jeluf wrote:

I've checked the DB and have undone the config change.

You have to move all pages out of these namespaces before the namespaces can be deleted. Please reopen this bug when the articles have been deleted.

All pages in both the WT and WT-diskussion namespaces have been moved (without redirects).

The moving script should really handle these pages! Fortunately there aren't that many in sv-wikt.

jeluf wrote:

Unfortunately, the script can't handle them because there is none...