I don't want my wiki to be spammed on pages I don't want to be spammed.
Assuming you mean disable anonymous users from editing go to Special:AdminDashboard, look for the setting "Require all contributors to log in" at the bottom right and enable it.
What do you think?