Fandom

Wikia Developers Wiki

QuickCreateMessageWallGreeting

869pages on
this wiki
Add New Page
Talk3 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)

QuickCreateMessageWallGreeting allows you to quickly create your message wall greeting by clicking a link in your user navigation menu on the Wikia skin, or a link next to the user links at the top of each page in the monobook format.

Usage

Install into your personal JS:

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

The default text of the message wall is {{w:User:<YOUR USERNAME>/MessageWallGreeting}}. To change the text used add the following to your JS above the import:

var qtMessageWallGreetingTemplate = '{{w:User:<YOUR USERNAME>/MessageWallGreeting}}';

The above refers to the page on Community Central located at http://community.wikia.com/wiki/Template:User:<YOUR USERNAME>/MessageWallGreeting.

By default, this tool does not overwrite any existing greeting. If you would like to replace the greeting if it already exists, add the following line to your JS above the import:

var qtEnableMessageWallGreetingOverwrite = true;

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.