User Tools

Site Tools


blog:2022-08-06:wiki_update_coming_soon

This is an old revision of the document!


Wiki Update Coming Soon

For the past month or so, some of you might have noticed this banner at the top of the wiki when you log in1):

It indicates that a new update of the wiki engine is available. I had been waiting for the stable release to be available instead of the release candidate (rc) and it looks like it is now. I'm currently in the process of testing this upgrade on a local copy of our website to make sure that it doesn't break anything. The current version we're using is from 2020-07-29 (2 years ago!) so there could be incompatibilities with extensions we're using.

Once I'm satisfied that the new version is running well, I'll upgrade the site here has well.

Issues

I found some issues that will need to be fixed before I proceed with the wiki. I'll update this page as I make progress.

Issue Fix
The BlogTNG options used to post a news item on the front page are missing. The plugin page and github page haven't been updated in years. Install the following plugins instead:
* Blog
* Include
* Old version of Pagequery (see Issue description

There will be slight change in functionality.
Some template changes were reverted. Re-implement the changes listed here.

BlogTNG Options Missing

The BlogTNG options used to post a news item on the front page are missing. Steps to recreate:

  1. click on “Create a News Item” on the front page
  2. Add a title and click “Create”
  • Expected
  • Actual:

Updates:

  • Looking at plugin dokuwiki and github pages, it looks like the plugin is no longer being maintained.
  • Looking at the blogging and include plugins as alternatives.

Fix Tested On Local Machine

Header Missing

The header is missing.

  • Expected:
  • Actual:

Fix is to follow the instructions [[/memberscorner/weblog#top_bar_for_dokuwiki_template_only |here] for the template mods.

Table of Contents Not Hiding

I had configured the table of content to hide by default. It looks like this configuration was overwritten by the upgrade.

  • Fix is to edit /lib/tpl/dokuwiki/script.js and replace:
    if($toc.length) {
      $toc[0].setState(1); 

    with

    if($toc.length) {
      $toc[0].setState(-1);
1)
Note that this notice only shows for logged in users, so the general public doesn't see it
blog/2022-08-06/wiki_update_coming_soon.1659934163.txt.gz · Last modified: 2022/08/07 21:49 by va7fi