Last modified: 2006-02-17 00:10:10 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2751 - spaces are not replaced with underscores using localurl
spaces are not replaced with underscores using localurl
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
unspecified
All All
: Normal enhancement with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://test.leuksman.com/index.php/Us...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-08 02:27 UTC by lɛʁi לערי ריינהארט
Modified: 2006-02-17 00:10 UTC (History)
1 user (show)

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


Attachments

Description lɛʁi לערי ריינהארט 2005-07-08 02:27:25 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]]
Comment 1 Netoholic 2005-07-18 15:02:44 UTC
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. 
Comment 2 lɛʁi לערי ריינהארט 2006-02-16 23:43:39 UTC
(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]]
Comment 3 lɛʁi לערי ריינהארט 2006-02-16 23:57:10 UTC
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")
Comment 4 Brion Vibber 2006-02-17 00:10:10 UTC
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.

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


Navigation
Links