Topic on Extension talk:SimpleBatchUpload

User name as upload comment

6
91.11.121.222 (talkcontribs)

I cannot figure out how to use a parameter for upload comments so the upload comment will be the username of the user who uploaded a file.

F.trott (talkcontribs)

You could try using ~~~ as upload comment. Not sure if that'll work, though.

91.11.121.222 (talkcontribs)

Ok - but how? How to set up this as parameter? The manual is way too short on how to do this - at least for me.

91.11.122.225 (talkcontribs)

I could figure it out how to set up parameters; ~~~ is not working correctly. I installed the extension MyVariables and tried \{\{CURRENTUSER\}\}, but after uploading this template is not used, it is not replaced by the username, instead the template name is printed out literally.

F.trott (talkcontribs)

The only other thing I could think of would be to try using <nowiki>~~~</nowiki>.

91.11.122.225 (talkcontribs)

Thank you for your idea - but didn't help. :-|

Reply to "User name as upload comment"