Extension:RecentChangesOption

The RecentChangesOption extension adds options to manage the default visibility of certain log types or namespaces on the Recent Changes page.

RecentChangesOption will provide messages in the requesting user's language preference. MediaWiki provides translations for log types and namespace names, so the messages can be automatically generated.

Examples
// Hide the User creation log by default RecentChangesOption::create->filterLogType("newusers"); // Do not hide the User creation log by default, but still provide an easy // way for users to hide it RecentChangesOption::create(/* $hideDefault */ false)->filterLogType("newusers"); // Hide the Template namespace by default RecentChangesOption::create->filterNamespace(NS_TEMPLATE); // Hide the Template namespace and its associated talk page by default RecentChangesOption::create(true, /* $filterAssociatedNamespace */ true)->filterNamespace(NS_TEMPLATE); // Hide the User creation log, Block log; Template, MediaWiki namespaces // (and their talk pages) by default RecentChangesOption::create(true, true)->filterLogType("newusers", "block")->filterNamespace(NS_TEMPLATE, NS_MEDIAWIKI); // Hide all public logs RecentChangesOption::create->filterLogType("");