diff --git a/scholia/app/templates/base.html b/scholia/app/templates/base.html index 6c75a87ef..17f0ff336 100644 --- a/scholia/app/templates/base.html +++ b/scholia/app/templates/base.html @@ -951,6 +951,7 @@ diff --git a/scholia/app/templates/check-crossref-section.html b/scholia/app/templates/check-crossref-section.html new file mode 100755 index 000000000..35cd777d4 --- /dev/null +++ b/scholia/app/templates/check-crossref-section.html @@ -0,0 +1,9 @@ +

Check Crossref for new papers

+ +

If you think that Wikidata is missing recent papers published on this topic, you can click the button below to check + the 20 most recent papers in Crossref. You will be redirected to the Identifier to Quickstatements tool where you can see the presence of these in + Wikidata and have the opportunity to create these items in Wikidata using QuickStatements.

+ + diff --git a/scholia/app/templates/check-crossref.html b/scholia/app/templates/check-crossref.html old mode 100755 new mode 100644 index b2cc40f6d..9caff265d --- a/scholia/app/templates/check-crossref.html +++ b/scholia/app/templates/check-crossref.html @@ -1,9 +1,240 @@ -

Check Crossref for new papers

+{% extends "base.html" %} -

If you think that Wikidata is missing recent papers published on this topic, you can click the button below to check - the 20 most recent papers in Crossref. You will be redirected to the Identifier to Quickstatements tool where you can see the presence of these in - Wikidata and have the opportunity to create these items in Wikidata using QuickStatements.

+{% block page_content %} - \ No newline at end of file +

Check Crossref

+ +

Enter a topic to search for papers in Crossref and check for their presence in Wikidata.

+ +
+
+ + + + +
+ +

Options

+ +
+ +
+ +
+
+ + +
+ +
+ +
+
+ +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ +
+ +
+
+
+ +
+ +

Advanced

+
+ +

This is the query string which is used to check the Crossref and can be edited directly. For help, see the API documentation. Note that using the + form inputs above will clear any edits you have manually made.

+
+
+ /works? +
+ +
+
+ + + + + +{% endblock %} + +{% block scripts %} +{{super()}} + +{% endblock %} diff --git a/scholia/app/templates/disease-curation.html b/scholia/app/templates/disease-curation.html index 0e91fd05f..34ed0e8fd 100644 --- a/scholia/app/templates/disease-curation.html +++ b/scholia/app/templates/disease-curation.html @@ -2,6 +2,6 @@ {% block curation_panels %} -{% include 'check-crossref.html' %} +{% include 'check-crossref-section.html' %} {% endblock %} diff --git a/scholia/app/templates/gene-curation.html b/scholia/app/templates/gene-curation.html index 0e91fd05f..34ed0e8fd 100644 --- a/scholia/app/templates/gene-curation.html +++ b/scholia/app/templates/gene-curation.html @@ -2,6 +2,6 @@ {% block curation_panels %} -{% include 'check-crossref.html' %} +{% include 'check-crossref-section.html' %} {% endblock %} diff --git a/scholia/app/templates/protein-curation.html b/scholia/app/templates/protein-curation.html index 0e91fd05f..34ed0e8fd 100644 --- a/scholia/app/templates/protein-curation.html +++ b/scholia/app/templates/protein-curation.html @@ -2,6 +2,6 @@ {% block curation_panels %} -{% include 'check-crossref.html' %} +{% include 'check-crossref-section.html' %} {% endblock %} diff --git a/scholia/app/templates/taxon-curation.html b/scholia/app/templates/taxon-curation.html index 6c6c6a9c7..10ef1a020 100644 --- a/scholia/app/templates/taxon-curation.html +++ b/scholia/app/templates/taxon-curation.html @@ -12,7 +12,7 @@ {% block curation_panels %} -{% include 'check-crossref.html' %} +{% include 'check-crossref-section.html' %}

Missing topic tags for taxon name

diff --git a/scholia/app/views.py b/scholia/app/views.py index 58f470e84..13879ac1a 100644 --- a/scholia/app/views.py +++ b/scholia/app/views.py @@ -371,6 +371,23 @@ def show_id_to_quickstatements(): ) +@main.route('/check-crossref') +def show_check_crossref(): + """Return HTML rendering for Check Crossref tool. + + Returns + ------- + html : str + Rendered HTML. + + See Also + -------- + show_arxiv. + + """ + return render_template('check-crossref.html') + + @main.route('/author/' + q_pattern) def show_author(q): """Return HTML rendering for specific author.