Software:DokuWiki

From HandWiki
Short description
Wiki software
DokuWiki
Dokuwiki logo.svg
Screenshot
The home page of a default DokuWiki installation
The home page of a default DokuWiki installation
Developer(s)Andreas Gohr, et al.
Initial releaseJuly 4, 2004; 17 years ago (2004-07-04)
Stable release
2018-04-22b[1]
Written inPHP
Operating systemCross-platform
Size~2.5 MB (compressed)
Available in74[2] languages
TypeWiki software
LicenseGPLv2
Websitewww.dokuwiki.org

DokuWiki is a wiki application licensed under GPLv2 and written in the PHP programming language. It works on plain text files and thus does not need a database. Its syntax is similar to the one used by MediaWiki.[3] It is often recommended as a more lightweight, easier to customize alternative to MediaWiki.[4]

Because DokuWiki does not require a database, it can be installed on local PCs, flash drives, and folders synced with file hosting services (Dropbox) or file synchronization programs (syncthing).[5]

History

DokuWiki was created by Andreas Gohr[6] in June 2004. In July the first official release was published on Freshmeat (now known as Freecode).[7]

Originally DokuWiki used a simple list of regular expressions to transform wiki syntax into HTML. A big step forward in the development was the re-design of the parser and the renderer mechanisms based on contributions by Harry Fuecks in January 2005.[8] The new design made use of the then-new object-oriented features of PHP4. The new parser and the introduction of a cache mechanism led to significant performance improvements, thus making DokuWiki usable for larger projects.

The new parser also prepared DokuWiki for the introduction of a generic plugin interface which simplified the development and maintenance of syntax-based plugins. Over the years additional plugin mechanisms followed which allowed 3rd-party developers to extend nearly all aspects of the wiki software.[9]

The introduction of DokuWiki into the Debian[10] and Gentoo Linux[11] distributions in April and July 2005 respectively significantly increased the visibility of the software.

The DokuWiki logo is the result of a design contest. The winning logo, designed by Esther Brunner, represents editing pages (by pens of different colors, i.e. different people) and linking them.[12][13]

For many years, DokuWiki's source code was managed through the Darcs distributed version control system. In 2010 a switch to Git was made, making use of Github for hosting.[14]

Today, DokuWiki is one of the most popular wiki engines available and has achieved significant usage with stable interest over time.[15][16][17][18]

Release history

Version Codename Significant changes
2004-07-04 none Initial DokuWiki release.[19]
2009-02-14b none
2009-12-25c Lemming
2010-11-07a Anteater
2011-05-25c Rincewind IPv6 support and metadata index.
2012-01-25c Angua New media manager (result of the Google Summer of Code-project). Version handling of media files. drag & drop support in media manager to speed up adding new files (only works in Firefox and Chrome).
2012-10-13 Adora Belle New default DokuWiki template with optional sidebar.
2013-05-10a Weatherwax
2013-12-08 Binky
2014-05-05e Ponder Stibbons
2014-09-29d Hrun Single strings of the localization customizable. New history function to see how a wiki looked at a certain time. Security fix for AD/LDAP auth plugin.
2015-08-10a Detritus New Style Manager to adjust template variables such as colors. The Extension Manager can now remove old files when updating extensions.[20]
2016-06-26a Elenor of Tsort New authPDO plugin; authmysql and authpgsql are deprecated. Internet Explorer 8 (and older) no longer supported; workarounds removed. Support for PHP's builtin web server.[20]
2017-02-19c Frusterick Manners New Admin screen. jQuery 3, PHP 7.1 support and PHP 7.0 bug fixes.[20]
2018-04-22 Greebo New form on search page with more search tools. New command line plugins. New menu system. PHP 7.2 support and improvements for PHP 7.3 support.[20]
2020-07-29 Hogfather PHP 7.4 compatibility and some preparations for the upcoming PHP8.
202?-??-?? Igor

Since 2011, releases are named after Discworld characters.

Main features

Installation and Requirements
DokuWiki requires only a webserver and PHP; no database is needed. It can run on cheap web hosting servers and is usually installed by simply unpacking. Additional plugins may have additional requirements.
Revision control
DokuWiki stores all versions of each wiki page, allowing the user to compare the current version with any older version. The difference engine is the same as the one used in MediaWiki. Parallel editing of one page by multiple users is prevented by a locking mechanism.
Access control
Access control can be handled by a user manager, which allows users and groups of users to be defined, and an access control list in which an administrator user can define permissions on page and namespace level, giving DokuWiki more fine-grained control than Mediawiki. Besides the built-in user management, DokuWiki also provides mechanisms for authentication against databases, LDAP Servers and Active Directory. Other authentication mechanisms are available as plugins.
Plugins
DokuWiki has a generic plugin interface which simplifies the process of writing and maintaining plugins. There are ~1000 plugins available.[21] These can be easily integrated and managed by an administrator user with the help of the plugin manager.
Templates
The appearance of the wiki can be defined by a template. There are various templates[22] provided by the development community.
Internationalization and localization
DokuWiki supports Unicode (UTF-8) and properly handles right-to-left languages, so languages such as Chinese, Thai, and Hebrew can be displayed. DokuWiki can be configured in about 70 languages. Multilingual wikis can be configured through plugins. Users can contribute translations of the DokuWiki software and of plugins through a web interface.[23]
Caching
DokuWiki uses a two-level cache mechanism which stores the parsed wiki page in a intermediate serialized format which is then rendered to the desired output format, such as HTML5. This rendered format is cached again. The two levels of caching expire on different conditions. The caching helps to reduce server load and speeds up access to the information.[24]
Full text search
DokuWiki has an integrated indexed search with which a user can search for keywords and phrases on the wiki.
Wiki Markup
DokuWiki uses a simple markup language similar to that of MediaWiki. Like MediaWiki it makes use of free links, but CamelCase links can optionally be enabled. WYSIWYG editors are available as plugins.

