FANDOM


Languages: English

HoverEditCount allows you to quickly check the edits of a user on that wiki from their masthead along with a comparison to the global edits of that namespace. It shows the table from Special:EditCount.


importArticles({
    type: 'script',
    articles: [
        'u:dev:MediaWiki:HoverEditCount.js',
    ]
});


Configuration

All variables must be declared before the importArticles call.

preloadEditCount
Declares if the edit count should be loaded before the user hovers over the edit count, preventing unnecessary delays for slow connections. Default: false
hoverEditCountDelay
The time (in MS) the user must hover over the edit count before displaying namespace edits. Default: 300

Example:

var preloadEditCount = true;
var hoverEditCountDelay = 100;
// importArticles...