Last modified: 2011-06-09 07:49:08 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 T7268, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 5268 - Bugzilla doesn't render [[%]] correctly
Bugzilla doesn't render [[%]] correctly
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Bugzilla (Other open bugs)
unspecified
All All
: Lowest minor with 1 vote (vote)
: ---
Assigned To: Priyanka Dhanda
:
: 5449 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-16 10:12 UTC by David Benbennick
Modified: 2011-06-09 07:49 UTC (History)
3 users (show)

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


Attachments

Description David Benbennick 2006-03-16 10:12:53 UTC
In the Bugzilla view for this very bug, [[%]] should link to
http://en.wikipedia.org/wiki/%25 not http://en.wikipedia.org/wiki/%
Comment 1 Brion Vibber 2006-03-16 18:14:26 UTC
Er, no. That's exactly what it does do.
Comment 2 David Benbennick 2006-03-17 00:06:54 UTC
No it doesn't.  Try clicking here: [[%]].  The page source has

<a href="http://en.wikipedia.org/wiki/%">[[%]]</a>

so if you click on the link produced by [[%]] you get a 400 Bad Request, instead
of being taken to the article entitled %.
Comment 3 Brion Vibber 2006-03-17 00:15:27 UTC
Ok, Safari is being too smart for its own good and is "correcting" the URL, to the 
degree that it shows the corrected URL in the status bar on hover and links to it.
Comment 4 Charles Robertson 2006-07-25 22:43:10 UTC
The reason for this is that the percent sign (%) is an escape character in the
URL scheme. %XX is equivalent to a the character with ASCII value XX (in
hexidecimal). For example, the left prenthesis '(' has ASCII value 40, so it has
hex value x28, and can be entered into URLs as %28.

The percent sign has ASCII value 37, which is x25, so the URL
http://en.wikipedia.org/wiki/%25 would take you to the page entitled "%".  Right
now the URL has a percent sign with nothing after it, and the server just plain
doesn't know how it should handle it, so you get a bad request.
Comment 5 Brion Vibber 2009-08-12 23:44:51 UTC
Bulk-assigning open BZ issues to Fred.
Comment 6 Fred Vassard 2009-09-10 17:38:31 UTC
I don't see the problem here. 
Like Charles explained, this is an escape char, so it is properly translated. Why do you want to use [[%]] ?
Comment 7 Platonides 2009-09-10 17:43:40 UTC
Bracket links should work just as they do in the wiki.
So [[%]] should lead to article with title %. If people wanted url % semantics (why?) they'd use full urls.

It's probably just changing the url escape function.
Comment 8 Chad H. 2009-10-22 19:38:20 UTC
*** Bug 5449 has been marked as a duplicate of this bug. ***
Comment 9 Siebrand Mazeland 2010-02-13 00:34:57 UTC
Bulk assign Bugzilla related issues to pdhanda: current maintainer

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


Navigation
Links