User:Maile66/DYK/Admin

Did you know/Admin instructions

✅ User:Theleekycauldron/DYK promoter" aka WP:PSHAW

Basic stuff - Move to Queue
Please watchlist User:DYKUpdateBot/Errors, where the bot reports errors that prevent it from posting the next Queue to the main page. Sample warning of missing hooks, Sample coding error message


 * 1) Open the prep for editing, and double-check these items before any action:
 * 2) Make sure is at the top beneath DYKbox but above the image.  is on the line just after the last hook.
 * 3) Make sure is at the bottom, with all its brackets in place.
 * 4) Below "Credits" section, make sure there is a DYKmake template for each hook. Helpful to have them in the same sequence order as the hooks.
 * 5) Open the same-numbered queue for editing. (Next prep: Template:Did you know/Preparation area ; next queue: Template:Did you know/Queue/.)
 * 6) You need to remove  from the top of the target Queue, and replace it with
 * 7) Copy and paste the entire contents of the prep into the queue. (Hint: Right-click in the Prep edit window, Select All, right-click again, Copy. Then go to the Queue edit window and paste.)
 * 8) Make sure is at the top beneath DYKbox but above the image.  is on the line just after the last hook.
 * 9) Preview (!) then save.
 * 10) Go back to the prep template; clear all the text; copy the complete contents of Template:Did you know/Clear into it; save.
 * 11) Edit the prep counter to bump it to the next prep set to be moved to queue.

Other

 * Template:Did you know/Queue
 * See also: Template:Did you know/Clear
 * See also: Template:DYK Prep Set Instructions

After confirming that the next preparation area is full and meets DYK rules, move that preparation template number to the corresponding numbered DYK template queue and then delete the hooks and credits from the just moved DYK template preparation area. DYKUpdateBot will automatically move the next queue to the DYK template during the next update.

This section describes the steps to perform a full update to the "Did you know" section on the Main Page.

Bcucroorpptoo
Template:DYK admins

Template:Ping group/doc

— Maile (talk) 18:37, 21 October 2021 (UTC)

Currently active and semi-active DYY admins

 * Template:@DYK admins


 * User:Amakuru


 * User:Bagumba


 * User:BorgQueen


 * User:Casliber


 * User:Cwmhiraeth


 * User:Dumelow


 * User:Gatoclass (semi-active on DYK)


 * User:Hog Farm


 * User:Maile66


 * User:ONUnicorn


 * User:RoySmith


 * User:Schwede66


 * User:Tamzin


 * User:Valereee


 * User:Vanamonde93 (semi-active on DYK)


 * User:Z1720

Image
Fair Use images not allowed: Wikipedia:FAQ/Main Page Images.


 * Commons:Copyright rules by subject matter
 * Commons:Photographs of identifiable people
 * Commons:United States Freedom of panorama

Make sure the image/media for the hooks to be loaded, is either on English Wikipedia, or protected on Commons.

Images on English Wikipedia
No action is required, as the image should automatically be protected through Main Page cascading protection.

Images on Commons

 * Must be protected by either a Commons Admin, or by KrinkleBot.
 * Current list of Commons Admins
 * Click on KrinkleBot, to see if the image is listed there. If you do not see the image there, it has not yet been protected on Commons . Two other bot operators besides KrinkleBot have access to the bot: C:User:Legoktm and C:User:Steinsplitter.
 * Usually, KrinkleBot protects the image in the lead Queue, and protects subsequent images as their Queues move up to the lead.
 * If the KrinkleBot is running, the protection happens within 30 minutes or so of the lead Queue being filled from Prep.
 * If the lead Queue image on Commons is not protected, anyone who has DYKUpdateBot Errors on their watchlist will receive an error message.
 * At the top of KrinkleBot's page, it tells you the exact time and date of its last update.
 * If the bot has not run for several hours and is not protecting the image, report the bot at User talk:Krinkle.
 * Add the unprotected image to Main Page/Commons media protection.

