[pmwiki-users] "/e" in Cookbook / ExternalLinks2
Dominique Faure
dominique.faure at gmail.com
Wed Sep 18 12:18:32 PDT 2019
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190918/d0b1e5c2/attachment.html>
More information about the pmwiki-users
mailing list