This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#2415 $INFO['isadmin'] doesn't work when you load image uploader
ACL & Authentication
2012-01-01zlotek
$INFO['isadmin'] doesn't work when you load image uploader from toolbar. (/lib/exe/mediamanager.php?ns=&edid=wiki__text)
I mean $INFO['isadmin'] doesn't work in this window which appears.
I noted it, because i use googleanalytics plugin and i set it to not count admins. This plugin check it in this line:
I don't know if this bug is connected with detail.php also.
2012-01-06Michitux
It seems that simply $INFO is not set in the media manager popup. I'm wondering at which place that should happen. In detail.php $INFO is set right before the template is loaded. On "normal" pages, $INFO is set in doku.php. It might be handy to have it available in the 'MEDIAMANAGER_STARTED' event, so maybe this could happen right at the beginning? One should note that lib/exe/mediamanager.php is also loaded in ajax requests and in normal requests when the new fullscreen media manager is displayed (could maybe someone explain why this is done because imho this is ugly).
2012-07-28dominik
$INFO contains a lot of information that belongs to a wikipage (which isn't there, because the mediamanager has no specific $ID). the only valuable information are:
* userinfo
* isadmin
* ismanager
* ismobile
* client
Maybe we should move some the initialization of the above mentioned entries to inc/init.php. It seems to me that this information are always useful and maybe needed anyway.