[Mediawiki-l] Re moving a custom namespace?

nakohdo Frank.Ralf at gmx.net
Wed Jan 26 14:45:01 UTC 2011



Daniel Barrett-3 wrote:
> 
> What is the safest way to remove a custom namespace after all its articles
> have been deleted? If we just remove it from $wgExtraNamespaces, there
> will still be database entries (e.g., in the archive table) that reference
> the old namespace number, and I don't know if this will cause problems or
> not.
> 

Hi Dan,

I've been tinkering with changing namespaces lately, changing the numerical
index for an existing namespace for avoiding conflict with namespaces used
by certain extensions
(http://www.mediawiki.org/wiki/Extension_namespace_registration ). I found
the namespace implementation quite robust and haven't encountered any
problems yet after the changes.

AFAIK the only place in the database where references to the namespace of a
given page are stored is the respective field in the "page" table which you
might even change directly.

hth
Frank





-- 
View this message in context: http://old.nabble.com/Removing-a-custom-namespace--tp30762329p30765856.html
Sent from the WikiMedia General mailing list archive at Nabble.com.




More information about the MediaWiki-l mailing list