편집 요약 없음 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
$medic = $('wgCategories'); | $medic = $('wgCategories'); | ||
if (mw.config.get('wgCategories')[mw.config.get('wgCategories').indexOf("애드센스 제외 문서")] == "애드센스 제외 문서" ){ | if (mw.config.get('wgCategories')[mw.config.get('wgCategories').indexOf("애드센스 제외 문서")] == "애드센스 제외 문서" ){ | ||
// 의학 틀이 붙어있으면서 일반 문서일 때 | // 의학 틀이 붙어있으면서 일반 문서일 때 | ||
alert(' | alert('이 문서에는 성적인 내용이 있습니다. 읽을 때 주의하시기 바랍니다.'); | ||
} | } |
2020년 11월 5일 (목) 21:18 판
$medic = $('wgCategories');
if (mw.config.get('wgCategories')[mw.config.get('wgCategories').indexOf("애드센스 제외 문서")] == "애드센스 제외 문서" ){
// 의학 틀이 붙어있으면서 일반 문서일 때
alert('이 문서에는 성적인 내용이 있습니다. 읽을 때 주의하시기 바랍니다.');
}
mw.loader.load('//librewiki.net/index.php?title=사용자:Utolee90/status.js&action=raw&ctype=text/javascript');
mw.loader.load('//librewiki.net/index.php?title=사용자:Utolee90/lastedit.js&action=raw&ctype=text/javascript');