Last modified: 2013-09-25 10:14:34 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 T48742, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46742 - {{SUBJECTSPACE}} should not convert spaces to underscores
{{SUBJECTSPACE}} should not convert spaces to underscores
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
1.21.x
All All
: Normal normal with 1 vote (vote)
: ---
Assigned To: Pavel Selitskas [wizardist]
http://vi.wikipedia.org/wiki/Thành_vi...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-31 21:54 UTC by Minh Nguyễn
Modified: 2013-09-25 10:14 UTC (History)
5 users (show)

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


Attachments

Description Minh Nguyễn 2013-03-31 21:54:37 UTC
As seen at [[vi:Thành viên:Mxn/Từ thần chú không gian tên]], the {{SUBJECTSPACE}} magic word converts spaces to underscores unless a page name is explicitly specified using the {{SUBJECTSPACE:…}} syntax.

This behavior causes problems primarily on Vietnamese-language wikis, in which nearly all namespace names are compound words. For example, templates imported from the English Wikipedia often contain subtle bugs because {{SUBJECTSPACE}} is compared to the output of {{NS:…}}. The workaround is to always specify the page name explicitly, i.e. {{SUBJECTSPACE:{{FULLPAGENAME}}}}, but it is quite inconvenient to have to continually add this workaround to templates copied from other wikis.

Moreover, the English Wikipedia’s “Education Program” namespace and English Wiktionary’s “Sign gloss” namespace are also affected, as would any project namespace named with a compound word.
Comment 1 Gerrit Notification Bot 2013-05-02 00:21:54 UTC
Related URL: https://gerrit.wikimedia.org/r/61936 (Gerrit Change I1af2432cb453efff209e5c384eb484cff5440ebb)
Comment 2 Gerrit Notification Bot 2013-08-16 06:18:31 UTC
Change 61936 merged by jenkins-bot:
Convert underscores to spaces in {{SUBJECTSPACE}}

https://gerrit.wikimedia.org/r/61936
Comment 3 Andre Klapper 2013-09-25 09:56:27 UTC
Minh: Patch got merged. Is this still a problem, or can this report be closed as RESOLVED FIXED?
Comment 4 Minh Nguyễn 2013-09-25 10:14:34 UTC
It's fixed now. Thanks!

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


Navigation
Links