Not logged in. · Lost password · Register

All posts by gerardnico (4)

topic: Plugin Dependency: Adding a header script if a syntax exist  in the forum: General Help and Support Development
Avatar
gerardnico #1
Member since Mar 2009 · 4 posts · Location: Oegstgeest Netherlands
Group memberships: Members
Show profile · Link to this post
Javascript is king :)

Thanks for the answer, I will check in this direction.
topic: Plugin Dependency: Adding a header script if a syntax exist  in the forum: General Help and Support Development
Avatar
gerardnico #2
Member since Mar 2009 · 4 posts · Location: Oegstgeest Netherlands
Group memberships: Members
Show profile · Link to this post
Subject: Plugin Dependency: Adding a header script if a syntax exist
Hallo,

I would like to improve the page load of my wiki.

The plugin mathjax is using a third party library javascript that render the math expression
https://www.dokuwiki.org/plugin:mathjax

Ie there is a action plugin that is triggerd at the hook TPL_METAHEADER_OUTPUT and add the following:
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2…?config…' async></script>

There is also a syntax plugin that takes care of all math expression
<math>x^2</math>

I would like to add the javascript library only if there is a math expression.

I actually have tried with a boolean constant class but has the same class object is used between test case, I got a false positive.
Ie the test works in isolation but not in the test serie.

Does dokuwiki have a mechanism to take care of this kind of dependency between a syntax and a action plugin ?

Thanks
Nico
topic: three very common plugin requests  in the forum: General Help and Support Plugins Plugin Wishlist
Avatar
gerardnico #3
Member since Mar 2009 · 4 posts · Location: Oegstgeest Netherlands
Group memberships: Members
Show profile · Link to this post
In reply to post ID 11308
For #2, I have made one and I have released it today.
http://www.dokuwiki.org/plugin:404manager

I hope that I have not made a mistake with the ACL. For me, it works perfect.

Regards
Nico
topic: link to nonexistent page automatically creates page?  in the forum: General Help and Support Plugins Plugin Wishlist
Avatar
gerardnico #4
Member since Mar 2009 · 4 posts · Location: Oegstgeest Netherlands
Group memberships: Members
Show profile · Link to this post
In reply to post ID 10979
Here you are. I have made one if you want. I just release it.
http://www.dokuwiki.org/plugin:404manager

Regards
Nico
Close Smaller – Larger + Reply to this post:
Special characters:
Special queries
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-17, 07:21:15 (UTC +01:00)