Hello. It's not often that I pop in here, but here goes.
Today, on a new ByetHost wiki I opened last week (I was formerly a Referata admin), I was in the process of adding extra namespaces to what I started out with. As I report, the kinks have been smoothed out--except for one issue.
My first custom namespace was "Documentation", inspired by the likes of Wikimedia's feature. In LocalSettings.php, I assigned "050" as its number, believing it was the same as 50--only to realise days later that it renders in the API et al. as "40". (Sort of how virtual broadcast channels work in the States.) Tried "070" with one of the new NSs today; turned into 56.
I tried to remedy the quirk by dropping the first "0" and make it the desired "50"--but this led to the panic-inducing side effect of rendering several dozen doc pages temporarily inaccessible. On a "What links here" list, anything with "Documentation:" as the declared namespace turned into "Special:BadTitle/NS40:[TITLE]", complete with error notice.
After reverting it back to "050", I left a maintenance note below the affected definition:
define("NS_DOCUMENTATION", 050);
define("NS_DOCUMENTATION_TALK", 051);
// To move to:
// define("NS_DOCUMENTATION", 50);
// define("NS_DOCUMENTATION_TALK", 51);
If anyone else here experienced this issue before, feel free to give me a solution. Your help and experience are greatly appreciated!
(MW 1.35)
--Slgrandson (talk) 17:35, 20 October 2020 (UTC)