Khác biệt giữa bản sửa đổi của “MediaWiki:Common.js”

Không có tóm lược sửa đổi
Không có tóm lược sửa đổi
Dòng 147: Dòng 147:
if (window.location.href.indexOf('MediaWiki') == -1) {
if (window.location.href.indexOf('MediaWiki') == -1) {
     document.getElementById('mw-content-text').innerHTML = document.getElementById('mw-content-text').innerHTML.replaceAll('  ', ' ');
     document.getElementById('mw-content-text').innerHTML = document.getElementById('mw-content-text').innerHTML.replaceAll('  ', ' ');
}
if (window.location.href.indexOf('edit') == -1) {
     document.getElementById('mw-content-text').innerHTML = document.getElementById('mw-content-text').innerHTML.replaceAll(' &gt; ','<con> &gt; </con>').replaceAll(' ~ ','<con> ~ </con>').replaceAll('→ ','<arrow>↳ </arrow>');
     document.getElementById('mw-content-text').innerHTML = document.getElementById('mw-content-text').innerHTML.replaceAll(' &gt; ','<con> &gt; </con>').replaceAll(' ~ ','<con> ~ </con>').replaceAll('→ ','<arrow>↳ </arrow>');
}
}


// Zoom Videos
// Zoom Videos