Thank you Nick for your reply.
wpUploadDescription is not something I can override in LocalSettings.php...
can I?
From what I understand that's a parameter I could
pass in Special:Upload
through the URL. And it doesn't affect the file page
resulting from the
upload, it only affects Special:Upload itself, right?
I'm surprised there is no easy way to customize this via one of the
bazillion Mediawiki:messages.
Thank you again though.
Kind regards,
Manu
On 8 August 2016 at 21:12, Nick Wilson (Quiddity) <nwilson(a)wikimedia.org>
wrote:
On Sat, Aug 6, 2016 at 9:42 AM, Emanuele D'Arrigo
<manu3d(a)gmail.com>
wrote:
Greetings,
I'd like to customize the pre-defined content of a file page.
Specifically,
one of my users has asked if it could have an
"Example" section that can
be
used to list a number of cut&paste-ready
lines, i.e.
[[Media:MyFile.ext|MyDescription]]
I thought perhaps this was part of one of the system messages within the
MediaWiki namespace but I'm struggling to find which one.
Alternatively I could try and use the Boilerplate extension perhaps?
Thoughts?
Kind regards, Manu
(I'm not sure, but...) The pre-filled content[1] seems to come from
wpUploadDescription (found via examining page-source) which is
mentioned at
https://www.mediawiki.org/wiki/Manual:Parameters_to_
Special:Upload
Does that help?
[1] e.g.
https://commons.wikimedia.org/w/index.php?title=Special:
Upload&uploadformstyle=basic
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l