미디어위키:Common.js: 두 판 사이의 차이
Resultofunion (토론 | 기여) 편집 요약 없음 |
Resultofunion (토론 | 기여) 편집 요약 없음 |
||
| 1번째 줄: | 1번째 줄: | ||
var currentUrl = window.location.href; | var currentUrl = window.location.href; | ||
if(!mw.config.get('wgUserId') && currentUrl.includes(' | console.log('login', mw.config.get('wgUserId')); | ||
console.log('comon', currentUrl.includes('common.js')) | |||
if(!mw.config.get('wgUserId') && currentUrl.includes('common.js')){ | |||
console.log('redirect'); | console.log('redirect'); | ||
} | } | ||