Libre wiki official (토론 | 기여) 잔글 (Liberty llc(토론)의 편집을 Senior9324의 마지막 판으로 되돌림) 태그: 일괄 되돌리기 |
편집 요약 없음 |
||
1번째 줄: | 1번째 줄: | ||
/***** 그림 정보 틀을 자동으로 불러옴 ******** | |||
****/ | |||
function uploadPreload() { | |||
// 새 버전 올리기일 때 동작 안 함 | |||
if (mw.util.getParamValue('wpForReUpload') !== null) return; | |||
// 설명란이 있고 비어있을 때 내용 변경 | |||
var desc = document.getElementById('wpUploadDescription'); | |||
if(desc !== null && desc.value === '' ) { | |||
desc.value = '{\{파일 정보\n|설명 = \n|출처 = \n|날짜 = \n|만든이 = \n|저작권 = \n|기타 = \n}}\n' | |||
+ '{\{비자유 저작물 이용 근거\n|설명 = \n|출처 = \n|저작자 = \n|문서 = \n|이용 부분 = \n|저해상도 = \n|이용 목적 = \n|대체 가능 = \n|기타 = \n}}\n'; | |||
} | |||
} | |||
jQuery( document ).ready(uploadPreload); | |||
2021년 3월 21일 (일) 16:20 판
/***** 그림 정보 틀을 자동으로 불러옴 ********
****/
function uploadPreload() {
// 새 버전 올리기일 때 동작 안 함
if (mw.util.getParamValue('wpForReUpload') !== null) return;
// 설명란이 있고 비어있을 때 내용 변경
var desc = document.getElementById('wpUploadDescription');
if(desc !== null && desc.value === '' ) {
desc.value = '{\{파일 정보\n|설명 = \n|출처 = \n|날짜 = \n|만든이 = \n|저작권 = \n|기타 = \n}}\n'
+ '{\{비자유 저작물 이용 근거\n|설명 = \n|출처 = \n|저작자 = \n|문서 = \n|이용 부분 = \n|저해상도 = \n|이용 목적 = \n|대체 가능 = \n|기타 = \n}}\n';
}
}
jQuery( document ).ready(uploadPreload);