[pmwiki-users] New recipe: FixURL encodes special characters in link addresses
tamouse mailing lists
tamouse.lists at gmail.com
Tue Nov 8 05:07:08 CST 2011
On Sat, Nov 5, 2011 at 11:13 AM, Petko Yotov <5ko at 5ko.fr> wrote:
> On Friday 04 November 2011 10:58:27 Carles Escrig Royo wrote:
>> Hello. It's a nice helping feature for novel authors.
>> Shouldn't this be part of the core? Imho, this authors will never be
>> able to find out how and which codes they should use for those
> Actually, these characters appear very rarely in addresses, and at least with
> Firefox and Chrome, when you copy such address of a page/link/picture, the
> correct, encoded address is copied to the clipboard and you can paste it
> without problems in PmWiki.
> Among the rare cases, there is one which happens more often: pages of
> Wikipedia can have parentheses in their addresses and authors with MSIE or
> Opera need to encode them.
> So, about including the recipe into the core, if many people use it, it is
>> On 11/1/11, Petko Yotov <5ko at 5ko.fr> wrote:
>> > Hello. FixURL provides a [%2] button in the edit toolbar to encode
>> > special characters like parentheses and quotes in link addresses, and
>> > avoid incorrect interpretation by PmWiki:
>> > http://www.pmwiki.org/wiki/Cookbook/FixURL
>> > press the button, and the address changes to:
>> > https://en.wikipedia.org/wiki/Wiki%20%28disambiguation%29
>> > The second address works both in PmWiki and in all browsers and points to
>> > the same external page.
This is a pretty nifty thing. I've been doing it the "hard way" up to
know by running them through a filter in emacs and pasting it back
into the text box. This should save a couple of steps.
More information about the pmwiki-users