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