[pmwiki-users] "/e" in Cookbook / ExternalLinks2

Simon nzskiwi at gmail.com
Thu Sep 19 03:36:01 PDT 2019


There is a recipe for this
https://pmwiki.org/wiki/Cookbook/LinkIcons

though it may need a little tweaking
____
http://kiwiwiki.nz


On Thu, 19 Sep 2019 at 07:19, Dominique Faure <dominique.faure at gmail.com>
wrote:

> Hi,
>
> This could be nice if we could have these auto-generated from the PmWiki
> Core itself, taking account of the $ScriptUrl definition, no?
>
> Regards,
> Dominique
>
>
> On Wed, Sep 18, 2019 at 9:01 PM Petko Yotov <5ko at 5ko.fr> wrote:
>
>> I think I've fixed the recipe, if you test it please report if it works.
>>
>> As of 2019, for my websites, instead of this recipe, I'd certainly *not*
>> enable the %newwin%/target="_blank" link feature (people know how to
>> middle-click or long-tap to open a new window), and if I needed the
>> external link styling I'd place into pub/css/local.css these styles:
>>
>>    a.urllink:not([href*="://www.example.com"]) {
>>      color: #2f6fab;
>>    }
>>
>>    a.urllink:not([href*="://www.example.com"]):after {
>>      content: '\2197'; /* NE arrow */
>>    }
>>
>> "a.urllink" is the default CSS class for external links, unless a recipe
>> or a skin modified it. www.example.com is your domain name.
>>
>> Petko
>>
>> On 17/09/2019 17:02, Donald Z. Osborn wrote:
>> > Noted the /e parameter - perhaps the very same one that causes issues
>> > with
>> > PHP7.2 - in:
>> > https://www.pmwiki.org/wiki/Cookbook/ExternalLinks2
>> >
>> > Should/can this be fixed, or is there a recommended alternative?
>>
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190919/6a195fe7/attachment.html>


More information about the pmwiki-users mailing list