Bug 356673 - MediaWiki export doesn't work
Summary: MediaWiki export doesn't work
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-MediaWiki (show other bugs)
Version: 4.14.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-14 11:56 UTC by Sergei S. Rublёv
Modified: 2018-01-30 21:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei S. Rublёv 2015-12-14 11:56:49 UTC
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
Comment 1 Rosenzweig 2016-01-02 23:53:06 UTC
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.
Comment 3 caulier.gilles 2016-01-12 05:43:33 UTC
Thanks to review this code...
Gilles Caulier
Comment 4 Peter Potrowl 2016-01-14 22:59:48 UTC
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.
Comment 5 caulier.gilles 2016-01-15 09:04:26 UTC
Thanks Peter for you fixes.

I close this file as fixed with 5.0.0. 

Gilles Caulier