Topic on Project:Support desk

Cannot create page in Project namespace

22
Summary by Sergezolotukhin

The problem was with 2nd definition of $wgMetaNamespace with space char instead of underscore.

Sergezolotukhin (talkcontribs)

Hello

Im trying to create page Project:About but as result I have got the page with title = "Project_About" and namespace=0. What I have to do to get namespace="4"? Do not tell me to use TSQL :-)

AhmadF.Cheema (talkcontribs)

How exactly are you trying to create the new page? Directly through the URL, through search?

Sergezolotukhin (talkcontribs)
Sergezolotukhin (talkcontribs)

Through the URL and through search. If I UPDATE table page with page_namespace=4 (from 0 to 4), created page disapper from site

This post was hidden by Sergezolotukhin (history)
137.147.181.133 (talkcontribs)

Your project namespace is probably not called "project". Put {{ns:4}} on a page to see what it is called.

Sergezolotukhin (talkcontribs)

You are right but is this a problem? www.mediawiki.org doesnt have ns "Project"

Wargo (talkcontribs)
Sergezolotukhin (talkcontribs)

I have Project: too, but cannot create any page there

This post was hidden by Sergezolotukhin (history)
Wargo (talkcontribs)

As namespace about project, you can set "Project", wiki name or something else. This is defined in $wgMetaNamespace. As described, "Project" is alias for this value.

Sergezolotukhin (talkcontribs)

Thank you. I have $wgMetaNamespace = "Открытый_список"; in LocalSettings but it makes no sence.

Sergezolotukhin (talkcontribs)
Wargo (talkcontribs)

When I click on that page title I can see page with content "cxv".

Sergezolotukhin (talkcontribs)

anyway now i you will try to create page Project:Test , result will be ns=0, title='Project:Test'. My head is broken =)

Wargo (talkcontribs)

What you have set in $wgMetaNamespace?

Sergezolotukhin (talkcontribs)

I've catch this stupid error: got 2nd definition of $wgMetaNamespace with space char instead of underscore. Omg. Thank you pal!

Sergezolotukhin (talkcontribs)

$wgMetaNamespace = "Открытый_список"; in the 2nd line of LocalSettings.php This is SiteName with underscore

Sergezolotukhin (talkcontribs)

I have created it minute ago (look at history). But this page has class ns-0 in the html element BODY. I have to check my skin.

Wargo (talkcontribs)

You said you changed it in database.

Sergezolotukhin (talkcontribs)

I've changed it all the ways. But the fact is still there: i cannot create any page in ns=4

This post was hidden by Sergezolotukhin (history)