Is this Wikibase API warning an issue already?

35 views
Skip to first unread message

Thad Guidry

unread,
Mar 25, 2021, 10:02:49 PM3/25/21
to openr...@googlegroups.com
20:52:51.558 [                   refine] GET /command/wikidata/login (3252ms)
20:52:51.562 [                   refine] POST /command/core/get-all-preferences (4ms)
20:53:02.624 [           ProjectManager] Saving some modified projects ... (11062ms)
20:53:02.634 [        project_utilities] Saved project '1672151465617' (10ms)
20:53:13.097 [                   refine] GET /command/core/get-csrf-token (10463ms)
20:53:13.108 [                   refine] POST /command/wikidata/login (11ms)
20:53:15.162 [..kibaseapi.ApiConnection] API warning [main]: Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes. Use [[Special:ApiFeatureUsage]] to see usage of deprecated features by your application. (2054ms)
20:53:15.163 [..kibaseapi.ApiConnection] API warning [login]: Main-account login via "action=login" is deprecated and may stop working without warning. To continue login with "action=login", see [[Special:BotPasswords]]. To safely continue using main-account login, see "action=clientlogin". (1ms)
20:53:15.168 [                   refine] GET /command/core/get-csrf-token (5ms)
20:53:15.173 [                   refine] POST /command/wikidata/preview-wikibase-schema (5ms)

Using 3.4.1 win-with-java and was trying to help someone by trying to reproduce an issue someone is having uploading edits to Wikidata and noticed this after login dialog.

Owen Stephens

unread,
Mar 26, 2021, 11:00:17 AM3/26/21
to OpenRefine
Hey Thad,

I think the warning is down to using a normal login for Wikidata. The recommendation is to use a BotPassword instead - there are details on how to set this up in the new documentation (thanks Allanna) https://docs.openrefine.org/manual/wikidata#manage-wikidata-account

Hopefully switching to a bot password will resolve the warning

Owen

Thad Guidry

unread,
Mar 26, 2021, 11:27:25 AM3/26/21
to openr...@googlegroups.com
Do we support OAuth yet?

I noticed this on the provided link to here https://www.wikidata.org/wiki/Special:BotPasswords ...
Note: OAuth is more secure than bot passwords and should be preferred whenever the bot supports it.
--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/openrefine/6b3e428d-8e51-44ac-9886-5b261d18a1c0n%40googlegroups.com.

Thad Guidry

unread,
Mar 26, 2021, 11:31:28 AM3/26/21
to openr...@googlegroups.com
And secondly... when I am creating the bot account... is the High-volume editing rights necessary?  I assume so, since it seems to support "Mark rolled-back edits as bot edits (markbotedits)" ?

Owen Stephens

unread,
Mar 26, 2021, 11:31:32 AM3/26/21
to OpenRefine
On Friday, March 26, 2021 at 3:27:25 PM UTC thadg...@gmail.com wrote:
Do we support OAuth yet?

I believe this will be available from OpenRefine 3.5 onwards 

Owen 

Owen Stephens

unread,
Mar 26, 2021, 11:33:41 AM3/26/21
to OpenRefine
On Friday, March 26, 2021 at 3:31:28 PM UTC thadg...@gmail.com wrote:
And secondly... when I am creating the bot account... is the High-volume editing rights necessary?  I assume so, since it seems to support "Mark rolled-back edits as bot edits (markbotedits)" ?


Recommended rights to grant 
  • High-volume editing
  • Edit existing pages
  • Create, edit, and move pages
(these are listed in the  documentation at https://docs.openrefine.org/manual/wikidata#manage-wikidata-account)
 

Thad Guidry

unread,
Mar 26, 2021, 12:13:21 PM3/26/21
to openr...@googlegroups.com
Excellent!

I've also proposed an improved Login flow that is probably an easy fix for someone that knows Javascript.

--
You received this message because you are subscribed to the Google Groups "OpenRefine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrefine+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages