위키백과>Mintz0223 (공용의 파일을 사용가능하게 함) |
m (판 4개를 가져왔습니다: 위키백과에서 가져옴) |
||
(다른 사용자 한 명의 중간 판 3개는 보이지 않습니다) | |||
6번째 줄: | 6번째 줄: | ||
Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat | Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat | ||
*/ | */ | ||
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
$(function () { | |||
/* | |||
"백:사랑방", "백:사랑방 (기술)" 문서: | |||
HotCat으로 "메시지 전달을 받지 않는 사용자" 분류의 삭제 시도가 많아서 추가함. | |||
HotCat을 사용 시 사랑방 원본의 "지금 보고 계신 사랑방 문서를 직접 수정하지 말아주세요." 글자를 | |||
보지 못해서 수많은 사용자가 삭제를 시도하는 일이 발생하고 있음. | |||
*/ | |||
if ( mw.config.get("wgNamespaceNumber") === 4 && /^(사랑방|사랑방 \(기술\))$/.test( mw.config.get("wgTitle") ) ) { | |||
return; | |||
} | |||
if ( mw.config.get("wgNamespaceNumber") !== 118 ) { | |||
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' ); | |||
} | |||
}()); |
2022년 12월 16일 (금) 20:37 기준 최신판
window.hotcat_translations_from_commons = true;
/*
This imports the latest version of HotCat from Commons.
HotCat is a gadget to make changes to categories much easier.
Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat
*/
$(function () {
/*
"백:사랑방", "백:사랑방 (기술)" 문서:
HotCat으로 "메시지 전달을 받지 않는 사용자" 분류의 삭제 시도가 많아서 추가함.
HotCat을 사용 시 사랑방 원본의 "지금 보고 계신 사랑방 문서를 직접 수정하지 말아주세요." 글자를
보지 못해서 수많은 사용자가 삭제를 시도하는 일이 발생하고 있음.
*/
if ( mw.config.get("wgNamespaceNumber") === 4 && /^(사랑방|사랑방 \(기술\))$/.test( mw.config.get("wgTitle") ) ) {
return;
}
if ( mw.config.get("wgNamespaceNumber") !== 118 ) {
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
}
}());