Gebruiker:Xaris333/vector.js: Verskil tussen weergawes

Content deleted Content added
No edit summary
Maintenance: mw:RL/MGU / mw:RL/JD - mw.util.wikiGetlink is deprecated
 
Lyn 188:
function addTranslationToNode(node, translation) {
if (translation.translation !== undefined) {
node.after('<span class="translatorAddedcontent">(<a href="' + getOriginOfWikiLang(conf.homeWiki) + mw.util.wikiGetlinkgetUrl(translation.translation) + '">' + translation.translation + '</a>)</span>');
} else if (conf.enableNeedingShow === true) {
node.after('<span class="translatorAddedcontent">(<span style="color: red;" class="translatorNeededLink" data-title="' + node.attr('title') + '" data-interwikis="' + translation.interwikis + '" data-links-to-count="' + translation.linksToCount + '">' + translation.interwikis + '</span>)</span>');