User:BenchBot
This user account is a bot operated by slaporte (talk). It is not a sock puppet but rather a legitimate alternative account, used to make repetitive automated or semi-automated edits that would be extremely tedious to do manually. Administrators: if this bot is malfunctioning or causing harm, please block it. |
This bot is adding Supreme Court cases from http://bulk.resource.org/ that have been formatted according to the guidelines of Wikisource:WikiProject U.S. Supreme Court cases. The result looks something like this: United States v. Sokolow.
Status
[edit]The current task is importing cases to the U.S. Reports.
U.S. Reports
[edit]Notes
[edit]- Volumes 13, 14, 15, 16, 17, 18, 19, 20, 293 490, 491, 492, 493, 494, 495, 496, 497, 498, 499, 500, 501, and 502 were added without disambiguation.
- Additional notes available in the issue log.
- Volume 398: Improper dissent names for Brennan and Harlan II. More information
Bot information
[edit]Bot profile | |
---|---|
Creator/operator: | User:slaporte |
Mode: | Supervised. |
Operation: | Intermittent. This bot creates pages from a flat file. It does not patrol for edits to be made. |
Maximum edit rate: | 5 second throttle |
Language: | Python (pywikipedia) |
Overview
[edit]The bot imports Supreme Court cases from txt files--see this sample. The txt files include the following formatting:
- Creates pages for syllabus, the Opinion of the Court, and Dissents and Concurrences
- Creates corresponding talk pages
- Creates a citation page with redirect
- Wikifies links using to the WikifyCite Tool
- Applies and fills Template:USSCcase2 (or Template:USSCcase), Template:PD-USGov, and Template:header to content pages, or Template:textinfo to talk pages
- Formats foot notes
Previous tasks
[edit]Done - Swapping header templates. Changed {{header}} to {{Potus-eo}} on executive orders.
replace.py -cat:Executive_orders_of_2001 -regex "{{header.*\|.*title.*=.*Executive Order (?P<EO>[0-9]+).*\|.*author.*=(?P<AUTHOR>.*)\|.*section.*=(?P<SECTION>.*)\|.*previous.*=.*\|.*next.*=.*\|.*notes.*=(?P<NOTES>(.* (?P<DAY>[0-9]{1,2}) (?P<MONTH>[A-Za-z]+) (?P<YEAR>[0-9]{4}).*))}}" "{{Potus-eo\n | eo = \g<EO> \n | title = Executive Order \g<EO> \n | author = \g<AUTHOR>| section = \g<SECTION>| year = \g<YEAR> \n | month = \g<MONTH>\n | day = \g<DAY> \n | cite = ''Federal Register'' page and date: -N/A-\n | fr-vol = 74\n | fr-page = II\n | fr-year = \g<YEAR>\n | fr-month = \g<MONTH>\n | fr-day = \g<DAY>\n | notes = \g<NOTES> \n}}" -dotall -summary:"Robot: replacing [[template:header]] with [[template:Potus-eo]]"