Bot for Semantic MediaWiki to created semantic properties linking CiteRef'ed subobjects.
citation_bot.py | ||
csv_importer_technopolice.py | ||
no_credentials.json | ||
README.md | ||
requirements.txt |
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.