Userpages appearing in the contents box

In the contents box, which also appears on Scratch Wiki:April Fools, mentions templates and userpages as well, and are outside of mainspace, which probably most Wiki traffic goes to. Would it be possible for the Contents page on the joke version of the Scratch Wiki main page to only show mainspace pages, or would that require making a MediaWiki extension (although making an extension to make that happen might not be worth it as it would be only used there mainly)?
Jammum Icon.png Jammum (💬 Talk - ✍️ Contribs - 🐱 Scratch) 06:09, 8 June 2021 (UTC)

Cookies help us deliver our services. By using our services, you agree to our use of cookies.