Wikipedia talk:WikiProject Arctic/Likely articles

WikiProject iconArctic Project‑class
WikiProject iconThis page is within the scope of WikiProject Arctic, a collaborative effort to improve the coverage of Arctic on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
ProjectThis page does not require a rating on Wikipedia's content assessment scale.

The script edit

A script was used to generate a list of articles that had coordinates north of the arctic circle. (source)

  1. 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.
  2. It then scanned a database dump (from 2008-07-24) looking at all the pages from the first list
  3. It finds the latitude on the page using several regexes.
  4. It then converted the latitude to decimal format (rounded to 4 decimal places)
  5. 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.