turnermm / charpicker Goto Github PK
View Code? Open in Web Editor NEWModify character selection in the Dokuwiki Special Chars picker
Home Page: https://www.dokuwiki.org/plugin:charpicker
Modify character selection in the Dokuwiki Special Chars picker
Home Page: https://www.dokuwiki.org/plugin:charpicker
DokuWiki 2022-07-31 "Igor"
PHP 8.0.22 (PHP_FPM called from OpenBSD 7.1 httpd)
charpicker (Last updated on 2020-08-06)
I'm not sure but I suspect it's the $event->data[$i]['list']
PHP is complaining about.
https://www.dokuwiki.org/devel:event:toolbar_define documents this somewhat sparsely as:
list — function with options
That does not sound like an array to me, which is what array_intersect()
expects.
Note: A var_dump($event->data[$i]['list']);
would likely help clear this up, but I can't seem to figure out where the output ends up. Or how to properly log from this context…
fiwswe
…/data/log/deprecated/*.log shows entries such as this:
2022-09-06 13:16:39 action.php is deprecated. It was called from require_once() in /dokuwiki-test/lib/plugins/action.php:3 Do not require() files yourself. Autoloading should be used instead!
A grep over the plugins folder turned up this which I suspect is one of the causes of the message:
/var/www/dokuwiki-test/lib/plugins/charpicker/action.php:require_once DOKU_PLUGIN.'action.php';
See: https://github.com/turnermm/charpicker/blob/master/action.php#L11
fiwswe
I need to build a custom character picker list, and having this plugin remove all entries first would allow me not to mess around in the DokuWiki code. :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.