dokuwiki-plugin-move icon indicating copy to clipboard operation
dokuwiki-plugin-move copied to clipboard

old revisions hyperlinks gone after renaming page on dokuwiki 2024-02-06b "Kaos"

Open Windows-Is-Cancer opened this issue 1 year ago • 3 comments

Hi there,

i ran dokuWiki for quiet some years now (greebo with move plugin). worked a treat so far. now since it is outdated and unsecure we want to upgrade to a all new DW install using dokuwiki 2024-02-06b "Kaos" with the "move" plugin as linked on DWs plugin wiki page.

our dw directory has been migrated to new server/container. every old plugin has been deleted, then DW and all plugins freshly downloaded and installed. DW mainly works with all data, including page history (old revisions).

However, when i rename/move an existing page (with years of history) today using the "move" plugin, it seems it successfully renames the page, but all the historic references (hyperlinks) are now gone on the "old revisions" page. Thus a change cannot be reverted, since i cannot go to any older/previous page version.

interestingly, further/new changes to the "renamed page" are again revisioned correctly.

The DW logs show me "some" "move" related entries, but nothing i can understand or can link to this effect for sure. here is what i found in DW's deprecated logs about "move":

i tried to attach a screenshot here. did not really work somehow.

2024-09-19 12:45:06JSON::encode() is deprecated. It was called from action_plugin_move_rename::handle_ajax() in /var/www/html/lib/plugins/move/action/rename.php:118 json_encode should be used instead!
2024-09-19 12:45:06trigger_event() is deprecated. It was called from helper_plugin_move_rewrite::rewrite() in /var/www/html/lib/plugins/move/helper/rewrite.php:237 \dokuwiki\Extension\Event::createAndTrigger should be used instead!
2024-09-19 12:45:06Doku_Parser::__construct() is deprecated. It was called from helper_plugin_move_rewrite::rewrite() in /var/www/html/lib/plugins/move/helper/rewrite.php:242 dokuwiki\Parsing\Parser should be used instead!
2024-09-19 12:45:06helper_plugin_move_handler::_finalize() is deprecated. It was called from dokuwiki\Parsing\Parser::parse in /var/www/html/inc/Parsing/Parser.php:124 finalize() should be used instead!

Can anyone confirm this problem?

regards Axel

Windows-Is-Cancer avatar Sep 19 '24 13:09 Windows-Is-Cancer