پرش به محتوا

مدیاویکی:Gadget-HotCat.js: تفاوت میان نسخه‌ها

از دانشنامه علوم انسانی
imported>Ladsgroup
جایگزینی صفحه با '//<source lang="javascript"> if( wgServer.indexOf( 'https://secure.wikimedia.org' ) == 0 ) { importScriptURI( '/wikipedia/commons/w/index.php?title=MediaWiki:Gadg...'
imported>Huji
همین باید کار کند
 
(۲۸ نسخهٔ میانی ویرایش شده توسط ۱۰ کاربر نشان داده نشد)
خط ۱: خط ۱:
//<source lang="javascript">
/*
   
  This imports the latest version of HotCat from Commons.
if( wgServer.indexOf( 'https://secure.wikimedia.org' ) == 0 ) {
HotCat is a gadget to make changes to categories much easier.
importScriptURI( '/wikipedia/commons/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
Full documentation can be found at http://commons.wikimedia.org/wiki/Help:Gadget-HotCat
} else {
*/
importScriptURI( 'http://commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );
}

نسخهٔ کنونی تا ۲۲ آوریل ۲۰۱۹، ساعت ۱۶:۰۵

/*
 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
*/
mw.loader.load( '//commons.wikimedia.org/w/index.php?title=MediaWiki:Gadget-HotCat.js&action=raw&ctype=text/javascript' );