Last modified: 2007-10-15 22:29:47 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13379, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11379 - No way to define default form for default (blank) namespace (Main)
No way to define default form for default (blank) namespace (Main)
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-17 20:56 UTC by Sergey Chernyshev
Modified: 2007-10-15 22:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Patch to define a page for default (blank) namespace to be used. (1.38 KB, patch)
2007-09-17 21:01 UTC, Sergey Chernyshev
Details

Description Sergey Chernyshev 2007-09-17 20:56:19 UTC
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".
Comment 1 Sergey Chernyshev 2007-09-17 21:01:03 UTC
Created attachment 4125 [details]
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).
Comment 2 Yaron Koren 2007-09-25 02:59:57 UTC
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.
Comment 3 Sergey Chernyshev 2007-09-26 04:35:23 UTC
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.
Comment 4 Yaron Koren 2007-09-28 18:59:19 UTC
Fixed (I think) in version 0.6.4 - I haven't tested it.
Comment 5 Sergey Chernyshev 2007-10-15 22:22:20 UTC
It works for me.
Comment 6 Yaron Koren 2007-10-15 22:29:47 UTC
Closing!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links