Here is a URL:
http://suite.tiki.org/tiki-pagehistory.php?page=Tiki+Suite+Slideshow
Say I want to check the history and share a URL, I click "history" and then "compare", I get:
http://suite.tiki.org/tiki-pagehistory.php?page=Tiki+Suite+Slideshow&history_offset=1&diff_style=sidediff&diff_style=sidediff&show_all_versions=y&compare=Compare&newver=0&oldver=125&tra_lang=sq&paginate=on&history_pagesize=200
This is long and has things which are not useful to share the link.
So let's look at the params:
page=Tiki+Suite+Slideshow | Needed |
history_offset=1 | Not needed |
diff_style=sidediff | Needed only if different than the default diff |
diff_style=sidediff | this is there twice |
show_all_versions=y | Not needed |
compare=Compare | Why do we need this? |
newver=0 | Needed. 0 seems to be for latest. So if ommitted, it should |
oldver=125 | Needed |
tra_lang=sq | Not needed |
paginate=on | Not needed |
history_pagesize=200 | Not needed |
So diff_style=sidediff is there twice
I would want the simple one to be like this:
Compare version 120 to current:
http://suite.tiki.org/tiki-pagehistory.php?page=Tiki+Suite+Slideshow&oldver=120
Compare any two versions:
http://suite.tiki.org/tiki-pagehistory.php?page=Tiki+Suite+Slideshow&newver=124&oldver=120
And if diff style is different from site default:
http://suite.tiki.org/tiki-pagehistory.php?page=Tiki+Suite+Slideshow&newver=124&oldver=120&diff_style=unidiff
Thanks!
Unwanted parameters are removed from tiki-pagehistory.php URL.
Please check this commit id: 49450
Regressions introduced. See comments to this item, please, and revert or fix properly. Thanks!
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |