If I understand correctly you have a link [[historisk:newarticle]], which is a read link because the page doesn't exist. If you click on it a page is created with the title 'newarticle'. In that case even if the namespace is not valid, the pagename of the page to be created should be 'historisk:new article'. So probably something else is causing this behavior.
Ad
Op 26 sep. 2014, om 11:58 heeft Henrik Rasmussen her@adm.ku.dk het volgende geschreven:
I created*) a new namespace "historisk", as an archive for articles which are no longer relevant, but kept for historical reasons.
define("NS_FOO", 500); define("NS_FOO_TALK", 501); $wgExtraNamespaces[NS_HISTORISK] = "Historisk"; $wgExtraNamespaces[NS_HISTORISK_TALK] = "Historisk_talk"; // underscore required. use it to separate all words in the title of namespace $wgContentNamespaces[] = 500;
But I must be missing something since "[[historisk:newarticle]]" (no articles exist in that extranamespaces yet and it happens no matter which articlename I enter) keeps redirecting to "[[newarticle]]" prior to the first edit, right after I enter the URL
*) http://www.mediawiki.org/wiki/Manual:Using_custom_namespaces
Did I miss something obvious or otherwise?
Henrik Rasmussen _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l