User talk:Fran Rogers/CommonsHelper Helper

Questions
Excellent tool! Any chances to get it working in other language versions too? ja-wiki has a lot of public domain / GFDL pictures. &mdash;Ppntori 14:39, 4 April 2007 (UTC)
 * OK, after a little work I got it working on JA wikipedia (I don't know Japanese though, had to use Google Translate, so I'm sure the grammar is horrible =P). Internationalization for other Wikipedias should be pretty straightforward now too! Krimpet (talk/review) 19:52, 4 April 2007 (UTC)
 * I got it working on nl. It's indeed straightforward. --Erwin85 10:21, 11 April 2007 (UTC)

I installed the script but it's not working for me. Firefox's error console reports imageTitleRe.exec(decodeURI(location.href)) has no properties on line 8. I'm using Firefox 2.0.0.3. Any thoughts? —Remember the dot (talk) 04:42, 27 April 2007 (UTC)
 * That's weird, I'm using the same version of Firefox without problems. I changed things around a little bit now though so it doesn't use regexps anymore, give it a try now. Krimpet (talk) 04:52, 27 April 2007 (UTC)


 * It's working now. Thanks! —Remember the dot (talk) 02:11, 28 April 2007 (UTC)

Now it don't work for me (Firefox 2.0.0.3). I get: Warning: Unknown property 'column-count'. Declaration dropped. Source File: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 Line: 42 but that seems unrelated. It seems to simply have vanished. // Liftarn
 * That's bizarre, I'm using Firefox 2.0.0.3 too without problems. Exactly what symptoms are occurring? Also is there anything noteworthy about your configuration: any firefox extensions installed, or are you using a skin other than Monobook? Krimpet (talk)


 * It is. It has work fine until recently. No changes as far as I can tell. http://en.wikipedia.org/wiki/User:Liftarn/monobook.js is empty except for importScript('User:Krimpet/CH2.js');. I click "edit this page" for an image and the button isn't displayed. // Liftarn

Hold on. I got
 * Error: document.getElementById("toolbar") has no properties
 * Source File: http://commons.wikimedia.org/w/index.php?title=User:Krimpet/CH2.js&action=raw&ctype=text/javascript&dontcountme=s
 * Line: 80

in the error console. // Liftarn

Incidentally, the column-count error happens to everyone, whether or not they are using CH2. —Remember the dot (talk) 16:53, 30 April 2007 (UTC)


 * I supected that. It was also a warning anyway. // Liftarn
 * OK, it should now be fixed! Krimpet (talk) 15:12, 1 May 2007 (UTC)


 * Thanks, it seems to work now. // Liftarn


 * I worship at your feet - this makes my life so much easier! Madmedea 11:42, 12 May 2007 (UTC)

Not working
I copied this code on the page to my monobook page:

// User:Krimpet/CH2.js importScript('User:Krimpet/CH2.js');

Why is it not working? Am I supposed to leave something out or add something extra? hmwith talk  13:25, 2 July 2007 (UTC)

Same problem. Firefox 2.0.0.11 on XP 2.0.0.8 Ubuntu Feisty. Where is this button I am looking for? ClemRutter (talk) 14:39, 22 December 2007 (UTC)

I'm not having any luck either, I'm on Firefox and XP (both up to date I'm sure) Ryan4314 (talk) 15:31, 16 February 2008 (UTC)


 * Doesn't work for me using either Firefox 2.00.11 or Safari 3 (both running on Mac OS 10.5.2). In Firefox, the following warnings show up in the error console whenever I load any image page:


 * Warning: Unknown property '-webkit-column-count'. Declaration dropped. Source File: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 Line: 52
 * Warning: Unknown property 'column-count'. Declaration dropped. Source File: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 Line: 53
 * Warning: Unknown property 'word-wrap'. Declaration dropped. Source File: http://en.wikipedia.org/w/index.php?title=MediaWiki:Common.css&usemsgcache=yes&action=raw&ctype=text/css&smaxage=2678400 Line: 70
 * "Warning: Error in parsing value for property 'vertical-align'. Declaration dropped. Source File: http://en.wikipedia.org/wiki/Image:Komuz.jpg Line: 0"


 * Note that the first three errors show up on any Wikipedia page I open (looks like problems with the main CSS). Also, TWINKLE is working just fine, so it can't be a problem with my Monobook setup. Finally, I tried removing TWINKLE to see if that had caused a conflict, but it didn't make a difference. Hope this helps! -- Hux (talk) 18:39, 18 March 2008 (UTC)

Direct upload?
Magnus' CommonsHelper now has an option to upload the file directly using his File Upload Bot commons username, and you don't have to take the time to save the file to your computer first. Can we get a check box for CH2 to allow us to use the direct upload if desired? Personally, I'd rather not fuss with saving and reuploading the file if I don't have to. --Darkwind (talk) 22:06, 31 October 2007 (UTC)
 * I agree. That would make it even more useful.  Just adding another checkbox for reallydirectupload would do it.  Superm401 - Talk 06:11, 12 December 2007 (UTC)

ShouldBeSVG
Images that use ShouldBeSVG in one of its various redirect forms seem to end up with duplicate templates on Commons. If they use a subcategory, then one of the duplicates keeps it, whilst the other doesn't. I'm not sure what the cause of this problem is, but it's not helping with the backlog in commons:Category:Images that should use vector graphics, as already-subcategorised images are being dumped into the main category. Is anyone able to sort this? Ta, Stannered (talk) 00:23, 19 January 2008 (UTC)

Bug
After the latest revision, I'm getting an error in Firefox 2.0.0.11:

The issue is that you are attempting to return from a function, but there is no function. I suggest instead:

if ( wgCanonicalNamespace == 'Image' ) {  var page = 'User:Krimpet/CH2.js'; if(! importedScripts[page] ) { importedScripts[page] = true; var url = 'http://commons.wikimedia.org/w' + '/index.php?title=' + encodeURIComponent( page.replace( / /g, '_' ) ) + '&action=raw&ctype=text/javascript'; var scriptElem = document.createElement( 'script' ); scriptElem.setAttribute( 'src', url ); scriptElem.setAttribute( 'type', 'text/javascript' ); document.getElementsByTagName( 'head' )[0].appendChild( scriptElem ); } }

This is not tested, but should be correct... Superm401 - Talk 17:23, 25 January 2008 (UTC)
 * Unfortunately, this version still doesn't work. I was able to get it working without the check; see User:Superm401/CH2.js. Superm401 - Talk 11:05, 7 February 2008 (UTC)

Doesn't work :(
I get the tab for it above the image but when I click it, just an edit box appears and nothing else. I'm using Firefox 3.1b2pre. -Nard 14:51, 11 October 2008 (UTC)


 * Commonshelper itself isn't working half the time, along with a lot of other stuff on the toolserver, for the past week. Hope they get things fixed soon. &mdash;Elipongo (Talk contribs) 20:47, 19 October 2008 (UTC)


 * I added the script, and got the button on my toolbar. However when I click "move image to commons", it doesn't do anything? (I'm Using Firefox 3.0 on XP) --  $user log (Talk) @ 07:41, 20 October 2008 (UTC)


 * I'm having the same experience. I'm on Firefox 3.0.4 Is anything going on regarding this issue? -- Mwanner | Talk 18:23, 14 November 2008 (UTC)
 * Me too. I get the edit page with no changes. Rocket000 (talk) 20:35, 8 March 2009 (UTC)
 * Maybe it's an issue with Firefox 3.  Gl ac ier   Wo lf   19:14, 9 April 2009 (UTC)