MediaWiki talk:Replaceuploadlink.js

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

If you are an experienced uploader and dislike having to go through Commons:Upload, install this script and it will replace the upload link with http://commons.wikimedia.org/w/index.php?title=Special:Upload&uselang=experienced .

To install it, go to your user-subpage common.js and add this line:

importscript( 'MediaWiki:Replaceuploadlink.js' );

Secure Server?[edit]

I don't think this will work as expected on the secure server. Instead of hardwiring the URL, shouldn't this use wgServer + wgScript + '?title=Special:Upload&uselang=experienced'? Lupo 16:16, 23 May 2008 (UTC)[reply]

Works for me. Rocket000 00:44, 29 May 2008 (UTC)[reply]