미디어위키:Common.js: 두 판 사이의 차이
Resultofunion (토론 | 기여) 편집 요약 없음 |
Resultofunion (토론 | 기여) 편집 요약 없음 |
||
| 73번째 줄: | 73번째 줄: | ||
return e.preventDefault(); | return e.preventDefault(); | ||
}; | }; | ||
/* 존재하지 않는 문서 페이지의 '기록' 링크 삭제 */ | |||
if (mw.config.get('wgUserId') == null && document.querySelector('.plainlinks a')) { | |||
document.querySelector('.plainlinks a').removeAttribute('href'); | |||
document.querySelector('.plainlinks a').classList.add('disable'); | |||
} | |||