Jump to content

User:Theleekycauldron/DYK promoter

From Wikipedia, the free encyclopedia
DYK promoter.js
A Rube Goldberg "Self-Operating Napkin" machine
PSHAW in action
DescriptionPromote DYK hooks to the preps
Author(s)theleekycauldron 🤠
UpdatedSeptember 14, 2024
    (2 months ago)
Sourceuser:theleekycauldron/DYK promoter.js
user:theleekycauldron/Prep tools.js

Hi! Umm, I'm not sure what to write here. I call this the prep set's half-assed workbench, or PSHAW, for short. Install and enjoy use it, I guess! It creates a portlet link under "More", so you'd use it the same way you'd make a page move.

Methods of installation

[edit]
  • Method one: clicking the large, blue button to the right, labelled "install".
    This method requires a gadget: under "Advanced", check "Install scripts without having to manually edit JavaScript files".
    1. Click the large, blue button to the right, labelled "install".
    2. Click "Ok".
    3. And now you're done!
  • Method two: copy importScript('user:theleekycauldron/DYK promoter.js'); // Backlink: [[user:theleekycauldron/DYK promoter.js]] to your javascript common page.

To do

[edit]
  1. A more robust system of figuring out whether or not the nomination is approved (from RoySmith et al.)
  2. Sanitization of hooks
  3. Recognizing strikethrough
  4. Rejection messages (from Narutolovehinata5)
  5. Option to comment out {{DYKbotdo}} (from RoySmith)
  6. Fix hook formatting, in particular the required space between initial ellipsis and "that" (from BlueMoonset)

New architecture

[edit]

Protocols

[edit]

Dependencies

[edit]