You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() |
2 months ago | |
---|---|---|
README.md | 1 year ago | |
citation_bot.py | 2 months ago | |
csv_importer_atlas-of-surveillance.py | 9 months ago | |
csv_importer_technopolice.py | 9 months ago | |
fix_blockquote.py | 9 months ago | |
no_credentials.json | 1 year ago | |
requirements.txt | 1 year ago |
README.md
Workaround bot to add SemanticCite references as semantic relations.
It creates a Cited references property which links to the cited subobject. See also the discussion here.
Usage
- Create a bot user on the wiki. Add its credentials to a file following the format of
no_credentials.json
. - Run the bot
python citation_bot.py --url https://www.your.domain/wiki/api.php --credentials your_credentials.json
. Which will now insert a block of text containing the semantic property to all pages that have a CiteRef.