dokuwiki_notes
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dokuwiki_notes [2022/02/18 21:29] – [double dashes in monospaced text] raju | dokuwiki_notes [2024/04/19 04:33] – [documentation links I came across] raju | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ==== tasks ==== | ||
+ | * [[random_page# | ||
+ | ==== how to write question and answers ==== | ||
+ | tags | qna, Q&A | ||
+ | |||
+ | You can use | ||
+ | < | ||
+ | :?: Question \\ | ||
+ | :!: Answer | ||
+ | </ | ||
+ | It will render as | ||
+ | |||
+ | :?: Question \\ | ||
+ | :!: Answer | ||
+ | |||
+ | It also works with lists. For example | ||
+ | < | ||
+ | * :?: Question | ||
+ | * :!: Answer | ||
+ | </ | ||
+ | will render as | ||
+ | * :?: Question | ||
+ | * :!: Answer | ||
+ | |||
+ | See also: | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | ==== convert mediawiki page to dokuwiki ==== | ||
+ | < | ||
+ | pandoc -f mediawiki -t dokuwiki --shift-heading-level-by=-1 mw.txt -o dk.txt | ||
+ | </ | ||
+ | |||
+ | Q. Why --shift-heading-level-by=-1? | ||
+ | |||
+ | A. The section levels are preserved. For example | ||
+ | |||
+ | < | ||
+ | $ cat mw.txt | ||
+ | ==== foo ==== | ||
+ | |||
+ | $ pandoc -f mediawiki -t dokuwiki mw.txt | ||
+ | === foo === | ||
+ | |||
+ | $ pandoc --shift-heading-level-by=-1 -f mediawiki -t dokuwiki mw.txt | ||
+ | ==== foo ==== | ||
+ | </ | ||
+ | |||
+ | See also: | ||
+ | * Documentation - https:// | ||
+ | * In action - [[https:// | ||
+ | |||
+ | tags | section headings, header levels, mediawiki to dokuwiki change header level | ||
+ | |||
+ | ==== reference urls ==== | ||
+ | * source code - https:// | ||
+ | |||
+ | ==== check the version of dokuwiki instance ==== | ||
+ | * Login as admin and go to https:// | ||
+ | * Note:- If you do not login as admin, the version number is not displayed. | ||
+ | |||
+ | Ref:- https:// | ||
+ | |||
+ | tags | check dokuwiki version running | ||
+ | |||
+ | ==== Tag plugin ==== | ||
+ | * url: https:// | ||
+ | |||
+ | * The plugin version 2022-10-02 is incompatible with dokuwiki 0.0.20180422.a-2.1. For example, if I add the following line to the bill_pay_setup page< | ||
+ | {{tag> | ||
+ | </ | ||
+ | I am getting< | ||
+ | 022/12/06 16:38:23 [error] 2076452# | ||
+ | Stack trace: | ||
+ | #0 / | ||
+ | #1 / | ||
+ | #2 / | ||
+ | #3 / | ||
+ | #4 / | ||
+ | #5 / | ||
+ | 2022/12/06 16:38:23 [error] 2076452# | ||
+ | #6 / | ||
+ | #7 / | ||
+ | #8 / | ||
+ | #9 / | ||
+ | #10 / | ||
+ | #11 / | ||
+ | </ | ||
+ | |||
+ | Upgrading from < | ||
+ | $ dpkg -l dokuwiki | grep ^ii | ||
+ | ii dokuwiki | ||
+ | </ | ||
+ | to | ||
+ | < | ||
+ | $ dpkg -l dokuwiki | grep ^ii | ||
+ | ii dokuwiki | ||
+ | </ | ||
+ | fixed the issue | ||
+ | |||
+ | * This plugin requires the pagelist plugin (https:// | ||
+ | |||
+ | ==== table with minimum column width ==== | ||
+ | Use | ||
+ | < | ||
+ | <WRAP group>< | ||
+ | ^ Heading ^ Heading ^ | ||
+ | | cell data | cell data | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | For example | ||
+ | < | ||
+ | <WRAP group>< | ||
+ | ^ Heading ^ Heading ^ | ||
+ | | cell data | cell data | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | will render as | ||
+ | <WRAP group>< | ||
+ | ^ Heading ^ Heading ^ | ||
+ | | cell data | cell data | | ||
+ | </ | ||
+ | |||
+ | while | ||
+ | < | ||
+ | ^ Heading ^ Heading ^ | ||
+ | | cell data | cell data | | ||
+ | </ | ||
+ | |||
+ | will render as | ||
+ | |||
+ | ^ Heading ^ Heading ^ | ||
+ | | cell data | cell data | | ||
+ | |||
+ | Ref:- https:// | ||
+ | |||
+ | tags | reduce column width | ||
+ | |||
+ | ==== table as a list item ==== | ||
+ | tags | table inside a list | ||
+ | |||
+ | To get | ||
+ | * tables | ||
+ | * table 1 < | ||
+ | ^ foo ^ foo ^ | ||
+ | | foo | foo | | ||
+ | </ | ||
+ | * tabel 2 < | ||
+ | ^ bar ^ bar ^ | ||
+ | | bar | bar | | ||
+ | </ | ||
+ | * < | ||
+ | ^ blah ^ blah ^ | ||
+ | | blah | blah | | ||
+ | </ | ||
+ | |||
+ | use | ||
+ | |||
+ | < | ||
+ | * tables | ||
+ | * table 1 < | ||
+ | ^ foo ^ foo ^ | ||
+ | | foo | foo | | ||
+ | </ | ||
+ | * tabel 2 < | ||
+ | ^ bar ^ bar ^ | ||
+ | | bar | bar | | ||
+ | </ | ||
+ | * < | ||
+ | ^ blah ^ blah ^ | ||
+ | | blah | blah | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Ref: https:// | ||
+ | |||
+ | ==== indented paragraph ==== | ||
+ | If you only need one tab, install the " | ||
+ | |||
+ | Example: | ||
+ | <WRAP indent> | ||
+ | foo 1 | ||
+ | * bar 1 | ||
+ | * bar 2 | ||
+ | foo 2 | ||
+ | * bar 3 | ||
+ | * bar 4 | ||
+ | </ | ||
+ | |||
+ | tags | insert tab | ||
==== double dashes in monospaced text ==== | ==== double dashes in monospaced text ==== | ||
- | use ''< | + | Use ''< |
Compare this to ''< | Compare this to ''< | ||
Line 7: | Line 199: | ||
Ref:- https:// | Ref:- https:// | ||
- | Extension: | + | Extension:- |
- | To display an option such as '' | + | To display an option such as '' |
- | ''< | + | ''< |
+ | |||
+ | tags | remove formatting | ||
==== sitemap ==== | ==== sitemap ==== | ||
http:// | http:// | ||
+ | |||
+ | ==== search within a namespace ==== | ||
+ | To search pages within a namespace, prefix @ or ns: to the namespace. To not search pages within a namespace, prefix ^ or -ns: to the namespace. | ||
+ | |||
+ | Examples: | ||
+ | < | ||
+ | dividend yield ns:diary | ||
+ | </ | ||
+ | will search for ' | ||
+ | |||
+ | https:// | ||
==== useful plugins ==== | ==== useful plugins ==== | ||
Line 30: | Line 235: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
+ | * for | nested lists, definition lists etc., | ||
+ | * https:// | ||
+ | * using this to maintain a journal in [[:diary:]] | ||
+ | * https:// | ||
+ | * using this to parameterize the value of '' | ||
+ | * tags | variable in page content | ||
==== plugins I am exploring ==== | ==== plugins I am exploring ==== | ||
Line 39: | Line 251: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | \\ | ||
+ | * https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | \\ | ||
+ | * https:// | ||
+ | \\ | ||
+ | https:// | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
==== conflicting plugins ==== | ==== conflicting plugins ==== | ||
* https:// | * https:// | ||
Line 82: | Line 305: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
==== Useful documentation ==== | ==== Useful documentation ==== | ||
Line 111: | Line 335: | ||
* https:// | * https:// | ||
* How to put line breaks in lists? | * How to put line breaks in lists? | ||
+ | * https:// | ||
+ | * approve edits on dokuwiki | ||
+ | |||
+ | |||
+ | ==== useful links ==== | ||
+ | * https:// | ||
+ | * provides an example on how to put content into two or more columns. | ||
+ | * https:// | ||
==== multiple lines in table cell ==== | ==== multiple lines in table cell ==== | ||
Line 159: | Line 391: | ||
==== Questions to look into ==== | ==== Questions to look into ==== | ||
* Is it possible to persist the breadcrumbs across user sessions? For example, the breadcrumbs are lost if I close the chrome browser and reopen it. Is it possible to preserve them even in such cases? | * Is it possible to persist the breadcrumbs across user sessions? For example, the breadcrumbs are lost if I close the chrome browser and reopen it. Is it possible to preserve them even in such cases? | ||
+ | |||
+ | ==== list of installed plugins ==== | ||
+ | syntaxplugins | ||
+ | ~~INFO: | ||
+ | adminplugins | ||
+ | ~~INFO: | ||
+ | |||
+ | Ref:- https:// | ||
+ | |||
+ | ==== link to a namespace ==== | ||
+ | You can use ''< | ||
+ | |||
+ | Ref:- | ||
+ | * Found this tip in https:// | ||
dokuwiki_notes.txt · Last modified: 2024/05/12 20:07 by raju