Articles Related
Example
Path without Root
In dokuwiki, there is a big technical debt where the path of a file is still represented as today without root.
To be able to know if it's a relative path or an absolute path, you need therefore to know the context each time that you use it which is almost always.
Example: the data may return false when this is a root path 1)
Documentation / Reference
- Rewrite the whole thing is a bad idea. (ie death-by-rewrite) See https://www.joelonsoftware.com/2000/04/06/things-you-should-never-do-part-i/
1)
The devel:event:io_wikipage_write| gets false in the id when its the root.