Surprisingly enough, I have a problem finding a solution to this—I want to disable / remove the Random page link from a MediaWiki wiki on the left bar.
I think it is hard to find the answer on Google because "Random page" appears in many wikis as the actual link for Random page, but maybe I am googling for the wrong thing.
I couldn't find anything in LocalSettings.php
either.