Last modified: 2006-06-29 00:36:16 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 T8201, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6201 - {{ns:foo talk}} without an underscore should render as {{ns:foo_talk}}
{{ns:foo talk}} without an underscore should render as {{ns:foo_talk}}
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-05 02:16 UTC by lɛʁi לערי ריינהארט
Modified: 2006-06-29 00:36 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2006-06-05 02:16:41 UTC
Halló!

{{ns:project talk}} is evaluated as a page in the template namespace.

I assume that the usage of {{ns:}} would be more easy for newbies if spaces
would be converted to underscores automatically.

It might be that during the past they rendered the same but maybe I am wrong.

{{localurl:project talk:foo}} renders as {{localurl:project_talk:foo}} and
{{fullurl:category talk:bar}} renders as {{fullurl:category_talk:foo}}

They handle FULLPAGENAME but the namespace name is a part of FULLPAGENAME anyhow.

----

As part of FULLPAGENAME the namespaces are case insensitive so
[[pRoJecT:Village_pump]] has the same target as [[project:Village_pump]]. At
least in English because of
Bug 5047: Support for UTF-8 characters in {{lc:}}, {{uc:}}, {{lcfirst:}} and
{{ucfirst:}}

For consistency
{{ns:pRoJecT talk}} should / might be evaluated as {{ns:project_talk}}.

----

Not shure if
{{foo|any_paramater=bar}} with a underscore
would render differently then
{{foo|any paramater=bar}} with a space

This is a similar situation as the main request for this report. If you like
please open another request. I thing that it does not make sense to use
paramters with similar names with the only difference that one are using
underscores and the other spaces.

best regards
Comment 1 Rob Church 2006-06-29 00:36:16 UTC
Fixed in SVN trunk, r15138.

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


Navigation
Links