DokuWiki

It's better when it's simple

User Tools

Site Tools


tips

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tips [2018-06-11 11:17] – old revision restored (2018-05-09 17:46) & a new link Aleksandrtips [2023-03-16 07:55] – [Extending the Syntax] 212.201.117.6
Line 1: Line 1:
-====== Tips and Tricks for Dokuwiki ======+====== Tips and Tricks for DokuWiki ======
    
 This is the place to collect all your Tips and Tricks for [[DokuWiki]] Usage. This is the place to collect all your Tips and Tricks for [[DokuWiki]] Usage.
Line 31: Line 31:
 ^ Link ^ Short Description ^ ^ Link ^ Short Description ^
 | [[tips:magnet links]]  | Show DC++ magnet links as external  | | [[tips:magnet links]]  | Show DC++ magnet links as external  |
-| [[:tips:links-to-dokuwiki-commands]] | make links to "DokuWiki actions" (?do=) from within your wiki content|+| [[:tips:links-to-dokuwiki-commands]] | make links to "DokuWiki actions" (?do=) from within your wiki content, aka. Action Modes, aka. Action Links (in general, URL tags)|
 | [[:tips:tex_howto]] | This patch (to 2005-05-07 version) add AMSLaTeX mathematical expression support to DokuWiki |  | [[:tips:tex_howto]] | This patch (to 2005-05-07 version) add AMSLaTeX mathematical expression support to DokuWiki | 
  
Line 46: Line 46:
 | [[tips:code_css|Code CSS]]                                                                   | CSS for use with Syntax Highlighting                                                                           | | [[tips:code_css|Code CSS]]                                                                   | CSS for use with Syntax Highlighting                                                                           |
 | [[tips:geshi_style_builder]]                                                                 | Geshi Style builder                                                                                            | | [[tips:geshi_style_builder]]                                                                 | Geshi Style builder                                                                                            |
 +| [[tips:XHTML5]]                                                                              | How to switch to XHTML 5                                                                                       |
 | [[tips:XHTML Strict]]                                                                        | How to switch to XHTML 1.0 Strict                                                                              | | [[tips:XHTML Strict]]                                                                        | How to switch to XHTML 1.0 Strict                                                                              |
 | [[tips:Toc use position fixed]]                                                              | When the user scrolls the page, the TOC does not scroll with it, the TOC is fixed.                             | | [[tips:Toc use position fixed]]                                                              | When the user scrolls the page, the TOC does not scroll with it, the TOC is fixed.                             |
-| [[tips:numbered headings]]                                                                   | Numbered headings per CSS only                                                                                 +| [[tips:numbered headings]]        | Numbered headings per CSS only         
-| [[tips:back to top]]                                                                         | back to top before every header                                                                                +| [[tips:back to top]]              | back to top before every header        
-| [[tips:local-links-with-icons|Local links with icons]]                                       | Local links with icons                                                                                         +| [[tips:local-links-with-icons|Local links with icons]]       | Local links with icons      | 
-| [[tips:image-in-the-upper-right-corner]]                                                     | replace top right DokuWiki logo by your own                                                                    |+| [[tips:svg_icons|Custom SVG icons]]  | Create your custom multi-color SVG icons for your DokuWiki   
 +| [[tips:image-in-the-upper-right-corner]]       | replace top right DokuWiki logo by your own   |
 | [[tips:code-in-ordered-lists]]                                                               | Including Code in Ordered Lists                                                                                | | [[tips:code-in-ordered-lists]]                                                               | Including Code in Ordered Lists                                                                                |
 | [[tips:tableswithrowspans2]]                                                                 | Tables with Rowspan Support                                                                                    | | [[tips:tableswithrowspans2]]                                                                 | Tables with Rowspan Support                                                                                    |
Line 63: Line 65:
 | [[tips:double-click-to-edit]]                                                                | Double Click to Open a Section Edit (improved)                                                                 | | [[tips:double-click-to-edit]]                                                                | Double Click to Open a Section Edit (improved)                                                                 |
 | [[tips:simple_columns|Simple Columns]]                                                       | Implementation of columns without plugins                                                                      | | [[tips:simple_columns|Simple Columns]]                                                       | Implementation of columns without plugins                                                                      |
