Skip to content

Conversation

@mvolz
Copy link
Contributor

@mvolz mvolz commented Nov 12, 2018

  • Change citoid format from mediawiki to mediawiki-basefields;
    this format has fewer total properties.
  • Add complete list of mediawiki-basefields properties
    to the sample config, most with null value, and fill in a few.
  • Add function for adding snaks with a String datavalue
  • In CiteToolReferenceEditor, add the ability to add several
    string properties using some of the added keys in zoteroProperties
    config.
  • In the sample config, remove unused 'refTypes' key.
  • In the sample config, add 'queryProperties' key; this is currently
    used by some WIP code. Comment out the code that uses this key as
    it still doesn't work though.

If you want to test this on Wikidata proper, I've got it in my common.js:

mw.loader.using(['wikibase'], function() {
	$.getScript( 'https://www.wikidata.org/w/index.php?title=User:Mvolz_(WMF)/CiteTool.js&action=raw&ctype=text/javascript', function() {
		var citeTool = new wb.CiteTool( 'https://www.wikidata.org/w/index.php?title=User:Mvolz_(WMF)/CiteProperties.json&action=raw&ctype=application/json' );
		citeTool.init();
	});
});

* Change citoid format from mediawiki to mediawiki-basefields;
this format has fewer total properties.
* Add complete list of mediawiki-basefields properties
to the sample config, most with null value, and fill in a few.
* Add function for adding snaks with a String datavalue
* In CiteToolReferenceEditor, add the ability to add several
string properties using some of the added keys in zoteroProperties
config.
* In the sample config, remove unused 'refTypes' key.
* In the sample config, add queryProperties key; this is currently
used by some WIP code. Comment out the code that uses this key as
it still doesn't work though.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant