User:Premeditated Chaos/4A script idea
Approved
- 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)
- Nominator from the nomination header:
- 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.
- Add
|four=yesto the {{Article history}} template
- Add
- Remove the completed nomination from the Wikipedia:Four Award nomination section
- Thank Novem Linguae for freeing you from a lifetime of torment
Declined
Extended content
|
|---|
|
This never happens, ever. At least in the last several hundred nominations - I checked once. But I guess miracles happen.
|
Examples
- Talk page message, unusual example of three at once if that's of interest
- Records page update; this is G's 5th 4A so (5) is added after the link to the title
- Incrementing the author count when Z=1
- |four=yes
- Removing the nomination
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.