|
Overview
The Automatic Referencing Assistant (ARA) is a script which aids users in correcting referencing errors. It notifies the user when the article being edited is missing the {{Reflist}}
template, has invalid or broken <ref></ref>
tags, or is missing the "Name" parameter in the Persondata template. Clicking a fix link will automatically add the necessary template or information to the correct location in the article.
For a written history of the script, see here.
Usage
To use this script:
- Place in your common.js. If the script doesn't work immediately, Bypass your cache.
importScript('User:TheJJJunk/ARA.js'); // [[User:TheJJJunk/Automatic Referencing Assistant]]
- Add your name to the list of users.
List of functions
Function | Status | Description | Activity |
---|---|---|---|
missing {{Reflist}} | ![]() | Adds the {{Reflist}} template to the article if citations are present. | -Active |
Missing {{Notelist}} | ![]() | Adds the {{Notelist}} template to the article if notes ({{efn}}) are present. | -Active |
inapplicable tag | ![]() | Removes {{unreferenced}} and {{no footnotes}} tags if <ref> tags present.[a] | -Active |
missing reference groups | ![]() | Adds the {{Reflist|group}} template to the article if citations using the |group= parameter are present. | -Active |
unnecessary reference groups | ![]() | Removes the |group= parameter from citations that have an improper group listed. | -Active |
extra whitespace in citation | ![]() | Removes extra whitespace from citations. | -Active |
URL containing space(s) | ![]() | Replaces spaces in the URL parameter with %20 (the URL-encoded representation of a space). | -Active |
URL ending with a period | ![]() | Removes trailing periods in the URL parameter. | -Active |
invalid ref position | ![]() | Fixes spacing before <ref> tags and periods (.) after </ref> tags. | -Active |
Invalid <ref></ref> tags | ![]() | If citations using <ref></ref> tags are listed below the {{Reflist}} template, removes the <ref></ref> tags. | -Active |
broken <ref></ref> tags | ![]() | Fixes malformed <ref></ref> tags (./ref> , ,/ref> , or </ref ). | -Active |
broken {{Reflist}} | ![]() | Fixes a malformed {{Reflist}} template. Examples: {{reflist)) , {{relist}} , {{Reflist|2} . | -Active |
references on Portal: Pages | ![]() | Per Wikipedia Talk:Portal guidelines#References in portals, Portal pages should not include references. | -Active |
{{Reflist}} on Portal: Pages | ![]() | Per Wikipedia Talk:Portal guidelines#References in portals, Portal pages should not include {{Reflist}} templates. | -Active |
URL scheme error | ![]() | Adds http:// onto invalid URLs in citations. | -Active |
URL scheme error (Capital) | ![]() | Adds http:// onto invalid URLs in citations that begin with a capital letter (These are most likely not actually URLs). | -Active |
empty citations | ![]() | Removes empty citations ("<ref></ref> ") from the article. | -Active |
empty Persondata template | ![]() | Adds the parameters to {{Persondata}} templates located on the page. | -Active |
missing Name in Persondata | ![]() | Adds the |NAME= parameter to the article's PERSONDATA. | -Active |
accessdate without URL | ![]() | Removes the |accessdate= paramater from citations lacking the url= parameter. | -Inactive |
citation type | ![]() | Replaces {{cite web}} with {{citation}} if the citation lacks the title= parameter. | -Inactive |
coauthors without author | ![]() | Replaces the |coauthor= paramater with |author= if the citation lacks the last= and author= parameters. | -Inactive |
heading style | ![]() | Removes spaces in headings (== Heading == → ==Heading== ). | -Inactive |
Report errors, comments, and suggestions
To report an error with this script, to comment on it, or to suggest new functions, leave a message on my talk page or the script talk page.
Notes
🔥 Top keywords: Main PageSpecial:SearchPage 3Wikipedia:Featured picturesHouse of the DragonUEFA Euro 2024Bryson DeChambeauJuneteenthInside Out 2Eid al-AdhaCleopatraDeaths in 2024Merrily We Roll Along (musical)Jonathan GroffJude Bellingham.xxx77th Tony AwardsBridgertonGary PlauchéKylian MbappéDaniel RadcliffeUEFA European Championship2024 ICC Men's T20 World CupUnit 731The Boys (TV series)Rory McIlroyN'Golo KantéUEFA Euro 2020YouTubeRomelu LukakuOpinion polling for the 2024 United Kingdom general electionThe Boys season 4Romania national football teamNicola CoughlanStereophonic (play)Gene WilderErin DarkeAntoine GriezmannProject 2025