Is there an extension or native method (URL API, not php) to copy a file from a remote url to my mediawiki server?
i don't see anything like that on the API documentation.
Is there an extension or native method (URL API, not php) to copy a file from a remote url to my mediawiki server?
i don't see anything like that on the API documentation.
See Manual:Importing external content for what is available in MediaWiki itself. You could use for example scp to copy files via ssh.
If you mean, for the puproses of uploading a file to your wiki, check out $wgAllowCopyUploads
Actually, i want to provide some pre-made wiki-pages as stand-alone files, and then enable admin to add those pages to their own wiki via wiki-text or Url-API.