Currently we have a private mediawiki installation by making
$wgGroupPermissions['*']['read'] = false;
$wgGroupPermissions['*']['edit'] = false;
in LocalSettings.php, and have given public access to the home page:
$wgWhitelistRead = array(
"Main Page"
);
Question
I would like to know if it’s possible to have a public wiki (for clients) with a private subset (for staff only). I’m aware of the fact that we could just have 2 separate installations, but ideally I want wiki.mydomain.com for all wiki content with a login request for private pages and edit actions.
Not easily.
MediaWiki isn’t built to have hidden sections. If it was a matter of a handful of pages, there are extensions that will allow you to secure them to a limited subset of users, but a second wiki is going to be the better bet really.