Not logged in. · Lost password · Register
Forum: General Help and Support Development RSS
[SOLVED] original DokuWiki parser
where can I find it?
flaviojs #1
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: [SOLVED] original DokuWiki parser
https://www.dokuwiki.org/devel:parser mentions the original DokuWiki parser in the "Bugs / Issues" section.

Where can I find it? Is it a specific older DokuWiki version?

I intend to mess with the internal structure while maintaining the original features, which apparently aren't fully supported by the current parser.
This post was edited 2 times, last on 2018-10-29, 20:13 by flaviojs.
Avatar
Michaelsy #2
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
https://github.com/splitbrain/dokuwiki

HTH - Michael Sy.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
Avatar
turnermm (Moderator) #3
Member since Oct 2009 · 4711 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
In reply to post #1
the original features, which apparently aren't fully supported by the current parser.

Which features are these? I've been working with DW for just about 10 years and can't  recall any myself.  In any event, unless you are geared up to checking out the parser, just about anything missing can most like likely be supplied by a syntax plugin, if it has not already been done.
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
flaviojs #4
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
I'm already familiar with the current DokuWiki parser. (https://github.com/splitbrain/dokuwiki)

With the intention of messing with it I studied https://www.dokuwiki.org/devel:parser, which describes the current parser (I think), and saw it referring to the "original DokuWiki parser" there.

If the behaviour is to be the same as the original DokuWiki parser, this should really be interpreted as;

The page also mentions other issues with the current parser.

...

I want to look at the code of the "original DokuWiki parser" that they are referring to, compare, and then mess with the internals of the current one. (probably won't add syntax, just restructure)
Avatar
Michaelsy #5
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
I had specified the Github link because all old DokuWiki versions are archived there. Accordingly, there would also be the "original parser" to find. Unless the "original parser" comes from a time when not worked with Github.
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-10-29, 08:16 by Michaelsy.
Avatar
turnermm (Moderator) #6
Member since Oct 2009 · 4711 posts · Location: Canada
Group memberships: Global Moderators, Members, Super Mods
Show profile · Link to this post
In reply to post #4
Then what you are looking for is  more than 9 years old.  Check out previous versions here:
  https://download.dokuwiki.org/archive
Myron Turner
github: https://github.com/turnermm
plugins, templates: http://www.mturner.org/devel
Avatar
Michaelsy #7
Member since Jun 2015 · 969 posts · Location: Düsseldorf, Germany
Group memberships: Members
Show profile · Link to this post
Wikipedia writes:
A big step in the development was the re-design of the parser and the renderer in January 2005. The new design was a big performance improvement and made DokuWiki usable for bigger documentation projects.

https://en.wikipedia.org/wiki/DokuWiki
By Patreon.com a few eurons can be fed into the code phasers of
the DokuWiki engine. Besides, Andi's posts are worth reading.
This post was edited on 2018-10-29, 14:59 by Michaelsy.
Avatar
andi (Administrator) #8
User title: splitbrain
Member since May 2006 · 3482 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
There is no "original" parser. The first few releases shipped with a bunch of regexps that directly replaced syntax with HTML. Harry Fuecks wrote the base of the current parser and I threw away the old stuff because his approach was clearly superior. There is really no sense in even trying to dig it up - it has absolutely nothing to do with how the parser works today.
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
flaviojs #9
Member since Oct 2018 · 3 posts
Group memberships: Members
Show profile · Link to this post
The 2005-02-18 stable release in the archive is the last version that has a inc/parser.php file so it's safe to assume this is the last version with the "original DokuWiki parser".

This is what I wanted, thank you for all the hints.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2019-10-14, 20:14:53 (UTC +02:00)