I'm assuming this concerns the wiki on http://tunearch.org. This is a solution I came up with after a little bit of testing, there may be easier or more elegant ones.

1) Create a new, temporary namespace within the recommended custom range, see https://www.mediawiki.org/wiki/Manual:Using_custom_namespaces#Creating_a_custom_namespace.
define("NS_TMP", 3000);
$wgExtraNamespaces[NS_TMP] = "Tmp";

2) Move pages in the biography namespace to the temporary one with the moveBatch maintenance script. First make a list of the pages to move by copying from https://tunearch.org/wiki/Special:AllPages?from=&to=&namespace=202 and adding the syntax for moving:
Biography:A.A. Gray|Tmp:A.A. Gray
Biography:A.S. Bowman|Tmp:A.S. Bowman
Biography:Abraham MacIntosh|Tmp:Abraham MacIntosh
...
Save to a file, e.g. move.txt and then run the script:
maintenance/run moveBatch move.txt
Check the parameters if you want something extra, like no redirects.
3) Change the defintion of the biography namespace to use the new number:
define("NS_BIOGRAPHY", 3000);
and remove the temporary namespace.
4) Repeat with Biography_talk and any other namspaces you want to move.

That should do it. I did a bit of (small scale) tesing on a local wiki, so I'm fairly confident this will work, but as always be careful and start by testing on just a few pages so nothing goes wrong.

Best,

Sebastian Berlin
Utvecklare/Developer
Wikimedia Sverige (WMSE)

E-post/E-Mail: sebastian.berlin@wikimedia.se
Telefon/Phone: (+46) 0707 - 92 03 84


On Sun, 15 Jan 2023 at 09:51, Valerio <vmp@silkwood.it> wrote:
Hi,
I made a big mistake.
I defined a custom namespace in conflict with SocialProfile <https://www.mediawiki.org/wiki/Extension:SocialProfile>  extension:

# # # # # # # # # # #
#
#       EXTRA NAMESPACES
#
# # # # # # # # # # #

######   BIOGRAPHY  ######
define("NS_BIOGRAPHY", 202);
define("NS_BIOGRAPHY_TALK", 203);

$wgExtraNamespaces[NS_BIOGRAPHY] = "Biography";
$wgExtraNamespaces[NS_BIOGRAPHY_TALK] = "Biography_talk";


202     User_profile:   NS_USER_PROFILE
203     User_profile_talk:      NS_USER_PROFILE_TALK    Since r93317 <https://www.mediawiki.org/wiki/Special:Code/MediaWiki/93317>.
What can I do to correct this conflict other than uninstall the Social Profile

Thanks so much.

Valerio


                    The Traditional Tune Archive
   The Semantic Index of North American, British and
   Irish traditional instrumental music with annotation.
   -------
   Web: http://tunearch.org <http://tunearch.org/>
   Mail: vmp@tunearch.org <mailto:vmp@tunearch.org>
_______________
My Special:Version

Installed software
Product Version
MediaWiki <https://www.mediawiki.org/>  1.35.7 <https://www.mediawiki.org/wiki/MediaWiki_1.35> (2912741) <https://gerrit.wikimedia.org/g/mediawiki/core.git/+/2912741f0bd6dcec405d9d3bc78534a22012d1e0>
00:00, July 13, 2022
PHP <https://php.net/>  7.3.29-1+ubuntu18.04.1+deb.sury.org+1 (apache2handler)
MariaDB <https://mariadb.org/>  10.1.48-MariaDB-0ubuntu0.18.04.1
ICU <http://site.icu-project.org/>      65.1
Lua <http://www.lua.org/>       5.1.5
LilyPond <http://lilypond.org/> 2.18.2
Elasticsearch <https://www.elastic.co/products/elasticsearch>   6.8.18
SocialProfile <https://www.mediawiki.org/wiki/Extension:SocialProfile>  1.14 (0d678ab) <https://gerrit.wikimedia.org/g/mediawiki/extensions/SocialProfile/+/0d678abb40890b6e48a1abffde2df999f51b82c2>03:03, November 22, 2020



_______________________________________________
MediaWiki-l mailing list -- mediawiki-l@lists.wikimedia.org
To unsubscribe send an email to mediawiki-l-leave@lists.wikimedia.org
https://lists.wikimedia.org/postorius/lists/mediawiki-l.lists.wikimedia.org/