사용자:휘뚜루마뚜루/monobook.js

참고: 설정을 저장한 후에 바뀐 점을 확인하기 위해서는 브라우저의 캐시를 새로 고쳐야 합니다. 구글 크롬, 파이어폭스, 마이크로소프트 엣지, 사파리: ⇧ Shift 키를 누른 채 "새로 고침" 버튼을 클릭하십시오. 더 자세한 정보를 보려면 위키백과:캐시 무시하기 항목을 참고하십시오.

 /* 시작: 편집창 위의 단추 추가 */
  function addCustomButton(imageFile, speedTip, tagOpen, tagClose, sampleText) {
   mwCustomEditButtons[mwCustomEditButtons.length] =
   {"imageFile": imageFile, "speedTip": speedTip, "tagOpen": tagOpen, "tagClose": tagClose, "sampleText": sampleText};
  }
  addCustomButton('http://upload.wikimedia.org/wikipedia/ko/4/43/Button_KST.png', '단군력으로 서명하기', '--\~\~\~ \{\{subst:KSTS-dan\}\}', '', '');
  addCustomButton('http://upload.wikimedia.org/wikipedia/ko/d/da/Button_Suju.png', '슈주피디아 연결고리 추가', '\{\{사용자:낚시맨/슈주피디아 고리\|', '\}\}', '연결될 슈주피디아 문서');
/* 끝: addCustomButton  */

/*** BEGIN WIKIBREAK ENFORCER ***/
$(function() {

 /*** Start editing here ***/
 
 // When you want to end your break?
 // no leading zeroes. (example: 7 - correct, 07 - incorrect)
 
 var date = { year: 2009, month: 12, day: 31};
 var time = { hours: 23, minutes: 59, seconds: 59 };
 
 /*** Stop editing here ***/
 
 var currentDate = new Date();
 var enforcedBreakEnd = new Date(
         date.year,date.month-1,date.day,time.hours,time.minutes,time.seconds);
 if (currentDate <= enforcedBreakEnd) {
         alert("Enforced wikibreak until "+enforcedBreakEnd.toLocaleString() + "\n(now is "+currentDate.toLocaleString()+")\n\nBye!");
         location = "http://"+location.host+"/w/index.php?title="+ "Special:Userlogout&returnto=Main_Page";
         }
});

/*** END WIKIBREAK ENFORCER ***/