Manual:LocalSettings.php snippets

Here are some snippets you can add to LocalSettings.php to accomplish various tasks. A "snippet" is usually a short hook function, typically less than 20 lines, such that it wouldn't be worth bothering to implement it as an extension.

SecretSpies
You may wish to enable some users to view deleted articles without making it evident to everyone who these users are. This would be implemented by: