History log of /dokuwiki/inc/Ui/PageRevisions.php (Results 1 – 20 of 20)
Revision Date Author Comments
# a835c93a 24-Sep-2023 Gerrit Uitslag <klapinklapin@gmail.com>

Let ChangeLog set the mode(media/page) for a revision log entry


# 26dfc232 31-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Rector to rename print to echo calls


# e2d055f5 29-Aug-2023 Andreas Gohr <andi@splitbrain.org>

Apply rector fixes to inc/Ui


# a46cc3dc 11-Mar-2023 Andreas Gohr <andi@splitbrain.org>

Fix old revisions skipping one revision

This changes the UI to start counting at -1, which will instruct the
Revision Management to prepend the current revision to the list of old
revisions returned

Fix old revisions skipping one revision

This changes the UI to start counting at -1, which will instruct the
Revision Management to prepend the current revision to the list of old
revisions returned. This way no special handling for the current
revision has to be done in the UI class anymore and paging works
naturally.

Fixes #3897

show more ...


# 4d8dc0ce 04-Aug-2022 TherealperO <110610509+TherealperO@users.noreply.github.com>

Update PageRevisions.php

Fix history for pages with dot in name


# eeda7ada 23-Jan-2022 Gerrit Uitslag <klapinklapin@gmail.com>

some spelling


# b428a50a 23-Jan-2022 Satoshi Sahara <sahara.satoshi@gmail.com>

use OOP like method name in RevisionInfo class


# bf3fa5e9 08-Jan-2022 Satoshi Sahara <sahara.satoshi@gmail.com>

new RevisionInfo class obsoletes anonymous objRevInfo class

obsolete getObjRevInfo() in Ui\Recent and Ui\Revisions classes, that had defined anonymous class. they are similar but slightly differentl

new RevisionInfo class obsoletes anonymous objRevInfo class

obsolete getObjRevInfo() in Ui\Recent and Ui\Revisions classes, that had defined anonymous class. they are similar but slightly differently treat the diff link icon. It is impossible to create common method for diff icon using only revision information, it depends on caller, ie. recent or revisions list

show more ...


# 5ec96136 01-Nov-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

set revInfo{'current'] when needed

do not set 'current' key in ChangeLog:getCurrentRevisionInfo(), instead set it during loop in Revision and Diff classes


# d1575179 11-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

use integer $rev in Revision and Diff forms

pass tentative revision instead of 'current' for external edition


# ad088cbc 10-Oct-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

update Ui\Revisions using ChangeLog\getCurrentRevisionInfo()

remove class property $item
remove abstract function itemFN()
simplify function getRevisions($first, $hasNext)


# 90c7493e 14-Sep-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

list external edits also in revs list

- current revision changelogline is already in changelog, so retrieve in one go
- include listing of external edits
- for external deletions no date is known


# 92440599 04-Jan-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

var type of $oldRev and $newRev


# 87922387 03-Jan-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

bugfix page id "0" is valid


# d9c75b22 02-Jan-2021 Satoshi Sahara <sahara.satoshi@gmail.com>

abstract method itemFN()


# e71e09a6 28-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

define Ui\Revisions::getRevisions()

- new item property defined
- modified getObjRevInfo(), buildDiffHead()


# 3244a325 28-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

allow instance when id is not identical with $INFO['id']


# 3c18288c 12-Dec-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

fix checkbox value for current page


# ae5d2354 27-Nov-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

UI\Revisions hierachy

define Revisions as abstract, which is inherited by PageRevision and MediaRevision classes. this is simillar to ChangeLog class hierachy.


# b370ebcd 27-Nov-2020 Satoshi Sahara <sahara.satoshi@gmail.com>

create Ui\PageRevisions class

new Ui\PageRevisons is dedicated for page revisions