Difference between revisions of "User:AdminAnne/common.js"

From wikibase-docker
Jump to navigation Jump to search
(Created page with "var ext_link = "http://eac-cpf.herokuapp.com/eac/"; // Base URL for external service developed during #hackAN2018 var Qid = $("body").attr("class").split(" ").pop().replace("w...")
 
Line 1: Line 1:
var ext_link = "http://eac-cpf.herokuapp.com/eac/"; // Base URL for external service developed during #hackAN2018
+
var ext_link = "http://eac-cpf.herokuapp.com/"; // Base URL for external service developed during #hackAN2018
 
var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
 
var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
 
$("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');
 
$("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');

Revision as of 12:43, 10 July 2020

var ext_link = "http://eac-cpf.herokuapp.com/"; // Base URL for external service developed during #hackAN2018
var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
$("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');


// var ext_link = "http://hackan.adimasc.io/eac/"; // Base URL for external service developed during #hackAN2018
// var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
// $("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');