Last modified: 2006-02-17 00:10:10 UTC
Hallo! # [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}#simple_selfrefering_links}} d)] # [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|#simple_selfrefering_links}} d - 2)] # [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}}}#simple_selfrefering_links d - 3)] # [{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|}}#simple_selfrefering_links}} d - 4] *seems* to give the same result but they give *not* spaces are not replaced with underscores in {{PAGENAME}} at {{localurl:{{NAMESPACE}}:{{PAGENAME}}#simple_selfrefering_links}} Regards Reinhardt [[user:gangleri]]
In addition, I would like context such as this to work properly. Instead, it breaks on the first space after "Willy". [{{SERVER}}{{localurl:Special:Blockip|ip=Willy on Wheels}} block] Is this perhaps what the localurle was meant to do at one time? In reality, {{SERVER}}{{localurl...}} should always resolve before other wiki-text is interpreted, like the external link brackets.
(In reply to comment #0) > spaces are not replaced with underscores in {{PAGENAME}} at > {{localurl:{{NAMESPACE}}:{{PAGENAME}}#simple_selfrefering_links}} This seems to be FIXED. See http://test.leuksman.com/view/User:Gangleri/tests/selfrefering_links_and_anchors#a_bug_or_not_a_bug (In reply to comment #1) > In addition, I would like context such as this to work properly. Instead, it > breaks on the first space after "Willy". > > [{{SERVER}}{{localurl:Special:Blockip|ip=Willy on Wheels}} block] This is *not* fixed. See http://test.wikipedia.org/wiki/User:Gangleri/tests/bugzilla/02751#tests best regards reinhardt [[user:gangleri]]
The request from comment 1 is covered by / close to Bug 839: method to URL-escape arbitrary text (e.g. the name of some other page) having three duplicates: bug 1192, bug 1461, bug 5012 ("ulr magic word")
Resolving FIXED per comment #3. The bit in comment #2 is separate; simply replacing spaces there would not be sufficient as you may have something containing other metacharacters (especially '&') and the system has no way of knowing that you meant it as a literal character. See bug 839.