Page MenuHomePhabricator

No way to define default form for default (blank) namespace (Main)
Closed, ResolvedPublic

Description

Author: sergey.chernyshev

Description:
There is no page in "Project" namespace associated with default (blank) namespace (since page name can't be empty) therefore there is no way to define a default form for default (blank) namespace and there is no way to get red links to work in this namespace.

The solution is to have special case for this namespace and have page with different name, e.g. "Main".


Version: unspecified
Severity: enhancement

Details

Reference
bz11379

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:55 PM
bzimport set Reference to bz11379.

sergey.chernyshev wrote:

Patch to define a page for default (blank) namespace to be used.

This patch adds a system message that defines a name for the page (within Project namespace) to be used to carry "Has default form" relation for default (blank) namespace. Default values is "Main" but it can be changed, to correspond to the name displayed on a search dropdown (MediaWiki:Blanknamespace message).

Attached:

It's probably not even necessary to have SF define its own blank namespace name in language files - as you note, MediaWiki has its own value already, 'blanknamespace'. That name usually has parentheses around it (like "(Main)"), but those can easily be chopped off.

sergey.chernyshev wrote:

I looked at it, but 'blanknamespace' is purely for presentational purposes and used in search drop-down only. That's why I created new message.

And I didn't think it's a good idea to chop off anything from system message.

Up to you though.

Fixed (I think) in version 0.6.4 - I haven't tested it.

sergey.chernyshev wrote:

It works for me.