Created attachment 142788 [details] screenshot systeminformation SUMMARY Error when uploading an image to WikiMedia Commons: " The "token-parameter" must be set." STEPS TO REPRODUCE 1. Activate the export-Plugin mediawiki-export in digikam 7.3 or 7.2 2. write the username and passwort and login 3. Upload the picture OBSERVED RESULT The upload will start, but crashs with the error: The "token"-prameter must be set. . EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Hi, Can you run digiKam from a console with previously to define a debug env. variable as explained here : https://www.digikam.org/contribute/ Thanks in advance Gilles Caulier
*** Bug 446931 has been marked as a duplicate of this bug. ***
Gilles, do we have a login / access to WikiMedia to test and fix it? Maik
Maik, On the test suite, there are plenty of unit-tests to check all mediawiki feature. If i remember a test run a dumy local server to verify communication. But when i tested this plugin in the past, i always used my wikipedia account, just to be sure... Gilles
Created attachment 146336 [details] Loggin while trying the mediawikiuploader the result of the debugging while trying to upload an pic to mediawiki with the mediawikiuploader
Created attachment 146338 [details] screenshot of the bug
This is just a guess: It might have something to do with old MediaWiki API parameters that were deprecated years ago and finally removed in October 2021. See https://www.mediawiki.org/wiki/MediaWiki_1.37/Deprecation_of_legacy_API_token_parameters
See also under: https://commons.wikimedia.org/wiki/Commons_talk:KIPI_uploader#Token_parameter_error_with_Digikam_on_Windows_10
Git commit e6d18640f421a34a2942e13f2e681099156aa401 by Maik Qualmann. Committed on 25/05/2022 at 18:44. Pushed by mqualmann into branch 'qt5-maintenance'. fix MediaWiki deprecated API calls inprop=readable must be ported soon. FIXED-IN: 7.7.0 M +2 -1 NEWS M +1 -1 core/dplugins/generic/webservices/mediawiki/backend/mediawiki_edit.cpp M +5 -2 core/dplugins/generic/webservices/mediawiki/backend/mediawiki_queryinfo.cpp M +1 -1 core/dplugins/generic/webservices/mediawiki/backend/mediawiki_upload.cpp https://invent.kde.org/graphics/digikam/commit/e6d18640f421a34a2942e13f2e681099156aa401
Git commit 1614ee28e73062854d0af740579d03555e7ff05c by Maik Qualmann. Committed on 26/05/2022 at 10:43. Pushed by mqualmann into branch 'qt5-maintenance'. fix MediaWiki deprecated parameter inprop=readable M +9 -5 core/dplugins/generic/webservices/mediawiki/backend/mediawiki_queryinfo.cpp https://invent.kde.org/graphics/digikam/commit/1614ee28e73062854d0af740579d03555e7ff05c