SHOWSTOPPER bug

Hi,

I added a bugfix for not checking user rights if on `console`. The check was not aware if a maintenance script was refreshing or rebuilding the wiki database. It blocked all articles with a "inclusion denied" message. This would break e.g. `maintenance/refreshLinks.php` and moreover deleting all categories from the `categorylinks` table

This bugfix will allow the maintenance scripts to run correctly.