https://bugzilla.wikimedia.org/show_bug.cgi?id=46742

       Web browser: ---
            Bug ID: 46742
           Summary: SUBJECTSPACE converts spaces to underscores when no
                    page name is given
           Product: MediaWiki
           Version: 1.21-git
          Hardware: All
               URL: http://vi.wikipedia.org/wiki/Thành_viên:Mxn/Từ_thần_ch
                    ú_không_gian_tên
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Internationalization
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to