Last modified: 2011-03-13 18:06:53 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 T3649, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 1649 - PAGENAMEE works only with 7bit characters in <nowiki>{{localurl:{{NAMESPACE}}:{{PAGENAMEE}}}}</nowiki>
PAGENAMEE works only with 7bit characters in <nowiki>{{localurl:{{NAMESPACE}}...
Status: CLOSED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
PC Windows XP
: Lowest normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://ro.wikipedia.org/wiki/Discu%C5...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-03-07 12:25 UTC by lɛʁi לערי ריינהארט
Modified: 2011-03-13 18:06 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-03-07 12:25:39 UTC
Dear friends,

This is an analysis about the usage of the following templates:
[[en:Template:CategoryTOC]]
[[commons:Template:CategoryTOC]]
[[de:Vorlage:KategorieTOC]]
[[eo:Ŝablono:TOCcatTEST]]
[[hu:Sablon:CatAZ]]
[[ro:Format:TOCcatTEST]]

As you can see at
http://ro.wikipedia.org/wiki/Discu%C5%A3ie_Format:TOCcat#known_problems
the links for [[en:]], [[commons:]] etc. examples will fail.

PAGENAMEE will NOT work with Latin-1 characters in localurl.

== workaround ==

As described at
[[en:User talk:Patrick#question about localurl.2C PAGENAME.2C PAGENAMEE|en:User
talk:Patrick#question about localurl, PAGENAME, PAGENAMEE]]
[[en:User talk:Patrick#answer regarding localurl.2C PAGENAME.2C
PAGENAMEE|en:User talk:Patrick#answer regarding localurl, PAGENAME, PAGENAMEE]]

there is a workaround using PAGENAME. The question is if this is a bug and if
the workaround is stable.

Best regards Reinhardt [[user:gangleri]]
Comment 2 Brion Vibber 2005-03-07 22:26:57 UTC
Nowhere above do I see a description of the problem, or an actual example of a 
link which is said to be wrong and a description of what's wrong with it. None of 
the links I followed from the above links appeared to have anything wrong with 
them.

Please provide this basic information and reopen the bug.
Comment 3 lɛʁi לערי ריינהארט 2005-03-08 01:46:46 UTC
a) please click on M in the navigation template on
http://commons.wikimedia.org/w/index.php?title=Category:Baden-W%C3%BCrttemberg&oldid=99290

b) please click on A in the navigation template on
http://en.wikipedia.org/w/index.php?title=Category:Bah%E1%27%ED&oldid=10893695

c) please click on N in the navigation template on
http://eo.wikipedia.org/wiki/Kategoria_diskuto:Urboj_de_%C4%88e%C4%A5io

Thanks in advance!
Comment 4 Brion Vibber 2005-03-08 02:02:44 UTC
Isolated problem to use of {{PAGENAMEE}} input to {{localurl:}}. Sample:

* {{localurl::Test2é}}
** ^ renders as a URL path, such as /rel1.4/index.php/Test2%C3%A9
* {{localurl::Test2%C3%A9}}
** ^ renders as raw source text

The reason for this is that {{localurl:}] expects a valid page title, and 
outputs the relative path to its view URL -- which is URL-escaped on 
output. By pre-escaping its input you are making an invalid page title, 
which is rejected.

You should use {{PAGENAME}} here., not {{PAGENAMEE}}.
Comment 5 lɛʁi לערי ריינהארט 2005-06-11 04:05:31 UTC
This bug was a misunderstanding about what PAGENAMEE is.

Originaly I believed that the only difference to PAGENAME is that spaces are
replaced with underscores.

This is not the case. PAGENAMEE make a lot of character conversions and can be
used in the parameter part of localurl.

Best regards Reinhardt
Comment 6 lɛʁi לערי ריינהארט 2005-06-11 09:30:29 UTC
added some comments at
[[meta:Help:Pagename#Variables PAGENAME and PAGENAMEE]] and
[[meta:Help:ĀāĆćĎďĒēĜĝĤĥĨĩĴĵĹĺŃń and PAGENAMEE]]

*** marking as closed ***
Comment 7 lɛʁi לערי ריינהארט 2005-10-04 12:30:35 UTC
just a test of rendering in MediaZilla

[[meta:Help:ĀāĆćĎďĒēĜĝĤĥĨĩĴĵĹĺŃń and PAGENAMEE]]
[[meta:Help:ĀāĆćĎďĒēĜĝĤĥĨĩĴĵĹĺŃń_and_PAGENAMEE]]

both should generate links to meta

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


Navigation
Links