MediaWiki talk:Gadget-CatScan2-link.js
This script, CatScan2, is a JavaScript gadget which can be enabled or disabled in your Preferences. |
Gadget descriptions: PetScan: Adds a link to the PetScan 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. [talk] |
i18n | Gadget translations:
Toolserver script: ar, cs, da, de, el, en, es, fi, fr, id, it, ja, mk, nl, no, pl, pt, ru, uk, zh-hans, zh-hant |
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)
- Done - Let me know if I need to fix something. Huib talk 13:08, 8 May 2010 (UTC)
- "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)
- That was a little bit dumb of me, I fixed it :-) Huib talk 07:33, 15 May 2010 (UTC)
- My bad. Works now. Thanks. -- User:Docu at 08:19, 15 May 2010 (UTC)
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)
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)
- Removed. Once fixed (Magnsus seems busy, it may take a while) it should be re-added. --Steinsplitter (talk) 08:57, 22 June 2019 (UTC)
- Thnx a lot :-) ! --Fl.schmitt (talk) 09:13, 22 June 2019 (UTC)