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 :-)
The problem was with 2nd definition of $wgMetaNamespace with space char instead of underscore.
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 :-)
How exactly are you trying to create the new page? Directly through the URL, through search?
http://openlist.wiki/index.php/Project:Test -- here is the test page. ns is 0, but everything else is okay.
Through the URL and through search. If I UPDATE table page with page_namespace=4 (from 0 to 4), created page disapper from site
Your project namespace is probably not called "project". Put {{ns:4}}
on a page to see what it is called.
You are right but is this a problem? www.mediawiki.org doesnt have ns "Project"
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.
Thank you. I have $wgMetaNamespace = "Открытый_список"; in LocalSettings but it makes no sence.
http://openlist.wiki/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F%3A%D0%92%D1%81%D0%B5+%D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B8%D1%86%D1%8B&from=&to=&namespace=4 -- here is one page i have in Project:, but if I will try to view it, I will catch "Page not found". Does it looks good?
anyway now i you will try to create page Project:Test , result will be ns=0, title='Project:Test'. My head is broken =)
I've catch this stupid error: got 2nd definition of $wgMetaNamespace with space char instead of underscore. Omg. Thank you pal!
$wgMetaNamespace = "Открытый_список"; in the 2nd line of LocalSettings.php This is SiteName with underscore
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.
I've changed it all the ways. But the fact is still there: i cannot create any page in ns=4