Re: [MediaWiki-l] how to automate "edit with form and save" on all articles

2017-09-29 Thread Evans, Richard K. (GRC-H000)
[SimpleBatchUpload] Very nice, Stephan. Thank you! I will look into it and likely use it. I think Yaron’s recommendation [API pfautoedit] will solve my problem of legacy images and your recommendation will provide me with a path forward for new uploads.. Happiness is! -Rich

Re: [MediaWiki-l] how to automate "edit with form and save" on all articles

2017-09-28 Thread Evans, Richard K. (GRC-H000)
Hi Yaron, Yes. Basically, the form associated with the File namespace adds a template, but the user has to manually go through the "edit with form" for the template to be added.. this is what I am trying to automate so your advice seems to provide me with a path to doing so. I was hoping that

Re: [MediaWiki-l] how to automate "edit with form and save" on all articles

2017-09-28 Thread Stephan Gambke
Hi Rich. Have a look at https://github.com/s7eph4n/SimpleBatchUpload. It's an extension, not a script, but it was developed with exactly your use case in mind. It provides a Special page for uploading multiple files to MediaWiki and setting a standard template call as the wikitext of the

Re: [MediaWiki-l] how to automate "edit with form and save" on all articles

2017-09-28 Thread Yaron Koren
Hi Rich, I'm somewhat confused - when you wrote "each article", did you mean "each file page"? Assuming yes - it sounds like what you need is a way to add a blank template call, like "{{My file template}}", to every page in the "File:" namespace. There's no maintenance script that does that, but

[MediaWiki-l] how to automate "edit with form and save" on all articles

2017-09-28 Thread Evans, Richard K. (GRC-H000)
Hi. I set my FILE namespace to have a default form to edit with which adds semantic properties with default values based on the article name. The problem is that when I upload a file, the upload process doesn't use the form. (There is also the problem that hundreds of legacy files need to go