MediaWiki talk:QIhelper.js
New cat[edit]
Could "Animals/Annelida" be added to the dropdown list? Thanks in advance. --Eusebius (talk) 13:22, 21 November 2008 (UTC)
- Done --Dschwen (talk) 13:43, 21 November 2008 (UTC)
- Thanks. --Eusebius (talk) 14:04, 21 November 2008 (UTC)
Edit summary[edit]
What about providing a default edit summary? --Leyo 13:01, 29 March 2012 (UTC)
- Good idea. Done. --Dschwen (talk) 14:32, 29 March 2012 (UTC)
Lost thumbnails[edit]
Some images lost thumbnails when viewed through the script. I think this is due to the use of certain characters in file names, such as the character '&'. I think it is necessary to encode the file name when you convert it into a link. Just can not say, because I did not program java script, but it should have something like this:
img.src = 'http://commons.wikimedia.org/w/thumb.php?w=150&f=' + encodeURI(file);
- --Art-top (talk) 16:12, 28 October 2012 (UTC)
- After correction the script has ceased to work :( --Art-top (talk) 21:17, 28 October 2012 (UTC)
- I found a mistake! The function is called "encodeURIComponent", and in the script it with a different name "encodeURIcomponent", the letter 'c' a capital! --Art-top (talk) 21:58, 28 October 2012 (UTC)
- yeah, thanks, I noticed it. --Dschwen (talk) 21:59, 28 October 2012 (UTC)
- Also not work :( Maybe generate thumb throught index.php?
img.src = 'http://commons.wikimedia.org/w/index.php?title=Special%3AFilePath&width=150&file=' + encodeURIComponent(file);
- ? --Art-top (talk) 22:14, 28 October 2012 (UTC)
- Yeah, that seems to have worked. Odd. --Dschwen (talk) 19:34, 29 October 2012 (UTC)
Dropdown list[edit]
Could "Plant life/Mosses and Liverworts" and "Plant life/Ferns and Horsetails" be added to the dropdown list? Pages Commons:Quality images/Subject/Plant life/Mosses and Liverworts and Commons:Quality images/Subject/Plant life/Ferns and Horsetails have been created for a long time. Thanks in advance. --Bff (talk) 08:55, 9 April 2013 (UTC)
- Added. --Dschwen (talk) 00:13, 11 April 2013 (UTC)
- Thanks. --Bff (talk) 08:12, 11 April 2013 (UTC)