3 namespace dokuwiki\Action
;
5 use dokuwiki\Ui\PageDiff
;
11 * Show the differences between two revisions
13 * @package dokuwiki\Action
15 class Diff
extends AbstractAction
18 public function minimumPermission()
24 public function preProcess()
28 // store the selected diff type in cookie
29 $difftype = $INPUT->str('difftype');
30 if (!empty($difftype)) {
31 set_doku_pref('difftype', $difftype);
36 public function tplContent()
39 (new PageDiff($INFO['id']))->preference('showIntro', true)->show();