MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 18: | Line 18: | ||
//파일중복 메세지 제거 | //파일중복 메세지 제거 | ||
var $duplicates = document.getElementById('mw-imagepage-section-duplicates'); | var $duplicates = document.getElementById('mw-imagepage-section-duplicates'); | ||
if($duplicates) $duplicates.parentElement.removeChild($duplicates); | if($duplicates) $duplicates.parentElement.removeChild($duplicates); | ||
}else{ | |||
// 모든 문서 목록 검색 box 삭제 | |||
var $wrapper = document.querySelector('.mw-htmlform-ooui-wrapper') | |||
if ($wrapper) $wrapper.parentElement.removeChild($wrapper); | |||
} | |||
/* | |||
else{ | |||
$searchBox = document.querySelector('.mw-htmlform-ooui-wrapper'); | $searchBox = document.querySelector('.mw-htmlform-ooui-wrapper'); | ||
if($searchBox) $searchBox.style.display = 'block'; | if($searchBox) $searchBox.style.display = 'block'; | ||
} | } | ||
*/ | |||
/* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | /* 이 자바스크립트 설정은 모든 문서, 모든 사용자에게 적용됩니다. */ | ||
| Line 321: | Line 328: | ||
'<ul class="vector-menu-content-list">' + | '<ul class="vector-menu-content-list">' + | ||
'<li class="mw-list-item"><a href="https://churchofgod.wiki" title="하나님의 교회 지식사전"><span>Korean</span></a></li>' + | '<li class="mw-list-item"><a href="https://churchofgod.wiki" title="하나님의 교회 지식사전"><span>Korean</span></a></li>' + | ||
'<li class="mw-list-item"><a href="https:// | '<li class="mw-list-item"><a href="https://churchofgod.wiki/en" title="Church of God Knowledge Encyclopedia"><span>English</span></a></li>' + | ||
'<li class="mw-list-item"><a href="https:// | '<li class="mw-list-item"><a href="https://churchofgod.wiki/es" title="ChurchEnciclopedia de conocimiento de la Iglesia de Dios"><span>Spanish</span></a></li>' + | ||
'<li class="mw-list-item"><a href="https:// | '<li class="mw-list-item"><a href="https://churchofgod.wiki/vi" title="Từ điển tri thức Hội Thánh của Đức Chúa Trời"><span>Vietnamese</span></a></li>' + | ||
'<li class="mw-list-item"><a href="https:// | '<li class="mw-list-item"><a href="https://churchofgod.wiki/ne" title="नेपाली"><span>Nepali</span></a></li>' + | ||
'<li class="mw-list-item"><a href="https:// | '<li class="mw-list-item"><a href="https://churchofgod.wiki/pt" title="ENCICLOPÉDIA DO CONHECIMENTO DA IGREJA DE DEUS"><span>português</span></a></li>' + | ||
'</ul>' + | '</ul>' + | ||
'</div>' + | '</div>' + | ||