Page MenuHomePhabricator

Namespace is not recognized
Closed, InvalidPublicBUG REPORT

Description

Hey everyone,

We're experiencing strange behavior in our MediaWiki instance, and I can't identify the source.

Until recently, we worked exclusively within the SSC_IT namespace. We have another namespace, SSC_FV, which we've never used but which is becoming more relevant. When viewing, creating, or editing a page in the SSC_FV namespace, the SSC_IT namespace is always shown with an invalid link in the toolbar. Why isn't the SSC_FV namespace being recognized by MW/VE?

We are using MW 1.43.6 with the following extensions: Auth_remoteuser, AutoCreateCategoryPages, CreatePage, EnhancedUpload, LastModified, MultimediaViewer, OOJSPlus, PdfExport, and PreToClip. I disabled most of the extensions for testing, but nothing changed.

Any help is appreciated. :-)

Greetings Peter

image.png (414×1 px, 19 KB)

Event Timeline

It seems that SSC_IT and SSC_FV are your custom namespaces (defined using $wgExtraNamespaces). Is that right? If so, what numeric IDs do they have? (In case you don't have access to PHP config, it can also be checked by running mw.config.get('wgNamespaceIds'); in the browser console).

As documented on Manual:Using custom namespaces, MediaWiki treats every even namespace ID as "subject"/"page" namespace and the following odd number as "talk" namespace related to the former. For example, 2 is User: and 3 is User talk:. It appears to me that SSC_IT and SSC_FV might use consecutive numbers, without the gap for discussion namespaces.

mszwarc renamed this task from Namespace is not recognizes to Namespace is not recognized.Mar 30 2026, 1:44 PM
mszwarc edited projects, added MediaWiki-General; removed VisualEditor.

Are MediaWiki:Nstab-SSC_IT and MediaWiki:Nstab-SSC_FT set? What are they set to?

Onlygecko claimed this task.

He,

thanks to both of you for the super quick response. :-) And it was definitely helpful! Yes, the namespaces have consecutive numbers. When we set up the wiki whe had external support so I never had a look at the documentation. Shame on me... I changed the numbers / ids an everythin is fine now. :-)

Thanks again for your help!

Aklapper changed the task status from Resolved to Invalid.Mar 31 2026, 11:54 AM
Aklapper removed Onlygecko as the assignee of this task.