Jump to content

User:Premeditated Chaos/4A script idea

From Wikipedia, the free encyclopedia

Approved

[edit]
  • Anyone may use the script. No authentication / allowlist needed.
  • We don't need to verify that the editor qualifies for the Four Award. The human is supposed to do that before using the script. Perhaps we can add a note to the user interface about this.
  • Display a link next to each nom at Wikipedia:Four Award#Nominations. Clicking the link opens the script's user interface.
  • Correctly identify several parameters:
    • Nominator from the nomination header: ===={{user|X}}====
    • Target article from the following line: Article: '''[[X]]
    • Dates:
      • Award date - current date
      • Article creation date - this one may need to be manually entered or at least checked by the user, because of the possibility of creation-from-redirect. maybe use the API to grab the date of the "oldest revision that isn't a redirect". Then put this in a text box that the user can change, with a note that it needs to be manually checked. And also a link to the diff.
      • Date article appeared on DYK - get from {{Article history}}
      • Date of GA promotion - get from {{Article history}}
      • Date of FA promotion - get from {{Article history}}
    • Number of previous 4As (can be found on Wikipedia:Four Award/Records)
  • Add to the nominator's user talk page a new level 2 heading "Four Award for [ARTICLE]" (or something like that). Add in that section the template {{subst:Four Award Message|ARTICLE}}
    • Prompt user for optional custom message?
  • Add the user, article, and appropriate dates to the table on Wikipedia:Four Award/Records, appending (Z) to the article title if there are previous 4As given
  • If Z=1, increase by one the number in the "written by '''###''' authors" count on the main Wikipedia:Four Award page
  • Verify that the target article has a {{Article history}} template on its talk page.
  • Remove the completed nomination from the Wikipedia:Four Award nomination section
  • Thank Novem Linguae for freeing you from a lifetime of torment

Declined

[edit]
Extended content

This never happens, ever. At least in the last several hundred nominations - I checked once. But I guess miracles happen.

  • Add to the nominator's user talk page a new level 2 heading "Four Award for [ARTICLE]" (or something like that). Prompt user to explain why the nomination was declined. Add that explanation to the talk page.
  • Remove the failed nomination from the Wikipedia:Four Award nomination section

Examples

[edit]