DokuWiki based software projects

Some independent software projects based on DokuWiki have been created. These projects usually bundle the DokuWiki software, select plugins, a customized design and sometimes pre-built content for specialized use cases.

  • The EinsatzleiterWiki is a German project, bundling fire fighting knowledge in a package that can be installed in fire departments and then be customized to the needs of the specific department. The wiki is used by the professional fire services of Berlin, Kaiserslautern, Wuppertal and many voluntary fire services in Germany.[25][26]
  • open|SchulPortfolio is a German project aimed at the internal management of schools. It has been created with input from the ministry of education of the German state of Baden-Würtemberg.[27]
  • ICKEWiki is a redistribution of DokuWiki with a focus on the use in enterprises. It was originally developed in a research project focusing on adding structured data to wikis and making it more usable in industrial production companies.[28]

As required by DokuWiki's license these projects are all licensed under the GPL version 2.

Notable uses

DokuWiki is used by various public and non-public wiki setups. Below is a list of more notable uses

See also

References

  1. "Changelog". dokuwiki.org. https://www.dokuwiki.org/changes. Retrieved 2018-05-03. 
  2. "Download DokuWiki!". DokuWiki. https://download.dokuwiki.org. 
  3. "DokuWiki". Dokuwiki.org. https://www.dokuwiki.org/dokuwiki. 
  4. "DokuWiki: An elegant and lightweight wiki engine" (in en-US). 2008-06-25. https://www.linux.com/news/dokuwiki-elegant-and-lightweight-wiki-engine/. 
  5. Fitzpatrick, Jason. "DokuWiki on a Stick Packs a Portable Wiki in a Tiny Package". G/O Media Inc. https://lifehacker.com/dokuwiki-on-a-stick-packs-a-portable-wiki-in-a-tiny-pac-5672325. 
  6. "Dokuwiki - C'est mieux quand c'est simple" Ubuntu French - Org.
  7. freshmeat.net: Project details for DokuWiki
  8. "OOP and Performance - SitePoint" (in en). https://www.sitepoint.com/oop-and-performance/. 
  9. "devel:plugins [DokuWiki"]. https://www.dokuwiki.org/devel:plugins. 
  10. "Debian Publishing History". Debian GNU/Linux. Debian Foundation. https://launchpad.net/debian/lenny/+source/dokuwiki/0.0.20080505-3. 
  11. "Contents of dokuwiki changelog". Gentoo-x86. Gentoo.org. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-apps/dokuwiki/ChangeLog?view=markup. 
  12. "FS#111 DokuWiki Logo". https://bugs.dokuwiki.org/111.html. 
  13. "logo [DokuWiki"]. https://www.dokuwiki.org/logo. 
  14. "[dokuwiki repository switched to git - dokuwiki - FreeLists"] (in en). https://www.freelists.org/post/dokuwiki/repository-switched-to-git. 
  15. "Wiki Usage Distribution on the Entire Internet". https://trends.builtwith.com/cms/wiki/traffic/Entire-Internet. 
  16. "Technologies - What CMS?". https://whatcms.org/Technologies/Wiki. 
  17. Google trend history comparison
  18. "WikiMatrix View and Comparison Statistics". http://www.wikimatrix.org/stats.php. 
  19. "Old Changelogs: Release 2004-07-04". DokuWiki. https://www.dokuwiki.org/old_changes#release_2004-07-04. 
  20. 20.0 20.1 20.2 20.3 "Changelog". DokuWiki. https://www.dokuwiki.org/changes. 
  21. plugins
  22. templates
  23. "DokuWiki Localization". https://translate.dokuwiki.org/. 
  24. "devel:caching [DokuWiki"]. https://www.dokuwiki.org/devel:caching. 
  25. "Referenzen [Einsatzleiterwiki"]. https://einsatzleiterwiki.de/doku.php?id=referenzen. 
  26. Ziehr, Christoph; Skorupa, Frank; Schmitt, Konrad; Kopp, Mike. "Berliner Feuerwehr: Wiki-Systeme für den Einsatz- und rückwärtigen Dienst". BRANDSchutz/Deutsche Feuerwehr-Zeitung 5/2017. https://www.kohlhammer-feuerwehr.de/de/magazin/view/44. 
  27. "DokuWiki als Schulportfolio" (in de). 2019-03-19. https://lehrerfortbildung-bw.de/st_digital/medienwerkstatt/internet/cms/wiki/portfolio/index.html. 
  28. Voigt, Stefan; Fuchs-Kittowski, Frank; Hüttemann, Detlef; Klafft, Michael; Gohr, Andreas (2011). "ICKEwiki: requirements and concepts for an enterprise wiki for SMEs" (in en). Proceedings of the 7th International Symposium on Wikis and Open Collaboration - WikiSym '11 (Mountain View, California: ACM Press): 144. doi:10.1145/2038558.2038582. ISBN 978-1-4503-0909-7. http://dl.acm.org/citation.cfm?doid=2038558.2038582. 
  29. "PHP: start". https://wiki.php.net/. 
  30. "start [Xfce Wiki"]. https://wiki.xfce.org/. 
  31. Brown, Rich (2016-09-27). "Welcome to the OpenWrt Project" (in en). https://openwrt.org/start. 
  32. "start - SlackDocs". https://docs.slackware.com/. 
  33. "dokuinstall:southeastern [DokuWiki"]. https://www.dokuwiki.org/dokuinstall:southeastern. 

Further reading

External links