Перейти к содержанию

MediaWiki:Common.js: различия между версиями

нет описания правки
Нет описания правки
Нет описания правки
Строка 19: Строка 19:
     // Get the link title
     // Get the link title
     var linkTitle = link.textContent.trim() + '— ЮУГМУ Вики';
     var linkTitle = link.textContent.trim() + '— ЮУГМУ Вики';
     console.log(currentPageTitle);
     console.log(currentPageTitle + '=' + linkTitle);
    console.log(linkTitle);
     // Check if the link title is equal to the current page title
     // Check if the link title is equal to the current page title
     if (linkTitle === currentPageTitle) {
     if (linkTitle === currentPageTitle) {