Aspallar / Wiki-Up

Bulk file uploader for MediaWiki sites
GNU General Public License v3.0
11 stars 3 forks source link

Feature: Use of variables in the Summary #11

Closed ninjamask closed 3 years ago

ninjamask commented 3 years ago

I had to upload a bunch of files with different categories. They were presorted on my PC. And it would have been really useful if we could use variables in the summary/comment text which matches to the folder depth.

e.g.:

Filepath: "D:\Wiki\Regions\Liyue\Quest\Your First Quest\Dummy.png"

Summary:

All Media related to the Quest "%6".
[[Category:%4]]
[[Category:%5s]]
[[Category:%6]]

would be dynamically changed to this:

All Media related to the Quest "Your First Quest".
[[Category:Liyue]]
[[Category:Quests]]
[[Category:Your First Quest]]
Aspallar commented 3 years ago

Thanks for the suggestion. Looks like a good idea, and will probably be added in next release.

Aspallar commented 3 years ago

Given your description of your use case (the files presorted into category folders) I suspect that a facility to add all files from a folder and all its sub-folders would have made your life a little easier, so I've raised #12.

Aspallar commented 3 years ago

Available in version 1.10.0