Hi all, I deprecated $NS in doku.php [1] according to this discussion. $NS is exclusively used in inc/template.php in two functions which are in turn only called through lib/exe/{ajax,mediamanager}.php endpoints where $NS is actually set and meaningful (as opposed to $ID which is missing in those contexts). We might consider using global $ID = $NS . ':' . $conf['start'] or global $ID = $NS . ':' instead of $NS to be more consistent, but the mediamanager apparently uses a different set of globals anyway. [1] https://github.com/splitbrain/dokuwiki/commit/bced4159c Regards, Adrian