Enable $wgAllowCopyUploads and allow autoconfirmed user to upload the image by URL for pa.wikipedia. The config will be like testwiki have. (As described below)
$wgGroupPermissions['autoconfirmed']['upload_by_url'] = true; $wgAllowCopyUploads = true; $wgCopyUploadsDomains = [ 'upload.wikimedia.org' ];
Village pump discussion link:- https://pa.wikipedia.org/wiki/ਵਿਕੀਪੀਡੀਆ:ਸੱਥ/ਪੁਰਾਣੀ_ਚਰਚਾ_20#English_Wikipedia_non_free_Image_Importer