Łukasz Garczewski schrieb: > On Monday, September 28, 2009, Javier Bezos <[email protected]> wrote: >> Hello again, >> >> How can I move a namespace to a new index? All I want >> is to change the index from 106 to 112, so that articles >> in this namespace are still found correctly. > > Off the top of my head, the fastest way would be doing the following > query on the database: > > update page set page_namespace = 112 where page_namespace = 106; > > and then adjusting $wgExtraNamespaces > > Remember to repeat this operation for the talk namespace. >
If you do that, you have to update all secondary tables too: links, logs, etc. running maintenance/rebuildall.php should help, but i don't know if it will fix the log entries. -- daniel _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
