MediaWiki talk:Gadget-CatScan2-link.js

Latest comment: 4 years ago by Fl.schmitt in topic ext_image_data problem


New gadget edit

{{Editprotected}} Please create the following new message


//* based on [[MediaWiki:Gadget-Geocodecattodo.js]] and [[MediaWiki:Gadget-Gmaps.js]] as revised by [[User:Lupo]]
if (wgNamespaceNumber == 14) {
 
importScript ('MediaWiki:Extra-tabs.js');
 
addOnloadHook( function() {
 if( global_append_tab ) global_append_tab('http://tools.wmflabs.org/catscan2/catscan2.php?language=commons&project=wikimedia&categories=' + encodeURIComponent (wgTitle.split(" ").join("_")) + '&ns%5B6%5D=1&ext_image_data=1', 'CatScan2', 'ca-catscan2');
});
 
} // end if

As description, please create MediaWiki:Gadget-CatScan2-link

''CatScan V2.0β'': Adds a link to the new Catscan tool. Allows to combine several categories and exclude results from other categories. Can filter with templates. Outputs file lists with filesize, image dimensions, name of uploader, file type, SHA1, etc. 

A line needs to be added to MediaWiki:Gadgets-definition#Categories too.

Gadget-CatScan2-link|Gadget-CatScan2-link.js

Thanks. -- User:Docu at 18:11, 10 April 2010 (UTC)Reply

{{Editprotected}}

"Gadget-" wasn't needed. Sorry about that. Would you remove it? At MediaWiki:Gadgets-definition#Categories, it should be just
CatScan2-link|CatScan2-link.js
Thanks for all these. -- User:Docu at 04:37, 10 May 2010 (UTC)Reply
That was a little bit dumb of me, I fixed it :-) Huib talk 07:33, 15 May 2010 (UTC)Reply
My bad. Works now. Thanks. -- User:Docu at 08:19, 15 May 2010 (UTC)Reply

Why not integrating into MediaWiki:Gadget-ExtraTabs2.js edit

Is there a reason why this is not in MediaWiki:Gadget-ExtraTabs2.js? Tool too difficult? -- RE rillke questions? 13:03, 14 January 2012 (UTC)Reply

ext_image_data problem edit

Currently, setting the ext_image_data option to 1 causes problems. With this option set, a PetScan search seems to produce the error “502 Bad Gateway” (see also PetScan Issue #156). Thus, i would propose to disable that option explicitly until the problem is fixed. --Fl.schmitt (talk) 09:55, 21 June 2019 (UTC)Reply

Removed. Once fixed (Magnsus seems busy, it may take a while) it should be re-added. --Steinsplitter (talk) 08:57, 22 June 2019 (UTC)Reply
Thnx a lot :-) ! --Fl.schmitt (talk) 09:13, 22 June 2019 (UTC)Reply
Return to "Gadget-CatScan2-link.js" page.