Jump to content

User:Wugapodes/DYK promoter

From Wikipedia, the free encyclopedia
DYK promoter.js
Descriptionpromotes DYK hooks
UpdatedDecember 1, 2021
    (2 years ago)
SourceUser:Wugapodes/DYK promoter.js

DYK PROMOTER is a script that will hopefully replace the current manual method of promoting hooks into prep sets. It is still in development. You can install it by adding importScript(User:Wugapodes/DYK promoter.js); to your common.js file. See WP:USERSCRIPTS if you have trouble finding that file.

Features

[edit]
  1. Preview preps that are not full
  2. Detect hooks in nom pages

Proposed Features

[edit]
  1. Select which prep set a hook should be added to  Doing...
    Automatically add credit information to prep area
    Allow failing a nomination, not just promoting
  2. Allow rearranging of hooks that are in preps
  3. Automate closing nominations  Doing...
  4. Ability to pull hook from prep
    Figure out the nom where the hook came from
    Reopen closed noms with comment explaining why pulled
  5. Post to WT:DYK about problem hooks, pinging participants in the nomination

Currently working on

[edit]
  • Select hook from nom to add to a prep set
    • Currently works, but does not actually edit the prep pages and will not until credit information can also be added
  • Automate closing nominations --Wug·a·po·des

Bugs and To Do

[edit]
  • If you select an alt to move to prep, it still includes ALT# which it shouldn't
  • Should add DYK credits to prep as well

Notes

[edit]
  • User:DYKUpdateBot/Code is important to keep in mind.
    • Requires <!-- Hooks --> in prep set, so that will need to stay