Verified Commit 2fce72a1 authored by Connor Shea's avatar Connor Shea 🏄

Remove an unfinished sentence.

parent 48635404
Pipeline #43134292 passed with stage
in 1 minute and 31 seconds
......@@ -119,7 +119,7 @@ This code is:
- Requires that you have a CSV file of all the PCGamingWiki (Vetle kindly provided two PHP scripts for generating this CSV: [`pcgw_export.php`](https://gist.github.com/vetleledaal/4aff4c0ff7161bccc0eaeede2e93550b) and [`create_pcgw_steamid_csv.php`](https://gist.github.com/vetleledaal/c357f803719a181f8d7de4e810ad909d))
- Will eventually fail with some sort of DNS error I can't be bothered to figure out.
The code is also functional, and works well enough for my purposes. I wouldn't recommend copying it wholesale because, as I said, it's _bad_. It could probably be refactored quite a bit to be easier to follow and to output progress information in a better way, or to catch errors more cleanly, but this is what I ended up with, and it works well for my purposes, so I didn't want to go through the process making it readable or easily reusable. I'm mostly just sharing this to
The code is also functional, and works well enough for my purposes. I wouldn't recommend copying it wholesale because, as I said, it's _bad_. It could probably be refactored quite a bit to be easier to follow and to output progress information in a better way, or to catch errors more cleanly, but this is what I ended up with, and it works well for my purposes, so I didn't want to go through the process making it readable or easily reusable.
You can run it with `WIKIDATA_USERNAME=username WIKIDATA_PASSWORD=password ruby pcgw-to-wikidata.rb` (be sure to replace `username` and `password` with your actual username and password). I wouldn't recommend running it without understanding the consequences, however. It _will_ modify data on the actual Wikidata website. Also, [**you should use a bot to run this script**](https://www.wikidata.org/wiki/Wikidata:Bots).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment