Hi.
Is it enough just to create the page [[MediaWiki:Uploadtext]] to have it's content displayed on [[Special:Upload]]?
I ask because I encountered such a problem on a non-WMF wiki. Page [[MediaWiki:Uploadtext]] was created with a custom content, but [[Special:Upload]] remains intact, unchanged. This happened on Wargaming Wiki - http://wiki.wargaming.net Related pages: http://wiki.wargaming.net/en/Special:Upload http://wiki.wargaming.net/en/MediaWiki:Uploadtext
You'll need probably to create an account there to check this yourself. But you can see also this short video I've recorded, which is demonstrating the issue: http://www53.zippyshare.com/v/qSVnbq9c/file.html (I tried to attach it to a mail but there appeared problems with the size of mail+attachment).
Can someone tell me what's wrong here and how it can be debugged?
Thank you in advance.
Dan
Hi,
yep, simply edit the Message and it should work. However, if you take a look at your Special:Upload page with the ?uselang=qqx parameter amended to the URL, you'll see, that the div, that should contain the uploadtext (with the id uploadtext, directly under the Upload summary) looks like:
<div id="uploadtext" class="b-upload-text"><p>(uploadfile_text: )</p></div>
So, unfortunately, your MediaWiki installation uses the interface message uploadfile_text instead of uploadtext. You should check, why, e.g. because you changed something in the source code of MediaWiki, or an extension is misconfigured or does something else weird, which would result into this. First you should check the file includes/specials/SpecialUpload.php somewhere near line 270, there should be something like: $this->msg( 'uploadtext', array( $this->mDesiredDestName ) )->parseAsBlock().
Is this line there?
However, in a clean MediaWiki installation it should work.
I looked at the page from my mobile phone, so I probably oversee something :D
Best, Florian
-----Original Message----- Date: Mon, 21 Nov 2016 20:41:09 +0100 Subject: [MediaWiki-l] Special:Upload & MediaWiki:Uploadtext From: Dan dan15i@yahoo.com To: "mediawiki-l@lists.wikimedia.org" mediawiki-l@lists.wikimedia.org
Hi.
Is it enough just to create the page [[MediaWiki:Uploadtext]] to have it's content displayed on [[Special:Upload]]?
I ask because I encountered such a problem on a non-WMF wiki. Page [[MediaWiki:Uploadtext]] was created with a custom content, but [[Special:Upload]] remains intact, unchanged. This happened on Wargaming Wiki - http://wiki.wargaming.net Related pages: http://wiki.wargaming.net/en/Special:Upload http://wiki.wargaming.net/en/MediaWiki:Uploadtext
You'll need probably to create an account there to check this yourself. But you can see also this short video I've recorded, which is demonstrating the issue: http://www53.zippyshare.com/v/qSVnbq9c/file.html (I tried to attach it to a mail but there appeared problems with the size of mail+attachment).
Can someone tell me what's wrong here and how it can be debugged?
Thank you in advance.
Dan
_______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org