"മീഡിയവിക്കി:Common.js" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
No edit summary |
No edit summary |
||
| വരി 113: | വരി 113: | ||
? ' – <a href="' + licenseUrl + | ? ' – <a href="' + licenseUrl + | ||
'" target="_blank">' + license + '</a>' | '" target="_blank">' + license + '</a>' | ||
: ''); | : '')+ | ||
(commonsUrl | |||
? '<br><a href="' + commonsUrl + | |||
'" target="_blank" rel="noopener noreferrer">View on Wikimedia Commons</a>' | |||
: ''); | |||
figure.appendChild(img); | figure.appendChild(img); | ||
| വരി 331: | വരി 335: | ||
? ' – <a href="' + licenseUrl + | ? ' – <a href="' + licenseUrl + | ||
'" target="_blank">' + license + '</a>' | '" target="_blank">' + license + '</a>' | ||
: ''); | : '')+ | ||
(commonsUrl | |||
? '<br><a href="' + commonsUrl + | |||
'" target="_blank" rel="noopener noreferrer">View on Wikimedia Commons</a>' | |||
: ''); | |||
figure.appendChild(figcaption); | figure.appendChild(figcaption); | ||
} | } | ||