Description | Promote DYK hooks to the preps |
---|---|
Author(s) | theleekycauldron 🤠 |
Updated | September 14, 2024 (2 months ago) |
Source | user: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".
- Click the large, blue button to the right, labelled "install".
- Click "Ok".
- 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- A more robust system of figuring out whether or not the nomination is approved (from RoySmith et al.)
- Sanitization of hooks
- Recognizing strikethrough
- Rejection messages (from Narutolovehinata5)
- Option to comment out {{DYKbotdo}} (from RoySmith)
- Fix hook formatting, in particular the required space between initial ellipsis and "that" (from BlueMoonset)
New architecture
editProtocols
edit- User:Theleekycauldron/Scripts/PSHAW/protocols/creditor.js (in progress)
- User:Theleekycauldron/Scripts/PSHAW/protocols/hook mover.js (in progress)
- User:Theleekycauldron/Scripts/PSHAW/protocols/hook puller.js (in progress)
- User:Theleekycauldron/Scripts/PSHAW/protocols/main page updater.js (in progress)
- User:Theleekycauldron/Scripts/PSHAW/protocols/nomination rejecter.js (in progress)
- User:Theleekycauldron/Scripts/PSHAW/protocols/prep builder.js
- User:Theleekycauldron/Scripts/PSHAW/protocols/queuer.js