User:Jayantanth/AddInformation.js

if ( wgNamespaceNumber == 6 && ( wgAction == "view" || wgAction == "purge" )) $(document).ready(function{  if ($('.fileinfotpl_desc').length) return;   mw.util.addPortletLink('p-tb', 'http://toolserver.org/~magnus/add_information.php?image=' + encodeURIComponent (wgTitle.split(" ").join("_")), 'Add ', 't-addInfo', null); });