Verified Commit 6bf13649 authored by Connor Shea's avatar Connor Shea 🏄

Add a note about using a bot account.

parent f3e8c5c1
Pipeline #43130182 passed with stage
in 1 minute and 22 seconds
...@@ -121,7 +121,7 @@ This code is: ...@@ -121,7 +121,7 @@ This code is:
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. I'm mostly just sharing this to
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. 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).
```ruby ```ruby
# Dependencies: # Dependencies:
......
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