Board Thread:Support Requests - Getting Technical/@comment-38126337-20200316224241/@comment-9605025-20200317050021

I looked into this before. As far as I can tell, Special:Export (at least the current version), does not have any query parameters you can set. The most you can do is attach a page's name as if it where a subpage of Special:Export. Doing this downloads the file without going through the form. Of course, this means that the default settings (no page history, templates not included, save as file) are used. This method is also limited to exporting a single page.

What you could probably do is create a JS script to do this though. Basically, just have the script generate the URL with some custom query parameters attached when the template is used. Then, when on Special:Export, check for those parameters and pre-fill the form with the value(s).