fiwswe Wiki

fiwswe's ramblings

User Tools

Site Tools


weblog

Welcome to fiwswe's BLOG

Currently there are 22 entries in this BLOG.

Embedded PHP Plugin

I have published my first DokuWiki plugin: Embedded PHP Plugin

It was created to replace the <php> and <PHP> functionality that was removed in DokuWiki “Jack Jackrum”.

Apart from a learning experience w.r.t. the actual plugin development the publishing part was interesting as well.

  • For example I did not know that GitHub allows for automated downloads of .zip archives using a very generic URL.
  • I also did not know that the name of the top level directory in the .zip archive is automatically replaced with the base name of the plugin during installation.
  • Debugging plugins is a pain! I did my development on a remote machine and the only debugging tools where \dokuwiki\Logger::debug() statements and in rare cases modified HTML output (in the render() method of the plugin). Caching often gets in the way as well.
  • There is no way to test the ---- plugin ---- block at the top of the Embedded PHP Plugin page ahead of time. A special plugin interprets the content and apparently there is a database involved as well.
  • The rest of the Embedded PHP Plugin can be prebuilt and tested in a private wiki. However any links to the https://www.dokuwiki.org website must be set to doku>… on the test site and changed to :… on the real website.
2023/04/08 15:14 · wiki admin

Site creation

After using the moniker fiwswe for some time now, I have decided to have a website for this identity. This is it!

In late 2022 everything came together for this:

  • I found a way to reasonably assure the anonyomity of using the fiwswe alias.
  • I found relatively cheap domain registration, E-Mail, hosting and other services while retaining all technical features I wanted for this private, non-critical, non-commercial website.
  • I had the time and inclination.

Real content will probably arrive irregularly. Do not expect high a volume of content from this website.

→ Read more...

2022/10/29 13:06 · fiwswe
weblog.txt · Last modified: by fiwswe