Bot for Semantic MediaWiki to created semantic properties linking CiteRef'ed subobjects.
Go to file
Ruben van de Ven c40ba51fee Fix syntax error 2023-01-26 15:02:06 +01:00
README.md Bot to created semantic properties to CiteRef'ed subobjects 2022-02-02 09:13:08 +01:00
citation_bot.py Fix syntax error 2023-01-26 15:02:06 +01:00
csv_importer_atlas-of-surveillance.py Institution for developing agency 2022-07-14 15:33:11 +02:00
csv_importer_technopolice.py importer for csv's from technopolice 2022-07-11 11:20:17 +02:00
fix_blockquote.py Institution for developing agency 2022-07-14 15:33:11 +02:00
no_credentials.json Bot to created semantic properties to CiteRef'ed subobjects 2022-02-02 09:13:08 +01:00
requirements.txt Bot to created semantic properties to CiteRef'ed subobjects 2022-02-02 09:13:08 +01:00

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

  1. Create a bot user on the wiki. Add its credentials to a file following the format of no_credentials.json.
  2. 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.