Table of Contents
This is an old revision of the document!
This page last changed 2023.07.27 09:23 visits: 8 times today, 19 times yesterday, and 4601 total times
Dokuwiki Annoyances
The dropdowns in upper-right don't work
When you select the person-dropdown and others in upper right to right of Search, nothing happens. You expect to see your name, update profile, and admin, but the dropdown doesn't drop down.
This is because a flag defer_js is set.
To undo this:
- You can put the following line in /conf/local.php:
$conf[“defer_js”] = true; - Or you can try going to
/doku.php?do=admin&page=config
directly to make the change.
For here it would be
https://wiki.toku.us/doku.php?do=admin&page=config
On the config page, the setting is in Feature Flags, after Advanced and before Network
Inserting Picture Files
If you upload a jpg and can't get it to be inserted, this is why. You need to rename its extent to jpeg, upload, and reference it with .jpeg extent.
So you need to rename something.jpg
to be something.jpeg
, upload and reference it as something.jpeg
:
{{something.jpeg?linkonly}}
(the 'linkonly' is optional, it links to the picture, click-to-see-it, rather than insert-the-picture-here)
Tables
Including | in Table Entry
Using | in a table
Normally, when you use a | inside a table, it's treated as start-next-column. If you want it to be treated as a regular character (for example: ls | more
in Linux, where the | is part of the command sequence, then surround the | in two pair of % or use nowiki.
paging file listing | ls -lt | more | ls -lt | more |
Coloring a cell
|@palegreen:cell1|@:cell2|@#FF00FF:cell3|
cell1 | cell2 | cell3 |
Coloring text
<color /#ccccff>text1 background</color> <color green>text2</color> <color #00FFFF>text3</color> <color red/green>text4</color>
text1 background text2 text3 text4
Specifying column widths
Put this on the line before the start of the table. This example shows a spec for a 4-column table. 100% means you're dealing with the entire table width. 14%, 10%, and 1% specify the relative width for those three columns; the - means the rest of the width goes into that table. |< 100% 14% - 10% 1%>|
Hiding text
The Hidden plugin does the job.
If you use: <hidden click to show>the text to be shown or hidden</hidden>
it works like this:
If you want to control initial state visible/not and change text shown depending on visible/not, use:
<hidden initialState="visible" onVisible="Click to hide" onHidden="click to show ">Text to be seen or not seen</hidden>
and it works like this: