I cannot upload any file to Wikimedia Commons with KIPI "Export to MediaWiki" plugin. In the past, this worked. From some time, this stopped working. Relatively long ago, several months. I tried this in several Linux installations, the same everywhere — this time in latest Fedora with latest updates. I pick a file, successfully login to Commons in the plugin, fill out forms. When I click "Upload", it starts "uploading", but eternally sticks at 0%, never upload. I have to interrupt this, and DigiKam status bar then sticks at "Aborting" (with 0%). Reproducible: Always Steps to Reproduce: 1. Pick a file, start the plugin, login to Commons 2. Fill out basical forms (maybe not all) 3. Press upload button Actual Results: No upload Expected Results: Upload to Commons
I can confirm that: Logging in to Wikimedia Commons does work, uploading files does not, in exactly the manner as described. My platform: OpenSuse 13.2 x86-64, RPMs are from the KDE Extra repository at http://download.opensuse.org/repositories/KDE:/Extra/openSUSE_13.2/x86_64/: digikam-4.14.0-56.2.x86_64.rpm , kipi-plugins-4.14.0-56.2.x86_64.rpm and a separate libmediawiki1-4.13.0-1.1.x86_64.rpm package specially built per https://bugzilla.suse.com/show_bug.cgi?id=960448, because apparently the digikam sources don't include libmediawiki anymore. Perhaps that is a part of the problem. If there any logs etc. I should supply, please let me know.
I'm working on it. NB: libmediawiki/tests/logintest.cpp is broken due to https://bugreports.qt.io/browse/QTBUG-44860 ; see https://quickgit.kde.org/?p=libmediawiki.git&a=blob&h=c3ba3071b87d425fa3cb1a4d00b1818666e3d737&hb=a5cd0eafef69d72f3454ebd8667e62a324ca7481&f=tests%2Flogintest.cpp
Thanks to review this code... Gilles Caulier
I compiled libmediawiki, digikam and kipi-plugins with KDE5. Login was broken and I fixed it with: * https://quickgit.kde.org/?p=libmediawiki.git&a=commit&h=891a230b40a48ecc2b924366d0e22bdbe4382245 Then, I was able to upload: * https://test.wikipedia.org/wiki/File:Saint-Vallier-gare-KDE5.jpg * https://test.wikipedia.org/wiki/File:Saint-Vallier-gare-KDE5b.jpg I'm not sure I addressed the issue described here, which concerns an earlier version of the code, but at least, it it working with the current Qt5/KDE5 code.
Thanks Peter for you fixes. I close this file as fixed with 5.0.0. Gilles Caulier