If KrinkleBot is down
(Shubinator's instructions)
 * Double-check the image hasn't already been vandalized.
 * On Commons, download the file to your computer.
 * Back at English Wikipedia, go to Special:Upload and upload the image with the same filename. In the description field add c-uploaded and the source and license information. After clicking "Upload file", you'll get a warning the image already exists, and will need to confirm by clicking "Ignore warning and save file anyway".
 * Check if cascading protection kicked in: On the English Wikipedia filepage, click on "Edit". If an editnotice appears saying something like "This page is protected so that only users with administrative rights can make edits" or "This page has been protected so that only administrators can edit it" or "This page is currently protected, and can be edited only by administrators", it's protected! If not, please protect the image manually - set protection expiry to after the image is slated to leave the Main Page.
 * Profit!
 * After the image comes off the Main Page, it's best to go back and delete the temporary file.

Replacing main page image

 * In the case an image needs to be replaced after DYK is on the main page, add the unprotected image to Main Page/Commons media protection. Wait until it shows up at commons:Commons:Auto-protected files/wikipedia/en before posting to the Main Page.

Manually posting the new update (if the bot is down)

 * Note: This is the manual method. When using DYKUpdateBot, the bot should automate all of the following except steps 1 and 11.


 * 1) Make sure the image/media for the hooks to be loaded is on English Wikipedia or protected on Commons:Auto-protected_files/wikipedia/en with the tag "This page is currently protected, and can be edited only by administrators." If the image/file is on Commons and not protected, the bot is probably down, and the operator User:Krinkle should be notified. You may manually protect the image by uploading it to En and tag it with c-uploaded. You do not need to protect the picture; this is done automatically because of the cascading protection of the Main Page. Alternatively, if you are an admin at Commons you can protect the picture/file at Commons instead of uploading to En.
 * 2) Update T:DYK from the current queue by copying/pasting the hooks code from the top through.
 * 3) [ Purge the cache of the Main Page] to make sure the new entries appear. (Instructions there.)
 * 4) [ Reset] the DYK time. (Instructions there.) Note that the timestamp you will paste is the current time, indicating that you just posted the update – not the time for the next update.
 * 5) Increment the next queue pointer.
 * 6) Copy the [ previous set of hooks] (not the new set just promoted to the front page) to the archive. Be sure to copy the final revision of the set (it should be the last diff on the T:DYK page before your update), and place the timestamp of the DYK update you just made above it. Please include the picture/file.
 * 7) Check if the previous picture/file was temporarily uploaded from Commons for display on the Main Page, and delete it from En if so.
 * 8) On the local description page of the picture/file for the previous set of hooks, add   (occasionally replacing   with   where appropriate). Note that, like the archives, this will create a one-day misalignment between the date on the file page and the date it actually appeared in DYK.
 * 9) If you have time, please do the credits for the hooks just promoted by opening the version of the queue that the main page was updated from, and using the "give" and "tag" links in the credits section, then following instructions. (These are most easily done with three windows open.)
 * NOTE: has their own off Wiki tool to handle this task.  Ping Mandarax if circumstances necessitate the manual method.
 * 1) Clear the queue you just promoted hooks from with.
 * 2) If you have time, check if there are any full preparation areas. Check the hooks for errors, and promote them to the next empty numbered queue if they're good. Clear the prep you took hooks from to look like this. Tag the numbered queue with  once the queue is loaded and ready.

Changing from 1-a-day to 2-a-day and vice versa
After 120 or more approved nominations, we rotate to two sets a day and when we drop below 60, we rotate to one set a day.

After 00:00 UTC, set User:DYKUpdateBot/Time Between Updates to 43200 (to go to 2-a-days) or to 86400 (to go to 1-a-days). Check hook sets for special occasion requests and move affected hooks.


 * The switch should occur after the midnight UTC promotion of queue to the main page about ... minutes from now: User:DYKUpdateBot/Time Between Updates should then be changed by an admin from 86400 to 43200 so we start promoting queues to the main page twice a day, at midnight and noon UTC.

Troubleshooting

 * User:DYKUpdateBot/Errors on their watchlist . If there is an error delaying the update, this bot will have in its edit summary exactly what the problem is. For instance, if  has been missed in the promoting from prep to queue, the update bot's edit summary will state the error and say which queue is involved.  Or, if it's a missing botdo template, the edit summary will say "Queue (number) is not tagged with DYKbotdo"

If for some reason, the Queue does not automatically clear after posting contents on the Main Page, do this:
 * Replace the contents of Template:Did you know/Paste
 * Make sure the correct Queue number is in line for the next update, by checking replaced with the contents of Template:Did you know/Queue/Next, in the same manner the Next Prep is manually changed by Template:Did you know/Queue/NextPrep.

DYK Scripts and bots