Note: After saving, you have to bypass your browser's cache to see the changes. Internet Explorer: press Ctrl-F5, Mozilla: hold down Shift while clicking Reload (or press Ctrl-Shift-R), Opera/Konqueror: press F5, Safari: hold down Shift + Alt while clicking Reload, Chrome: hold down Shift while clicking Reload.
//<source lang=javascript>
if (typeof(userGlobalJSLoaded) === 'undefined') {
	mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Kwj2772/global.js&action=raw&ctype=text/javascript");
	mw.loader.load("//meta.wikimedia.org/w/index.php?title=User:Kwj2772/global.css&action=raw&ctype=text/css", "text/css");	
	mw.log.error("GlobalCssJs failed. Loaded Global CSS/JS manually.");
}

// [[위키백과:사랑방/2007년 10월#미리 보기 강제 실시]] 참고
// 소스: 프랑스어 위키백과
/**
  * Force to preview before saving changes in MediaWiki namespace.
  * Copyright Marc Mongenet, 2006
  * Rewritten by Kwj2772, 2014
  */
function forcePreview () {
    if (mw.config.get( 'wgAction' ) != "edit") return;
    var $saveButton = $("#wpSave");
	var $previewButton = $("#wpPreview")
	$saveButton.prop({
      	disabled: true,
      	value: "저장 (미리 보기 후)",
      	}).css('font-weight', 'normal');
    $previewButton.css('font-weight', 'bold');
}

if (mw.config.get( 'wgAction' ) == 'edit' && mw.config.get( 'wgNamespaceNumber' ) == 8) $(forcePreview);

//importScript('User:Kwj2772/temp.js');

(function() {
	var $uri = $("#t-wb-concept-uri a").attr("href");
	var $label_rdf = $("<a></a>").text("RDF").attr("href", $uri+".rdf");
	var $label_json = $("<a></a>").text("JSON").attr("href", $uri + ".json");
	$("#t-wb-concept-uri").append(" (").append( $label_rdf ).append( "/" ).append( $label_json ).append(")");
})();
 
/* Flickrreview */
//importScript('User:Rillke/LicenseReview.js');
importScript('User:Majora/LicenseReview.js');
 
/* +Admin tab */
function moreadmintabs () {
  if (mw.config.get( 'wgTitle' ).indexOf("/") != -1 || document.title.indexOf("- History -") != -1)  //no subpages or history
     return;
  if (mw.config.get( 'wgCanonicalNamespace' ) == "User" || mw.config.get( 'wgCanonicalNamespace' ) == "User_talk") {
     var username = mw.util.wikiUrlencode( mw.config.get( 'wgTitle' ) );
         if (($.inArray("sysop", mw.config.get( 'wgUserGroups' )) !== -1)) {
             mw.util.addPortletLink("p-cactions", mw.config.get( 'wgServer' ) + "/wiki/Special:Block/" + username, "차단", "ca-blockuser", "Block this user");
             mw.util.addPortletLink("p-cactions", mw.config.get( 'wgServer' ) + "/wiki/Special:UserRights/" + username, "권한 조정", "ca-userrights", "Change user right");
         }
  }
}
$(document).ready(moreadmintabs);

importScript('User:Magnus Manske/sdc_tool.js');
//importScript('User:Kwj2772/gecko.js');



//importScript('User:Kwj2772/massblock.js');
//importScript('User:Kwj2772/commonsdelinker.js');
 
//</source>
//<nowiki>

//catALot///////////////////////////////////////
////////// Cat-a-lot user preferences //////////
window.catALotPrefs = {"disambig_category":"Disambiguation","redir_category":"Category redirects","watchlist":"preferences","minor":false,"editpages":true,"docleanup":false,"subcatcount":50,"uncat":true,"button":true};
////////////////////////////////////catALotEnd//
//</nowiki>