Ben 10 Fan Fiction Wiki
Register
Advertisement
Ben 10 Fan Fiction Wiki
UNNECESSARY

This script is not useful for this wiki as anonymous editing is banned. Feel free to use it on others wiki, though.
Tutorials
AdvancedOasisUI - BackToTopButton - MarkForDeletion - RelatedDiscussionsModule - RevealAnonIP - SearchButtonV2 - VisualSpellCheck - Wikimarks


RevealAnonIP is a handy script that can be used wikiwide.

Installation[]

To install MarkForDeletion, simply add:

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

to your global.js on Community Central to affect all wikis or your wikia.js on this wiki to affect only this wiki. As mentioned above, you can also use this wikiwide and place it in any wikiwide JS console (Common,Wikia,Monobook). You can only have one importArticles call in each console page, so add just:

        "u:dev:RevealAnonIP/code.js"

if you already have one. Note that if you haven't yet used any script articles you will also need to copy the "type:script articles[]" section.

Customization[]

When used wikiwide, the script can be customized to work for only certain user groups. The following only lets Rollbacks, Admins, and Crats use the script.

window.RevealAnonIP = {
    permissions : ['rollback', 'sysop', 'bureaucrat']
};

To let all logged in users use the script, simply add the 'user' permission. By default, even other anonymous contributors can see IP addresses.

On wikis where the script is disabled for regular users, you can add the following to a personal JS console instead of the /code.js to override the permissions limit.

importArticles({
    type: "script",
    articles: [
        "u:dev:RevealAnonIP/usercode.js"
    ]
});

Usage[]

This script changes "An anonymous contributor" to their actual IP in Special:WikiActivity and in Blog Comments.

Clear Cache[]

Before this script can begin working, you must clear your cache by doing the following based on your browser.

  • Internet Explorer, Firefox, Chrome: Press Ctrl+F5.
  • Opera: Go to Tools→Preferences.
  • Konqueror and Safari: Click Reload.


This tutorial was created by Paperluigi ttyd.

Advertisement