Wikipedia talk:WikiProject Arctic/Likely articles
This project page does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
The script
editA script was used to generate a list of articles that had coordinates north of the arctic circle. (source)
- It first generated a list of all the transclusions of Template:Coor URL and Template:Coord, which together are used for all of, or almost all of, the coordinates on Wikipedia.
- It then scanned a database dump (from 2008-07-24) looking at all the pages from the first list
- It finds the latitude on the page using several regexes.
- It then converted the latitude to decimal format (rounded to 4 decimal places)
- It finally checks if the latitude is between 66.56083 and 90
Possible sources of error
edit- Some infobox templates designed for specific regions that fall entirely in one hemisphere don't have a parameter for N/S, so the script assumes North. There's very little in the Antarctic Circle besides Antarctica and not every infobox does this, so this should not be a huge problem.
- If a page has multiple coordinates, the script uses whichever matches a regex first.
- The script can't be certain whether or not the coordinates actually refer to the subject of the article.
- If the coordinates in the article are wrong, the script will be wrong.
- The script generally assumes latitude will come before longitude, if for some reason it doesn't, the script may interpret the longitude as latitude.