Nuvola apps important
This script is for PERSONAL use only!
You are free to install this script for yourself, but it is not allowed to be used wiki-wide (e.g., in MediaWiki:Common.js or MediaWiki:Wikia.js), as it would violate FANDOM's Terms of Use.
(See the customization policy)

This script makes it possible to prevent a list of pages from being displayed on your wiki activity page. Unfortunately, the script will only run after the page has already loaded so the entries will appear for a couple of seconds at first before the script removes them.


In order to let it work properly you will need to added it add the top of your personal JS files. To implement your pages you will need to change the content inside the pagelist variable on the 5th line:

var pagelist = ["Talk:ShowHide", "Script Request"]; // <-- Put pages in this list

jQuery(function($) {
    "use strict";
    if ((window.wgCanonicalSpecialPageName || (window.mediaWiki && mediaWiki.config.get('wgCanonicalSpecialPageName'))) !== 'WikiActivity') return;
    var pagelist = ["Talk:ShowHide", "Script Request"]; // <-- Put pages in this list
    $("#wikiactivity-main a.title").each(function() {
         var i, l = pagelist.length, $this = $(this), t = $this.text();
         for (i = 0 ; i < l ; ++i) {
             if (t === pagelist[i]) {
                 $this.closest('li').css('display', 'none');
Note: pagelist is an array literal, all page names must be in quotes and separated by commas inside the square brackets.

Removing Entire Namespaces (User:..., Forum:..., etc)

If you want to hide an entire namespace (the part before the colon (":") in page names) then you can do so using CSS instead of JavaScript. This is preferred as the effect is immediate instead of delayed, the pages will never show up then disappear when using CSS; but it is not possible to be selective about this, all pages in that namespace will never show up. If you want to be selective then you must use the above script instead.

.activity-ns-110, .activity-ns-111 {
     display: none;

In the above example, 110 is "Forum:..." and 111 is "Forum talk:...". A partial list of namespaces is given below, although some are already hidden by default. Just add more .activity-ns-NUMBER entries to the comma separated list to hide more namespaces.

Number Namespace Description
0 Main article namespace

(All Wiki pages that don't have 'Something:' at the start)

1 Talk:... Talk pages for articles
2 User:... User pages
3 User talk:... User talk pages
4 Project:...

Your Sitename Wiki:...

Project pages
5 Project talk:...

Your Sitename Wiki talk:...

Project talk pages
6 File:...


File pages
7 File talk:...

Image talk:...
Video talk:...

File talk pages
8 MediaWiki:... MediaWiki pages
9 MediaWiki talk:... MediaWiki talk pages
10 Template:... Template pages
11 Template talk:... Template talk pages
12 Help:... Help pages
13 Help Talk:... Help talk pages
14 Category:... Category pages
15 Category talk:... Category talk pages
110 Forum:... Forum pages
500 User blog:... User blogs
501 User blog comment:... Comments on User Blog pages
1200 Message Wall:... Message Wall comments
1201 Thread:... Message Wall comment replies
1202 Message Wall Greeting:... User customised greetings for Message Walls

The complete list of namespaces and their aliases in a wiki can be retrieved using api.php:


For example|namespacealiases&format=jsonfm