HG-199 Random article entry point

Currently `Random Page` button in Mercury goes to MW {{Special:Random}} page. We want to change it and use Ember's magic there. In order to do this we need an entry point in Mercury API.
that looks odd
can this only happen when wiki is empty?
or are there more situations?