Not logged in. · Lost password · Register
Forum: General Help and Support Plugins Plugin Wishlist RSS
"Used to look like" plugin
Avatar
tibor #1
Member since Mar 2017 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: "Used to look like" plugin
For each page in the wiki one can see how that page looked like say a year ago, using the "Old revisions" feature and selecting the appropriate date.

I would like to have a "time machine" that automates that: select a date and all the pages in the wiki will be shown as they looked at that date (by selecting the matching date in each page's revision history).

Why would anyone need such a feature?

Well, for instance if the wiki contains documentation of a product, and the current Wiki describes version 2.4 of the product, but you want to see the old documentation for ver 1.7. You know ver 1.7 was released June 16 2015. Using this plugin you would be able to select June 16 2015 as "Used to look like" date and shaboom! you now see the documentation as it looked like for that old version.

Neat, huh?

Unfortunately I'm good in many languages but not php, thus cannot implement this by myself. But perhaps someone else also thinks this is a neat idea...
Avatar
LarsDW223 #2
Member since Sep 2014 · 170 posts
Group memberships: Members
Show profile · Link to this post
I see the use case but I guess I personally would arrange my different product versions in different namespaces like this:

productA:version1.0
productA:version1.1
productB:version1.0
productB:version1.1

Your approach looks nice to me because it is simple but what if the documentation is not linear?
E.g. productA:version1.1 is the current version but you need to change the documentation for productA:version1.0? Maybe this is not required in your case but in general it could occur.

Of course keeping a namespace per version is a lot of work. Not sure if there is a tool which can clone/copy the pages of a namespace into another. That means if you create a new version just copy the old version namespace to the new, e.g. copy productA:version1.1 to productA:version1.2.

Also, other people might prefer your solution, this is just some brainstorming.
Avatar
andi (Administrator) #3
User title: splitbrain
Member since May 2006 · 3187 posts · Location: Berlin Germany
Group memberships: Administrators, Members
Show profile · Link to this post
The feature actually already exist, but has no user interface. Add an at parameter to the url to see how a page looked at that time. Here's how the frontpage looked in 2010: https://www.dokuwiki.org/dokuwiki?at=2010-06-01
Read this if you don't get any useful answers.
Lies dies wenn du keine hilfreichen Antworten bekommst.
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: 2017-11-21, 08:57:13 (UTC +01:00)