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

Petko Yotov 5ko at 5ko.fr
Wed Sep 18 12:00:54 PDT 2019


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?



More information about the pmwiki-users mailing list