How Can We Help?
You are here:
< Back

Birthday Committee script (BDCS) is a script created for the Birthday Committee, to assist in wishing users a happy birthday, first edit day, or adminship anniversary. Accessed through the menu item "BDC wish" (in the "More" menu) on user talk pages.

The code is adapted from Twinkle's welcome module.

To add custom wish templates, add the something like the following to your common.js page:

window.BDCS_CustomTemplates = [
    "TemplateName",
    "TemplateName2"
];

BDCS_CustomTemplates is a list of template names (not necessarily in template namespace). You can mention additional parameters, such as "User:MyUsername/CustomWishTemplate|birthday=yes" . But do not include the opening {{ or final }}.

Installation

If you have the script-installer gadget, just click on the "Install" button in the infobox.

Otherwise, add the line

importScript('User:SD0001/BDCS.js'); // [[User:SD0001/BDCS.js]]

on your common.js page.

See also

Categories
Table of Contents