Skip to content
Please note that GitHub no longer supports your web browser.

We recommend upgrading to the latest Google Chrome or Firefox.

Learn more
Permalink
Browse files

Added links to wikidata for updated works

  • Loading branch information...
arthurpsmith committed Oct 15, 2019
1 parent 757e860 commit ee650677d9c3e84d0b0f18ed425d01594bb773f6
Showing with 3 additions and 3 deletions.
  1. +2 −2 author_item_oauth.php
  2. +1 −1 names_oauth.php
@@ -62,7 +62,7 @@
print "Processing requests....\n";
print "<ul>";
foreach ($papers AS $work_qid) {
print "<li>$work_qid: ";
print "<li>" . wikidata_link($work_qid, $work_qid, '') . ": ";
if ( $author_match == 'none' ) {
$result = $edit_claims->revert_author( $work_qid, $author_item, "Author Disambiguator revert author for $work_qid" ) ;
} else {
@@ -121,7 +121,7 @@
}
}
$result = $edit_claims->merge_authors( $work_qid, $author_numbers, array(), "Author Disambiguator merge authors for $work_qid" ) ;
print "<li>$work_qid: ";
print "<li>" . wikidata_link($work_qid, $work_qid, '') . ": ";
if ($result) {
print "merges done";
} else {
@@ -106,7 +106,7 @@
continue;
}
$work_done[$work_qid] = $author_num;
print "<li>$work_qid: ";
print "<li>" . wikidata_link($work_qid, $work_qid, '') . ": ";
$result = $edit_claims->replace_name_with_author($work_qid, $author_num, $author_q, "Author Disambiguator set author for $work_qid");
if ($result) {
print "Author added to work";

1 comment on commit ee65067

@Daniel-Mietchen

This comment has been minimized.

Copy link
Contributor

commented on ee65067 Oct 15, 2019

Very useful — thanks!

Please sign in to comment.
You can’t perform that action at this time.