[Bug 22474] urlencode should talk an optional second parameter

2010-07-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22474

Niklas Laxström niklas.laxst...@gmail.com changed:

   What|Removed |Added

 CC||sadik.kha...@gmail.com

--- Comment #5 from Niklas Laxström niklas.laxst...@gmail.com 2010-07-18 
16:00:10 UTC ---
*** Bug 24434 has been marked as a duplicate of this bug. ***

-- 
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


[Bug 22474] urlencode should talk an optional second parameter

2010-04-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22474

--- Comment #3 from Umherirrender umherirrender_de...@web.de 2010-04-08 
17:45:53 UTC ---
Wiki encoding works fine with FULLPAGENAMEE:

{{urlencode:Hello world|wiki}} = {{FULLPAGENAMEE:Hello world}}

Maybe there is no need for a new function.

-- 
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


[Bug 22474] urlencode should talk an optional second parameter

2010-04-08 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22474

--- Comment #4 from Conrad Irwin conrad.ir...@gmail.com 2010-04-08 18:09:34 
UTC ---
Not quite, though I appreciate the difference is confusing: FULLPAGENAMEE
validates its input for MediaWiki, urlencode does not. Perhaps WIKI was a
confusing choice of name, but this is really useful for other sites that use an
_ for encoding spaces (MediaWiki itself can understand |path}} encoding).

{{urlencode:b|wiki}} = %3Cb%3E
{{FULLPAGENAMEE:b}} = 

{{urlencode:amp;|WIKI}} = %26amp;
{{FULLPAGENAMEE:amp;}} = 

Maybe, given that the difference is just how they encode spaces, it should be
|+}} |%}} and |_}} - but that seems a bit leet, and is inflexible if someone
wants to add other conventions.

It might also be nice to add a further flag for decoding HTML entities, and/or
%-escapes.

-- 
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


[Bug 22474] urlencode should talk an optional second parameter

2010-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22474

Conrad Irwin conrad.ir...@gmail.com changed:

   What|Removed |Added

 CC||bugrepor...@to.mabomuja.de

--- Comment #1 from Conrad Irwin conrad.ir...@gmail.com 2010-04-08 00:30:23 
UTC ---
*** Bug 16868 has been marked as a duplicate of this bug. ***

-- 
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


[Bug 22474] urlencode should talk an optional second parameter

2010-04-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=22474

Conrad Irwin conrad.ir...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED

--- Comment #2 from Conrad Irwin conrad.ir...@gmail.com 2010-04-08 00:31:10 
UTC ---
Implemented as described in r64726

-- 
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