Page MenuHomePhabricator

TALKSPACE = TALKSPACEE
Closed, ResolvedPublic

Description

Author: omniplex

Description:
TALKSPACEE shows "Help_talk" as expected.
TALKSPACE shows "Help_talk" instead of "Help talk".

TALKPAGENAMEE and TALKPAGENAME are different
as expected. Documented in [[m:Help:Variable]].


Version: 1.7.x
Severity: normal
Platform: Other
URL: http://meta.wikimedia.org/wiki/Help:Variable#Depending_on_page

Details

Reference
bz6065

Event Timeline

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

robchur wrote:

This is due to how namespaces work. It is incorrect to state that "TALKSPACE ==
TALKSPACEE", because that isn't the case when namespaces contain accented
characters.

NAMESPACE and TALKSPACE should use the display text form (with
space) instead of the db key form (with underscore), as
PAGENAME and FULLPAGENAME do.

For example on my local test wiki a page 'OneSix talk:Very
Silly Page' shows this code:

*{{PAGENAME}}
*{{FULLPAGENAME}}
*{{NAMESPACE}}
*{{TALKSPACE}}

like:
*Very Silly Page
*OneSix talk:Very Silly Page
*OneSix_talk
*OneSix_talk

The NAMESPACE and TALKSPACE are using the raw key form
unnecessarily; for consistency they should use spaces here.

Fixed in trunk r14366 by replacing underscores to spaces.