this program is showing up on special:version but it does not currently show up on the page, any help please?
Jump to navigation Jump to search
Reply to "does not work with mediawiki 1.33"
Reply to "Error: Request failed and Error: -200"
Reply to "setting up MediaWiki on new server"
Reply to "Images don't get added to a category"
Reply to ""Insert all as gallery""
Add following lines to your
Reply to "Uploads fail, "Error: -200, Message: HTTP Error.""
Reply to "Insert links don't work after MW upgrade"
Reply to "msupload don't work with wysiwyg"
Reply to "MsUpload is asking me to rename the files to upload"
About this board
This board is for discussion about MsUpload. Don't forget that you can also report issues relating to this extension on Phabricator, at #mediawiki-extensions-msupload.
does not work with mediawiki 1.33
Is your wiki public? Can you post a link to it?
Can this work with the Visual Editor?
The wikieditor is not bad but I prefer using the VisualEditor. Is it possible to use this extension in conjunction with it?
Not really, and there're no plans for it, for now.
Though in reality the functionality is not working as intended so I have filed a ticket here: https://phabricator.wikimedia.org/T208631
If you or any other devs on the MsUpload project would have some insight on fixing this issue that would be much appreciated I'm sure. Though I'm pretty clueless on this stuff so maybe it's not something people care about on the visual editor etc
Modifying MsUpload to work with the Visual Editor would require huge changes. It seems to me that the best way forward would be to fix the Visual Editor bug. The first ticket you linked had an amazingly positive response, so don't lose hope on the second one just yet!
Error: Request failed and Error: -200
I am using mediawiki 1.24.2 and MsUpload 10
When I drop an image into the drop area I see "Error: Request failed. undefined" Then, when I press "Click here to upload file" I get "Error: -200, Message: HTTP Error., File: bla.png"
I run a wiki farm with a shared code base, so there is some fiddling and rewriting with urls, maybe this is the problem. But, what do these messages actually mean - where can I look?
Also seeing the same thing myself. I haven't been able to debug the issue yet, did you uncover anything?
I have the same problem. I enabled all kinds of debug and error logging but the upload still fails with a http error 500 with the uploader displaying the above error code. No error is logged, not even some debugging information. I have also replaced Plupload with the most current version without success.
MediaWiki 1.23.6 PHP 5.3.26 (cgi-fcgi) MySQL 5.6.19-67.0-log
i have the same problem but when i clicked upload a long error apears . and when i go to upload file page , my file which get error , exists . i use link of my file to insert to my article .
also uninstall extension and update database dont work
what can i do so ?
Someone knows how to fix it?
I've found that this error occurs when using MSUpload for users, but not for bureaucrats or administrators. Users have upload permissions and can use the traditional upload process and the one in WikiEditor. I don't know how to fix it, but it's got something to do with a permissions check.
php_admin_value post_max_size 20M
php_admin_value upload_max_filesize 10M
php_admin_value max_input_time 1200
php_admin_value max_execution_time 1200
'webm' is included to $wgFileExtensions array at LocalSettings.php
$wgEnableUploads = true;
$wgGroupPermissions['user']['upload'] = true;
Uploader user account is member of: bureaucrat,interface-admin,sysop
Just when I select 8MiB file to upload:
Error: Request failed
Anyway I press "Upload this file" and upload begins. When percent inficator it reaches near 99%:
Error -200, HTTP Error., File: MyVideo.webm
Nothing reported at apache_error.log and php_error.log
The main problem for me is lack of details about error, to allow debugging.
I've got different results depending on Internet upload bandwidth and usage. I suspect this may be due to a bad upload stream/packets management by script, because other CMS' uploader scripts aren't giving me this problem with big files.
I have exactly the same issue (I had installed the extension today). After dragging a small jpg file to the editor area I get 'Error: Request failed' and after pressing 'Upload this file' I get 'Error -200, HTTP Error., File: 2FactorError1.JPG'. Does anybody know how to resolve this issue? (Uploading the file via the special page is working).
This is how I resolved the issue:
- open developer tools in Chrome browser => in log there was an HTTP error with a call to <WIKIROOT>/api.php
- on server add the following lines in LocalSettings.php
error_reporting( -1 );
ini_set( 'display_errors', 1 );
- make a call in browser with URL <WIKIROOT>/api.php => shows error that bcmath for PHP was missing
- installing bcmath on server and restart Apache
- everything fine and Msupload works :-)
setting up MediaWiki on new server
I setup new instance of MediaWiki server on Linux. And copied all files and imported db file to this server. It was working.
Now today when I did the same I get following error:
[7f7385fdb49e4ad3c6e80aa1] /index.php/Main_Page MWException from line 187 of /opt/bitnami/mediawiki/includes/MagicWord.php: Error: invalid magic word 'idisplay'
#0 /opt/bitnami/mediawiki/includes/MagicWordFactory.php(222): MagicWord->load(string)
#1 /opt/bitnami/mediawiki/includes/parser/Parser.php(4958): MagicWordFactory->get(string)
#2 /bitnami/mediawiki/extensions/iDisplay/iDisplay.php(25): Parser->setFunctionHook(string, string)
#3 /opt/bitnami/mediawiki/includes/Hooks.php(174): idisplay_Setup(Parser)
#4 /opt/bitnami/mediawiki/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#5 /opt/bitnami/mediawiki/includes/parser/Parser.php(384): Hooks::run(string, array)
#6 /opt/bitnami/mediawiki/includes/cache/MessageCache.php(1210): Parser->firstCallInit()
#7 /opt/bitnami/mediawiki/includes/cache/MessageCache.php(1186): MessageCache->getParser()
#8 /opt/bitnami/mediawiki/includes/Message.php(1291): MessageCache->transform(string, boolean, LanguageEn, Title)
#9 /opt/bitnami/mediawiki/includes/Message.php(895): Message->transformText(string)
#10 /opt/bitnami/mediawiki/includes/Message.php(955): Message->toString(string)
#11 /opt/bitnami/mediawiki/includes/OutputPage.php(902): Message->text()
#12 /opt/bitnami/mediawiki/includes/OutputPage.php(951): OutputPage->setHTMLTitle(Message)
#13 /opt/bitnami/mediawiki/includes/page/Article.php(621): OutputPage->setPageTitle(string)
#14 /opt/bitnami/mediawiki/includes/actions/ViewAction.php(68): Article->view()
#15 /opt/bitnami/mediawiki/includes/MediaWiki.php(499): ViewAction->show()
#16 /opt/bitnami/mediawiki/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#17 /opt/bitnami/mediawiki/includes/MediaWiki.php(865): MediaWiki->performRequest()
#18 /opt/bitnami/mediawiki/includes/MediaWiki.php(515): MediaWiki->main()
#19 /opt/bitnami/mediawiki/index.php(42): MediaWiki->run()
Till now I was able to take a backup and recreate successfully in other server. But this error has terrorised me.
I try to put latest package of iDisplay extension. still same issue.
I am not absolutely sure why you are reporting the issue here for the MsUpload extension and not for the iDisplay extension. Anyways the latter has not been maintained for a while and no longer works. I recommend to uninstall it and use the "iframe" widget provided by the Widgets extension. This should make the issue go away - hopefully.
Images don't get added to a category
The MsUpload has been added to the wiki, and everything about uploading multiple files simultaneously works as advertised. However, images don't get automatically added to the category when editing a category and uploading files to it. What settings must be changed, if any, to enable this on the wiki?
The wiki in question (for the game [https://rimworldwiki.com RimWorld]) uses MediaWiki 1.31.0 ~~~~
Update: The admin managed to solve the issue with categorisation of images (it showed up as 12.0 before, and now it is 13.1), but another similar one has cropped up. When I upload an image that already exists, thus creating a new ''version'' instead of a new ''file'', the category is not added to the file itself. See for instance here for an example (that I manually fixed afterwards, see "View history"). The category is added to the file comments, but not the actual file (I hope that makes sense).
Is it possible to fix this by changing some settings, either related to the MsUpload extension, or more generally?
"Insert all as gallery"
Is it possible to adjust the "insert all as gallery"?
If I click on it there only appeares
Is it possible to adjust this setting? For example:
<gallery mode="packed" class="center centered" widths="200px" heights="180px"></gallery>
So if I click on it this comes out automatically?
Not at the moment, but feel free to open a feature request on Phabricator. I'm not sure how the interface could look for it.
One fix for this could be to change your wiki's default values for these options via $wgGalleryOptions.
Hello, I did enter a pull request last year on GitHub that adds these parameters.
It never got merged.
Sorry, your PR must have been overlooked! I've replied on Github.
Uploads fail, "Error: -200, Message: HTTP Error."
Whenever I try to upload a file (or multiple files), I get the same error every time:
Error: -200, Message: HTTP Error., File: ....
Add following lines to your
$wgEnableAPI = true; $wgEnableWriteAPI = true;
I am getting the same error while uploading a huge file through MS Upload. Have checked the file upload size limit as well and there is no issue there. The file being uploaded is within the upload capacity.
Also, the lines mentioned in the Solution above are present in Local Settings file. How can this be resolved?
I was struggling with this for a while. The problem was that I had allowed the @ symbol in user names, and I think that may have messed with the http request used my msupload on users' personal pages. I used the RenameUser extension to omit the end of the email addresses in the user names, no more error 200.
Insert links don't work after MW upgrade
We recently upgraded to 1.32.0 from 1.30 and the Insert link and Insert as image links no longer work. Clicking either generates the following in the console in Chrome:
Uncaught TypeError: Cannot read property 'insertTags' of undefined
at HTMLAnchorElement.<anonymous> (load.php?debug=false&lang=en&modules=ext.MsUpload|jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1gut54l:121)
at HTMLAnchorElement.dispatch (load.php?debug=false&lang=en&modules=ext.MsUpload|jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1gut54l:193)
at HTMLAnchorElement.elemData.handle (load.php?debug=false&lang=en&modules=ext.MsUpload|jquery%2Coojs-ui-core%2Coojs-ui-widgets|oojs-ui.styles.icons-editing-advanced&skin=vector&version=1gut54l:189)
We're running fairly vanilla with only ClipUpload, MsUpload, Widgets, and Iframe extensions added.
So did you DOWNGRADE to 1.30? If so, then maybe you can try checking out the 1.30 branch of MsUpload, with the following command:
cd extensions/MsUpload git checkout -b REL1_31 origin/REL1_31
msupload don't work with wysiwyg
I install wysiwyg first, and then msupload. but in the edit page, I can't find msupload icon.
in my other mediawiki, i don't install wysiwyg, msupload is ok.
my mediawikiwiki version is 1.31.
thanks for your help!
MsUpload is asking me to rename the files to upload
IMG_7096.MOV5.2 mbThe name of the file you are uploading begins with "IMG", which is a non-descriptive name typically assigned automatically by digital cameras. Please choose a more descriptive name for your file.
and upload button will not appear.
I am uploading files in a bulk, and there will be k of files, to be uploaded and so want to ignore this and upload with their original names.
How to enable ignore this warning and upload with whatever is the current names are.
The banned prefixes are defined in a wiki's MediaWiki:Filename-prefix-blacklist system message, so you can just edit that page on your wiki and it'll allow you to upload whatever you fancy.
How to locate this page?
I looked into SpecialPages: but could not find this page on my wiki. can you guide me to locate that?
I am able to access this using url
but it is not allowing me to edit it.
I opened an account in wiki translate. But not able to understand what is to be translated?
or what it means.
I get following message on https://localhost/index.php?title=MediaWiki:Filename-prefix-blacklist&action=edit
This page provides interface text for the software on this wiki, and is protected to prevent abuse. To add or change translations for all wikis, please use translatewiki.net, the MediaWiki localisation project.
You don't need to translate it on TranslateWiki, you just need to change it on your own wiki. To do that, you need to be logged in as an administrator (or a member of any user group with the editinterface right).
Let me know if this is right place:
I modified / commented out the same in $IP/languages/i18n/en.json file.
No, you shouldn't modify any file.
You had it right before: you need to edit https://localhost/index.php?title=MediaWiki:Filename-prefix-blacklist&action=edit and take out the lines that you don't want. That message about TranslateWiki is saying that if you want to change a translation for all wikis, then you need to go there; otherwise, if you're just changing it for the current wiki, you can edit that page directly.
But it is uneditable. Just allows me to view source and copy the source. Not edit.
Are you logged in as an administrator?
I created only one account that is me.