dokuwiki | The DokuWiki Open Source Wiki Engine | Wiki library

 by   splitbrain PHP Version: release_2020-07-29a License: GPL-2.0

kandi X-RAY | dokuwiki Summary

kandi X-RAY | dokuwiki Summary

dokuwiki is a PHP library typically used in Web Site, Wiki applications. dokuwiki has no bugs, it has a Strong Copyleft License and it has medium support. However dokuwiki has 18 vulnerabilities. You can download it from GitHub.

All documentation for DokuWiki is available online at For Installation Instructions see DokuWiki - 2004-2020 (c) Andreas Gohr andi@splitbrain.org and the DokuWiki Community See COPYING and file headers for license info.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              dokuwiki has a medium active ecosystem.
              It has 3639 star(s) with 800 fork(s). There are 174 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 351 open issues and 1099 have been closed. On average issues are closed in 30 days. There are 75 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of dokuwiki is release_2020-07-29a

            kandi-Quality Quality

              dokuwiki has 0 bugs and 0 code smells.

            kandi-Security Security

              OutlinedDot
              dokuwiki has 18 vulnerability issues reported (1 critical, 6 high, 11 medium, 0 low).
              dokuwiki code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              dokuwiki is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              dokuwiki releases are not available. You will need to build from source code and install.

            Top functions reviewed by kandi - BETA

            kandi has reviewed dokuwiki and discovered the below as its top functions. This is intended to give you an instant insight into dokuwiki implemented functionality, and help decide if they suit your requirements.
            • Get the enclosure tags .
            • Returns the encoding for the given charset .
            • Parse the code
            • Key exchange .
            • Parse a public key
            • Creates an inline crypt function based on the mode .
            • Send request to server
            • Get EXIF entries
            • Parse an attribute map
            • Embed video .
            Get all kandi verified functions for this library.

            dokuwiki Key Features

            No Key Features are available at this moment for dokuwiki.

            dokuwiki Examples and Code Snippets

            No Code Snippets are available at this moment for dokuwiki.

            Community Discussions

            QUESTION

            nginx subdomain with different site than root
            Asked 2021-Dec-20 at 23:47

            I have the following configuration in my sites-available (with a symbolic link to enable):

            ...

            ANSWER

            Answered 2021-Dec-20 at 23:47

            Try scaling back to a minimal configuration without SSL and ensure things work for 2 domains first:

            Source https://stackoverflow.com/questions/70428427

            QUESTION

            Add a call to PHP in a jQuery button with Ajax
            Asked 2021-Mar-28 at 09:26

            I tried to modify the behaviour of the Save button in my DokuWiki (see my post on their forum without answer yet).

            I want to call a specific file.php when the user hits the Save Button, i.e. every time there is an edit in the wiki. The PHP file recalculates all the connections in the Wiki and creates a new network diagram of the links in-between pages using Rscript.

            I think the best way to do that is to use Ajax when the button is clicked (see this answer about how to do that). This is the original jQuery code of the button in DokuWiki:

            ...

            ANSWER

            Answered 2021-Mar-28 at 09:25

            I found a very useful link this morning. from this I was able to work it out.

            So the proper code is :

            Source https://stackoverflow.com/questions/66836496

            QUESTION

            Combining Regex 'in between' AND 'do not contain'
            Asked 2021-Mar-27 at 01:39

            I've tried to combine two Regex with AND but failed at the attempt.

            1. Pick up anything between '[[' and (']]' or '|') in direct succession :
            ...

            ANSWER

            Answered 2021-Mar-24 at 22:48

            Here is the Regex Pattern with some adjustments to Wiktor Stribiżew's answer in the comment section. By using lookahead and lookbehind, you can deselect the brackets.

            Source https://stackoverflow.com/questions/66790377

            QUESTION

            Hide all Dokuwiki Pagenames? (Bootstrap3 Theme)
            Asked 2020-Nov-19 at 23:59

            I am currently trying to hide all pagenames on my Dokuwiki. I use the bootstrap3 theme but I don't think that's too important since I believe it's similar to Doku's default theme in terms of pagename. On every page on my site: https://littlesimworld.com/ there is a pagename on the top right of the screen. I would like to hide this.

            Does anyone know a simple way of doing this? The wiki has permissions so you won't have access to other pages, but you can see this on the home page. This is a default setting on all Dokuwikis I believe. I want to do this because I don't feel the need for the pagename because it's just the same as the url. Mostly, I don't like how it looks and adds more clutter to the page, I am trying to create a minimalistic page!

            Apologies for the rather trivial question, but I've looked everywhere on the web and can't seem to find a solution!

            ...

            ANSWER

            Answered 2020-Nov-18 at 15:46

            If you just want to hide it you can add user styles. Create (or edit if exists) conf/userstyle.css and add following lines:

            Source https://stackoverflow.com/questions/64894618

            QUESTION

            Can i duplicate a dokuwiki namespace
            Asked 2020-Aug-03 at 19:19

            Is there a good way to duplicate a complete namespace in dokuwiki? Could not find a good plugin or method. I do have access to the wiki itself and the backend.

            ...

            ANSWER

            Answered 2020-Aug-03 at 19:19

            You can do it on file level, this is one of the strength of the DokuWiki engine. Just go to the data/pages directory, and copy the directory and files either in command line or with the GUI. You can do any other file operation, to modify or edit the content. Note that you may need to reindex after the operation, with bin/indexer.php, or there is a plugin for that also.

            Source https://stackoverflow.com/questions/63066880

            QUESTION

            Adding and overriding files in Dokuwiki Bitnami docker image
            Asked 2020-Jun-25 at 07:48

            Am trying to enable 'translation' plugin dokuwiki and few other changes to Dokuwiki Bitnami image. For instance I add a new file to 'lib/tpl/dokuwiki' to Dokuwiki Bitnami image and also overriding a 'lang.php'.

            Changes to default original docker-compose.yml

            ...

            ANSWER

            Answered 2020-Jun-25 at 07:48

            This is what it worked for us:

            1. Install plugin with extension manager. https://www.dokuwiki.org/plugin:translation

            2. Copy the local.php file to the host machine

            Source https://stackoverflow.com/questions/62553254

            QUESTION

            HTTPD with two different services in the same computer
            Asked 2020-Mar-03 at 09:53

            I have a CentOS 6.9 server that is running a DokuWiki under HTTPD 2.2. This wiki is installed in /var/www/html/dokuwiki. Therefore, when you type myserver.com/dokuwiki, it enters the wiki. If you type myserver.com, a simple index.html file (/var/www/html/index.html) is shown with links to the Wiki and GitLab.

            Now I have installed GitLab and configured it to also use HTTPD (by default it comes with NGINX integrated). Both GitLab and DokuWiki are working correctly if I launch them by themselves, but I cannot find the way to make them visible at the same time.

            What I would like is: if the user types myserver.com, show the index.html with two links: one to the wiki (myserver.com/dokuwiki) and the other link to the GitLab server (myserver.com/gitlab). By clicking on each, the user can access the desired service.

            What happens is that if put the configuration of gitlab with precedence over the other (by changing the name to 00-gitlab.conf, for example), the configuration of the wiki doesn't work and when you type either myserver.com or myserver.com/dokuwiki, it doesn't find anything ( Not found "/" is shown) because it uses the other rules and there is no match (due to the Location directive of GitLab, I guess). GitLab works OK in this case.

            If I put the configuration of the Wiki with precedence, I get a 404 error when I try to access myserver.com/gitlab because this rule is more general and therefore it ignores the other with the Location directive. The Index and the Wiki work OK in this case.

            Here are the Virtual Hosts configurations for both, stored in /etc/httpd/conf.d. Everything is SSL and it is working OK. The configuration for HTTP (port 80) is virtually the same but I did not include it here. I also have NameVirtualHost *:443 in httpd.conf.

            Wiki/Root:

            ...

            ANSWER

            Answered 2020-Mar-03 at 09:53

            I found the solution. I only need one VirtualHost and to correctly define my proxypass.

            Here's the working file:

            Source https://stackoverflow.com/questions/60455153

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            ** DISPUTED ** CSV Injection (aka Excel Macro Injection or Formula Injection) in /lib/plugins/usermanager/admin.php in DokuWiki 2018-04-22a and earlier allows remote attackers to exfiltrate sensitive data and to execute arbitrary code via a value that is mishandled in a CSV export. NOTE: the vendor has stated "this is not a security problem in DokuWiki."
            DokuWiki before 2006-03-09c enables the debug feature by default, which allows remote attackers to obtain sensitive information by calling doku.php with the X-DOKUWIKI-DO HTTP header set to "debug".
            Unrestricted file upload vulnerability in lib/exe/media.php in DokuWiki before 2006-03-09c allows remote attackers to upload executable files into the data/media folder via unspecified vectors.
            inc/init.php in DokuWiki 2009-02-14, rc2009-02-06, and rc2009-01-30, when register_globals is enabled, allows remote attackers to include and execute arbitrary local files via the config_cascade[main][default][] parameter to doku.php. NOTE: PHP remote file inclusion is also possible in PHP 5 using ftp:// URLs.
            The default file type whitelist configuration in conf/mime.conf in the Media Manager in DokuWiki before 2014-09-29b allows remote attackers to execute arbitrary web script or HTML by uploading an SWF file, then accessing it via the media parameter to lib/exe/fetch.php.
            ** DISPUTED ** Cross-site request forgery (CSRF) vulnerability in doku.php in DokuWiki 2012-01-25 Angua allows remote attackers to hijack the authentication of administrators for requests that add arbitrary users. NOTE: this issue has been disputed by the vendor, who states that it is resultant from CVE-2012-2129: "the exploit code simply uses the XSS hole to extract a valid CSRF token."
            DokuWiki through 2017-02-19c has stored XSS when rendering a malicious language name in a code element, in /inc/parser/xhtml.php. An attacker can create or edit a wiki with this element to trigger JavaScript execution.
            DokuWiki through 2017-02-19c has stored XSS when rendering a malicious RSS or Atom feed, in /inc/parser/xhtml.php. An attacker can create or edit a wiki that uses RSS or Atom data from an attacker-controlled server to trigger JavaScript execution. The JavaScript can be in an author field, as demonstrated by the dc:creator element.
            DokuWiki through 2017-02-19b has XSS in the at parameter (aka the DATE_AT variable) to doku.php.
            CRLF injection vulnerability in lib/exe/fetch.php in DokuWiki 2006-03-09e, and possibly earlier, allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via CRLF sequences in the media parameter. NOTE: this issue can be leveraged for XSS attacks.

            Install dokuwiki

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/splitbrain/dokuwiki.git

          • CLI

            gh repo clone splitbrain/dokuwiki

          • sshUrl

            git@github.com:splitbrain/dokuwiki.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Wiki Libraries

            outline

            by outline

            gollum

            by gollum

            BookStack

            by BookStackApp

            HomeMirror

            by HannahMitt

            Try Top Libraries by splitbrain

            ReMarkableAPI

            by splitbrainPHP

            docker-phpfarm

            by splitbrainShell

            php-cli

            by splitbrainPHP

            git-pull-request

            by splitbrainPython

            xdebug-trace-tree

            by splitbrainPHP