Fandom

Wikia Developers Wiki

RecentChangesModule

823pages on
this wiki
Add New Page
Talk11 Share
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)

RecentChangesModule is a script that adds auto-updating recent changes feed to the Wikia Rail. It includes links to the page changed, edit diff and users contributions.

Installation

importScriptPage:

importScriptPage('RecentChangesModule/code.js', 'dev');

importArticles

importArticles({
    type: 'script',
    articles: [
        'u:dev:RecentChangesModule/code.js'
    ]
});

Read more about using importArticles() here.

Configuration

The list of articles is updated by default every 30 seconds. This can be changed by adding the following before the import, remember this script uses milliseconds:

// this is 60 seconds (in milliseconds)
var rcmRefresh = 60000;
 
importScriptPage('RecentChangesModule/code.js', 'dev');

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.