-| [[tips:button_align|Button Align]]                                                          | How to align a <button> element?                                                                               | +| [[tips:button_align|Button Align]]                                                           | How to align a <button> element?                                                                               | 
-| [[tips:interwiki_shortcuts|Additional InterWiki Shortcuts]]                                 | Share Your InterWiki Shortcuts                                                                  +| [[tips:interwiki_shortcuts|Additional InterWiki Shortcuts]]                                  | Share Your InterWiki Shortcuts                                                                                 
 +| [[https://forum.dokuwiki.org/d/20773|Hyphenations within headings and link texts]] (sorry, German only :-( )  | Hyphenations within headings and link texts \\ (German: Worttrennungen innerhalb von Überschriften und Linktexten)  |
 ===== Adding new Functionality ===== ===== Adding new Functionality =====
  
Line 163: Line 165:
 ===== Interacting scripts and tools ===== ===== Interacting scripts and tools =====
  
-^ Link ^ Short Description ^ +^ Link                                                                 ^ Short Description                                                                                                                                                             
-| [[tips:DokuWiki Setup]]  | Easy/automatic installation/upgrade - also fixing safe-mode issues| +| [[tips:DokuWiki Setup]]                                              | Easy/automatic installation/upgrade - also fixing safe-mode issues                                                                                                            
-| [[tips:Maintenance]]  | Cronjobs to keep your wiki clean  +| [[tips:Maintenance]]                                                 | Cronjobs to keep your wiki clean                                                                                                                                              
-| [[tips:Backup Script]]  | A small shellscript to backup your wiki data and media, including rotation. | +| [[tips:Backup Script]]                                               | A small shellscript to backup your wiki data and media, including rotation.                                                                                                   
-| [[tips:BackupToS3]]  | A small ruby script to backup your wiki to Amazon's data storage system S3. | +| [[tips:BackupToS3]]                                                  | A small ruby script to backup your wiki to Amazon's data storage system S3.                                                                                                   
-| [[tips:UpgradeScript]]  | A small script to make DokuWiki updates simpler | +| [[tips:UpgradeScript]]                                               | A small script to make DokuWiki updates simpler                                                                                                                               
-| [[tips:Weblog bookmarklet]]  | A JavaScript/PHP combination to post in DokuWiki like regular weblogs | +| [[tips:Weblog bookmarklet]]                                          | A JavaScript/PHP combination to post in DokuWiki like regular weblogs                                                                                                         
-| [[tips:imap2wiki]]  | A small PHP script to give users the opportunity to post by email| +| [[tips:imap2wiki]]                                                   | A small PHP script to give users the opportunity to post by email                                                                                                             
-| [[https://github.com/chimeric/dokuvimki|DokuVimKi]] | VIM Plugin that allows editing of wiki pages over XML-RPC + Syntax highlighting for DokuWiki syntax | +| [[https://github.com/kynan/dokuvimki|DokuVimKi]]                  | VIM Plugin that allows editing of wiki pages over XML-RPC + Syntax highlighting for DokuWiki syntax                                                                           
-| [[tips:vimkeys]]  | Key Bindings for [G]Vim  +| [[tips:vimkeys]]                                                     | Key Bindings for [G]Vim                                                                                                                                                       
-| [[.tips:fixperms.php]]  | make webserver created files writable by everyone | +| [[.tips:fixperms.php]]                                               | make webserver created files writable by everyone                                                                                                                             
-| [[tips:mail2page]]  | create pages and upload media by email | +| [[tips:mail2page]]                                                   | create pages and upload media by email                                                                                                                                        
-| [[tips:romanize]]  | romanize files in datadir | +| [[tips:romanize]]                                                    | romanize files in datadir                                                                                                                                                     
-| [[http://rules-of-thumb.com/downloads#Misc|DokuWiki2HtmlHelp]] | Converts a DokuWiki website into a Compiled HTML Help file (.chm) complete with table of contents and index | +| [[http://rules-of-thumb.com/DokuWiki2HtmlHelp|DokuWiki2HtmlHelp]]    | Converts a DokuWiki website into a Compiled HTML Help file (.chm) complete with table of contents and index                                                                   
-| [[tips:jEdit]]  | An edit mode for jEdit that does syntax highlighting for headlines, character formats, lists and links | +| [[tips:jEdit]]                                                       | An edit mode for jEdit that does syntax highlighting for headlines, character formats, lists and links                                                                        
-| [[cli|CLI ]] | DokuWiki command line utilities | +| [[cli|CLI ]]                                                         | DokuWiki command line utilities                                                                                                                                               
-| [[tips:recreate wiki change log]] | How to recreate your wiki change log from individual page change logs | +| [[tips:recreate wiki change log]]                                    | How to recreate your wiki change log from individual page change logs                                                                                                         
-| [[tips:readINIfile]]  | How to solve problem with parse_ini_file disabled | +| [[tips:readINIfile]]                                                 | How to solve problem with parse_ini_file disabled                                                                                                                             
-| [[tips:fixmtime]] | Fix modification times based on timestamps (to avoid the ''external edit'' syndrome) | +| [[tips:fixmtime]]                                                    | Fix modification times based on timestamps (to avoid the ''external edit'' syndrome)                                                                                          
-| [[tips:clean_acl]] | Clean up non-existing users and pages in the ACL | +| [[tips:clean_acl]]                                                   | Clean up non-existing users and pages in the ACL                                                                                                                              
-| [[tips:clean_media_directory|Clean Media Directory]] | A little Perl script to clean up orphaned files in the Media-Directory| +| [[tips:clean_media_directory|Clean Media Directory]]                 | A little Perl script to clean up orphaned files in the Media-Directory                                                                                                        
-| [[tips:curl_login|Logging in to retrieve pages with cURL]] | Quick howto on retrieving pages that require logging in with curl.| +| [[tips:curl_login|Logging in to retrieve pages with cURL]]           | Quick howto on retrieving pages that require logging in with curl.                                                                                                            
-| [[tips:extract_links|Extract external links]] | A small PHP script to extract all external links (with surrounding context) from the wiki | +| [[tips:extract_links|Extract external links]]                        | A small PHP script to extract all external links (with surrounding context) from the wiki                                                                                     
-| [[tips:autolink|Add an Autolink page]] | A small Perl Script to (re)builds link on chosen words each nights | +| [[tips:autolink|Add an Autolink page]]                               | A small Perl Script to (re)builds link on chosen words each nights                                                                                                            
-| [[tips:build_report|Automatic build reports]] | A bash script that compiles/builds a project and reports the result to the wiki | +| [[tips:build_report|Automatic build reports]]                        | A bash script that compiles/builds a project and reports the result to the wiki                                                                                               
-| [[tips:gource_analysis|GourceDoku]]|Picture of the edition of a wiki with Gource| +| [[tips:gource_analysis|GourceDoku]]                                  | Picture of the edition of a wiki with Gource                                                                                                                                  
-| [[tips:topcontributors]] | A shell snippet to create a list of the top contributors to the wiki | +| [[tips:topcontributors]]                                             | A shell snippet to create a list of the top contributors to the wiki                                                                                                          
-| [[tips:locateorphanmedia]] | How to get a listing of all orphaned media ie.: media files that are not linked to in your wiki  +| [[tips:locateorphanmedia]]                                           | How to get a listing of all orphaned media ie.: media files that are not linked to in your wiki                                                                               
-| [[tips:pageannotate|Page Annotate]] | A script to give you idea who edited which line in page. Uses git as a tool to do the trick | +| [[tips:pageannotate|Page Annotate]]                                  | A script to give you idea who edited which line in page. Uses git as a tool to do the trick                                                                                   
-| [[tips:mysql-for-all|Mysql For All]] | An off-wiki webpage script to provide users the ability to generate mysql queries for use in wiki plugins. Users do not need to know the database structure or mysql syntax. | +| [[tips:mysql-for-all|Mysql For All]]                                 | An off-wiki webpage script to provide users the ability to generate mysql queries for use in wiki plugins. Users do not need to know the database structure or mysql syntax.  
-| [[http://www.gab.lc/scripts/dokuwiki_orphans.php|Dokuwiki orphans]] | Help you find pages with no links towards them and links to non existant pages in order to keep your Wiki clean. |+| [[http://www.gab.lc/scripts/dokuwiki_orphans.php|Dokuwiki orphans]]  | Help you find pages with no links towards them and links to non existant pages in order to keep your Wiki clean.                                                              |
  
 ===== Importing from External Sources ===== ===== Importing from External Sources =====
Line 199: Line 201:
 ==== Wikis ==== ==== Wikis ====
  
-^ Source Wiki  ^ Description ^ +^ Source Wiki                                         ^ Description                                                
-| [[tips:chu2doku|ChuWiki]]  | A Python script for ChuWiki conversion | +| [[tips:chu2doku|ChuWiki]]                           | A Python script for ChuWiki conversion                     
-| [[tips:ewiki2doku|ErfurtWiki]]  | A PHP script for ewiki (ErfurtWiki) conversion | +| [[tips:ewiki2doku|ErfurtWiki]]                      | A PHP script for ewiki (ErfurtWiki) conversion             
-| [[plugin:jspwiki_import|JSPWiki]]  | A plugin to import JSPWiki pages | +| [[plugin:jspwiki_import|JSPWiki]]                   | A plugin to import JSPWiki pages                           
-| [[tips:jspwiki_convert|JSPWiki (again)]] | A pair of scripts to convert a directory of JSPWiki pages| +| [[tips:jspwiki_convert|JSPWiki (again)]]            | A pair of scripts to convert a directory of JSPWiki pages  
-| [[tips:MediaWiki to DokuWiki Converter|MediaWiki]] |Converts MediaWiki to DokuWiki| +| [[tips:MediaWiki to DokuWiki Converter|MediaWiki]]  | Converts MediaWiki to DokuWiki                             
-| [[tips:moinmoin2doku|MoinMoin]]  | Python and PHP scripts for MoinMoin conversion. |  +| [[tips:moinmoin2doku|MoinMoin]]                     | Python and PHP scripts for MoinMoin conversion.            
-| [[tips:perspective|Perspective]]  | A python script, must be run from Windows | +| [[tips:perspective|Perspective]]                    | A python script, must be run from Windows                  
-| [[tips:Tikiwiki2Dokuwiki|TikiWiki]]  | A PHP script for TikiWiki conversion. |  +| [[tips:Tikiwiki2Dokuwiki|TikiWiki]]                 | A PHP script for TikiWiki conversion.                      
-| [[tips:TracWiki2DokuWiki|trac]]  | A PHP script for trac's wiki conversion | +| [[tips:TracWiki2DokuWiki|trac]]                     | A PHP script for trac's wiki conversion                    
-| [[tips:TWiki to DokuWiki Conversion|TWiki]] | A TWiki to DokuWiki conversion script | +| [[tips:TWiki to DokuWiki Conversion|TWiki]]         | A TWiki to DokuWiki conversion script                      
-| [[tips:wakka2doku|Wakka Wiki]]  | A Perl script for Wakka Wiki conversion | +| [[tips:wakka2doku|Wakka Wiki]]                      | A Perl script for Wakka Wiki conversion                    
-| [[tips:zwiki2dokuwiki|Zwiki]]  | A Perl script for Zwiki conversion | +| [[tips:zwiki2dokuwiki|Zwiki]]                       | A Perl script for Zwiki conversion                         
-| [[tips:docpdf2dokuwiki]]  | A Perl script for importing pdf and doc |+| [[tips:docpdf2dokuwiki]]                            | A Perl script for importing pdf and doc                    | 
 +| [[tips:confluence2dokuwiki|Atlassian Confluence]]   | A Perl script for Atlassian Confluence conversion          |
  
  
Line 256: Line 259:
 | [[:tips:phpwithgd]] | This page describes how to solve issues caused by missing gdlib support in PHP | | [[:tips:phpwithgd]] | This page describes how to solve issues caused by missing gdlib support in PHP |
  
 +====== How To ======
 +
 +//No plugin or modifications needed.//
 +^ Link               ^ Description                              ^
 +| [[:tips:weather]]  | Show weather info from https://wttr.in/  |
tips.txt · Last modified: 2023-12-29 01:43 by 74.88.27.221

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki