Skip to content

Commit

Permalink
Merge branch 'linked-to-from-#1428' of https://github.com/carlinmack/…
Browse files Browse the repository at this point in the history
…scholia into carlinmack-linked-to-from-#1428
  • Loading branch information
fnielsen committed Aug 10, 2021
2 parents a070a58 + 9e53159 commit 41c623d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scholia/app/templates/base.html
Expand Up @@ -100,9 +100,9 @@
{% if request.path.endswith("curation") or request.path.endswith("curation/") %}

var linkedToFrom = "<p><a href='https://www.wikidata.org/w/index.php?hidecategorization=1&target={{ q }}&showlinkedto=1&limit=500&days=7&enhanced=1&title=Special:RecentChangesLinked&urlversion=2' >";
linkedToFrom += "Recent changes to items that link <em>to</em> " + title + "</a> and ";
linkedToFrom += "Recent changes to items that link <em>to</em> " + $('<div>').text(title).html() + "</a> and ";
linkedToFrom += "<a href='https://www.wikidata.org/w/index.php?hidecategorization=1&target={{ q }}&showlinkedto=0&limit=500&days=7&enhanced=1&title=Special:RecentChangesLinked&urlversion=2' >";
linkedToFrom += "recent changes to items that link <em>from</em> " + title + "</a>.</p>";
linkedToFrom += "recent changes to items that link <em>from</em> " + $('<div>').text(title).html() + "</a>.</p>";

$(linkedToFrom).insertAfter('h1:first');

Expand Down

0 comments on commit 41c623d

Please sign in to comment.