Open eduardomozart opened 10 months ago
There are also a lot of changes, e.g. by using php7.4 functionalities, that break compatibility with old DokuWiki releases. Is it worth to add these kind of things back? Better people update there DokuWiki in time, such that the updates remain relatively smaller… and hopefully easier.
There are also a lot of changes, e.g. by using php7.4 functionalities, that break compatibility with old DokuWiki releases. Is it worth to add these kind of things back? Better people update there DokuWiki in time, such that the updates remain relatively smaller… and hopefully easier.
I agree. I didn't want to support those legacy DokuWiki versions neither, but I believe this is the only func that breaks compatibility with older DokuWiki releases, so users that doesn't have DokuWiki control can still keep IndexMenu updated.
The class PageResolver doesn't exists on DokuWiki Hogfather and older releases, so this PR attempts to fix https://github.com/samuelet/indexmenu/issues/291 by falling back to the old function "resolve_id" to parse NS if the class PageResolver isn't available.