| cefc20b3 | 10-Jun-2026 |
Andreas Gohr <gohr@cosmocode.de> |
compatibility with next DokuWiki release #313
DokuWiki Mort will ship with a completely refactored parser system, which caused the current implementation to delete pages instead of rewrite links (se
compatibility with next DokuWiki release #313
DokuWiki Mort will ship with a completely refactored parser system, which caused the current implementation to delete pages instead of rewrite links (see dokuwiki/dokuwiki#4646).
This fixes the issue without changing how the move plugin injects a fake handler and thus keeps it backwards compatible to releases < Mort.
Once Mort is out, the new parser will make it much easier to replace the handler with a custom, partial implementation no longer requiring the current reflection hack.
show more ...
|
| c2547878 | 14-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
fix lockdir use
This replaces #237 which addressed the issue at only one line instead of all 4. The _ prefix is still needed to avoid conflicts with page names. |
| 2e8a45f2 | 14-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
make the new handler work, rename it back to it's old name
Other plugins (like the include plugin) rely on the the handler being a helper plugin at least by name. |
| 04387c35 | 14-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
use dformat not strftime |
| 74ee7422 | 14-May-2025 |
Andreas Gohr <gohr@cosmocode.de> |
Replace obsolete Handler/Parser mechanism
Still broken currently. |
| 302c75cb | 08-Jun-2023 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Additional check on media file extensions
Media move is prevented if source and destination media files do not have identical extensions (strict comparison). UTF-8 names should be handled correctly
Additional check on media file extensions
Media move is prevented if source and destination media files do not have identical extensions (strict comparison). UTF-8 names should be handled correctly if UTF-8 locale is set.
show more ...
|
| cefbae52 | 26-Jan-2022 |
Michael Hamann <michael@content-space.de> |
Fix rewriting of links to the root start page
Previously, we had a bug that the "start"-name was not appended to the id in this case, and we thus didn't detect that the old relative link was still v
Fix rewriting of links to the root start page
Previously, we had a bug that the "start"-name was not appended to the id in this case, and we thus didn't detect that the old relative link was still valid. Further, this could have caused issues if the root start page is renamed where certain links wouldn't have been adapted.
show more ...
|
| e2441e18 | 23-Jan-2022 |
Michael Hamann <michael@content-space.de> |
Fix handling of empty line in the plan |
| 493b5c23 | 28-Dec-2020 |
Brad Bulger <bradbulger@gmail.com> |
Fix spellings of "committed" key to avoid undefined array key errors. https://github.com/michitux/dokuwiki-plugin-move/issues/194 |
| 7c5a89d6 | 17-Aug-2020 |
Anna Dabrowska <dabrowska@cosmocode.de> |
Fix deprecated array syntax |
| ee07a9d1 | 01-Oct-2018 |
Michael Hamann <michael@content-space.de> |
Plan helper: initialize all arrays
This avoids errors when using count() on that array later. |
| ab15946e | 01-Oct-2018 |
Michael Hamann <michael@content-space.de> |
Rewrite helper: discard empty metadata
At least during tests, the metadata of the move plugin is initialised with an empty string which leads to errors in PHP >= 7.1. |
| a428ba58 | 02-Jan-2017 |
Michael Hamann <michael@content-space.de> |
Make the handler helper a proper helper plugin, fixes #84, fixes #33 |
| 46c2a448 | 18-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Restore PHP 5.2 compatibility, fixes #35
We still support DokuWiki version 2015-08-10 "Hrun" which only requires PHP 5.2, so supporting PHP 5.2 makes sense. |
| 5ade0f87 | 18-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Remove redundant code (the same is already in resolve_id) |
| 98b910b8 | 18-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Minor documentation fix |
| 52037678 | 18-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Clean media ids, too. Might help with #52
In DokuWiki, media ids are cleaned, too (e.g. in mediaFN()). Therefore the move plugin now also rewrites ids like "foo bar.jpg". This also removes leading c
Clean media ids, too. Might help with #52
In DokuWiki, media ids are cleaned, too (e.g. in mediaFN()). Therefore the move plugin now also rewrites ids like "foo bar.jpg". This also removes leading colons in new absolute media ids.
show more ...
|
| 54f18c5a | 17-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Fix #54 adding ':' to absolute ids in the root namespace |
| a904da26 | 17-Oct-2015 |
Michael Hamann <michael@content-space.de> |
Add missing isset() before variable access |
| 1970c5fb | 16-May-2015 |
Michael Grosse <grosse@cosmocode.de> |
Move lang string from source to lang.php |
| 65bf5a82 | 16-May-2015 |
Michael Grosse <grosse@cosmocode.de> |
Better filename for lockfile and saver writing |
| 1f18d223 | 16-May-2015 |
Michael Grosse <grosse@cosmocode.de> |
Save to file after every move
This impacts performance but should improve recovery when a move is interrupted |
| 4a0d3169 | 16-May-2015 |
Michael Grosse <grosse@cosmocode.de> |
findMissingDocuments expects both src and dst to end with colon |
| 31c7c89e | 15-May-2015 |
Dalibo <dalibo@dlb1.(none)> |
Fix findMissingDocuments. page_exists doesn't work for media |
| 00c9a895 | 15-May-2015 |
Dalibo <dalibo@dlb1.(none)> |
Fix wrong affected pages by media move |