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


Splarka <[EMAIL PROTECTED]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|{{FILEPATH:{{PAGENAME}} }}  |{{FILEPATH:{{PAGENAME}} }}
                   |not works for files with    |doesn't work for filenames
                   |non-ASCII characters        |containing characters that
                   |                            |get escaped to HTML entities




--- Comment #1 from Splarka <[EMAIL PROTECTED]>  2008-11-28 05:48:42 UTC ---
It isn't unicode, which works fine, it happens with the following characters
(which are allowed in page titles): & " ' which, in {{PAGENAME}} and related
magic words, get escaped to their HTML entities before parser function
expansion: &quot; &amp; &#39; ... renaming but to reflect this.

A workaround is to use [[Special:Filepath/{{PAGENAME}}]].

http://en.wikipedia.org/wiki/Special:ExpandTemplates?contexttitle=Image%3AAci_Sant%27Antonio.svg&input=%23-+%7B%7BPAGENAME%7D%7D%0D%0A%23-+%7B%7Bfilepath%3A%7B%7BPAGENAMEE%7D%7D%7D%7D%0D%0A%23-+%5B%5BSpecial%3AFilepath%2F%7B%7BPAGENAME%7D%7D%5D%5D%0D%0A&removecomments=1&generate_xml=1

This might be a dupe of an existing magic word/entity bug?


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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