DiscussionsButtons


 * Note: The buttons may be buggy and may sometimes not appear. You are invited to try to fix these buttons.

DiscussionsButtons are fully customization buttons on each post and reply in Discussions.

Installation

 * It is recommended to use CustomizeDiscussions to import the script.

Since this script is fully customizable, you need to preset your buttons.

Example:

First, the script uses an array to create these buttons. The first thing in the object, IE Contribs, is the display text for the button. The second thing is the actual link.

You can use shortcuts like you would in a a href tag, such as shortening the link to /Special:Action instead of https://dev.wikia.com/wiki/Special:Action.

There are three variables you can use to create these links;
 * $1: Username
 * $2: User ID
 * $3: Wiki URL (Just the dev part in https://dev.wikia.com )

Add this import below the variable you just created: