Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

User:SD0001/GAN-helper

From Wikipedia, the free encyclopedia
GAN-helper
DescriptionEasily create GAN nominations
Author(s)SD0001
UpdatedNovember 27, 2020
    (3 years ago)
Skins
  • Vector
  • Monobook
  • Modern
  • Cologne Blue
  • Timeless
  • MinervaNeue
SourceUser:SD0001/GAN-helper.js

GAN-helper is a script to easily create a GAN nomination.

Installation

[edit]

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

Otherwise, add

importScript('User:SD0001/GAN-helper.js'); // [[User:SD0001/GAN-helper.js]]

on your common.js page or skin js page.

Usage

[edit]

The "GAN" menu option is available in the "More" dropdown menu, when viewing the article page or its talk page.

Logging

GAN-helper can optionally make an entry in a userspace log. Name of the log page and format of log entry can be tweaked from the interface. You can customise the defaults shown in the interface by adding some preferences through thecommon.js page, as:

window.GAN_helper_log_page = 'User:SD0001/My list of GANs';
window.GAN_helper_log_entery = '# [[$PAGE]]';

For the log entry, $PAGE is automatically expanded to the name of the article.

See also

[edit]