Jump to content

User:NrhpBot

From Wikipedia, the free encyclopedia

Overview

[edit]
  • This bot is used for NRHP data mining from the NPS databases for article stubbing and cleaning.
  • It is written in C#, the code is open sourced.
  • Its queries and data reads are automated, article creation will be semi automated after review of potential existing articles or matches. I intend to go a state at a time, starting with Ohio.
  • The bot will be running until hopefully all of the notable articles are stubbed, and will run after that on a much more diminished scale as the NRHP database listings are changed, added or removed.
[edit]

Current Bot Function

[edit]

There are two parts to the stubbing process, a semi automated / manual review of existing potential matches for the article.

Scan for Potential Existing Articles

[edit]

The bot scans Wikipedia for articles containing:

  • The NRHP infobox and a matching refnum
  • The same title (original and clean) or some geographic variation:
    • Name
    • Name (City)
    • Name (State)
    • Name, City
    • Name, City, State

Some other searches I originally had but ended up getting too many matches to be usable included:

  • Significant Person Names
  • Architect
  • Other Names from the NRHP database

Automated Stubbing

[edit]
  1. Create the main page
    1. Create a page at "Name (City, State)" or if a vicinity address, "Name (State)"
    2. Add WikiProject|class=stub and Reqphotoin templates to talk page
    3. Add to User:Paultyng's watch list
    4. Update the local database with the new article ID
  2. Create a redirect
    1. If a page at "Name" does not exist, create a redirect
    2. Add Wikiproject|class=redirect to redirect page talk
  3. Log the result of this row

Complete

[edit]

Ohio

[edit]