History log of /dokuwiki/inc/Ui/MediaRevisions.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


# 8c7c53b0 30-Aug-2023 Andreas Gohr <andi@splitbrain.org>

codestyle adjustments: class declaration braces


# 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 ...


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

Update MediaRevisions.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


# e1fe7b5e 15-Jan-2022 Gerrit Uitslag <klapinklapin@gmail.com>

renamed difflinkRevision


# 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 ...


# 79a2d784 05-Jan-2022 Gerrit Uitslag <klapinklapin@gmail.com>

import classes, replace dbglog, simplify, remove unused statements, and other warnings from IntelliJ

update phpdocs,
rename dokuwiki/Ui/Draft to PageDraft


# 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)


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

bugfix in media Ui classes


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

abstract method itemFN()


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

check media id validity


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

define Ui\Revisions::getRevisions()

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


# 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.


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

create UI\MediaRevisions class

Create new Ui\MediaRevisions class created by copying from Ui\Revisons and customize its methods to use media only (methods args are changed).
Replace deprecated html_

create UI\MediaRevisions class

Create new Ui\MediaRevisions class created by copying from Ui\Revisons and customize its methods to use media only (methods args are changed).
Replace deprecated html_revisions() with Ui\MediaRevisions->show() method.

show more ...