29 lines
488 B
PHP
29 lines
488 B
PHP
<?php
|
|
|
|
namespace dokuwiki\Action;
|
|
|
|
use dokuwiki\Ui;
|
|
|
|
/**
|
|
* Class Revisions
|
|
*
|
|
* Show the list of old revisions of the current page
|
|
*
|
|
* @package dokuwiki\Action
|
|
*/
|
|
class Revisions extends AbstractAction
|
|
{
|
|
/** @inheritdoc */
|
|
public function minimumPermission()
|
|
{
|
|
return AUTH_READ;
|
|
}
|
|
|
|
/** @inheritdoc */
|
|
public function tplContent()
|
|
{
|
|
global $INFO, $INPUT;
|
|
(new Ui\PageRevisions($INFO['id']))->show($INPUT->int('first', -1));
|
|
}
|
|
}
|