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

--- Comment #8 from fastgoldf...@gmail.com 2011-09-14 20:02:04 UTC ---
For use cases, I discovered the bug when trying to make an internal link
directly to Semantic MediaWiki's Semantic Search form, so users could easily
find dynamically generated lists of stuff. For example, here's a link to a list
of cities and their populations:

http://semantic-mediawiki.org/wiki/Special:Ask?title=Special%3AAsk&q=%5B%5BCategory%3ACity%5D%5D&po=%3FPopulation&sort_num=&order_num=ASC&eq=yes&p%5Bformat%5D=broadtable&p%5Blimit%5D=20&p%5Boffset%5D=0&p%5Bheaders%5D=show&p%5Bmainlabel%5D=&p%5Blink%5D=all&p%5Bintro%5D=&p%5Boutro%5D=&p%5Bdefault%5D=&eq=yes

The query parameter strings in that URL contain URL-encoded square brackets.
There's no good reason why I should not be able to produce an internal link to
such a common type of thing. Semantic MediaWiki just happens to be where I
discovered the bug, but it could occur in any situation where the URL contains
URL-encoded brackets, for a form, or whatever.

Currently the parser is decoding URL-encoded characters to arrive to the
incorrect conclusion that it is a wiki title with illegal characters, and it
should not be doing that. It should just make the link. 

With Bawolff's information, it sounds like instead of just making the link, it
should more specifically ignore URL-encoded characters in URL parameters,
special pages, etc, as he described. I don't understand all those details, so I
can only report what's going wrong. I'm not sure what's going right :)

-- 
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 on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to