Page MenuHomePhabricator

Add miraheze support for Pywikibot
Open, LowestPublic

Description

Pywikibot added Orain as a test site for OAuth and general regression testing: T104568: Add Orain support for Pywikibot
Orain fell over: T112869: Travis testing using test.orain.org is not possible

Looking to use http://miraheze.org instead.

They have a test wiki , and it has Oauth installed. https://publictestwiki.com/wiki/Special:Version
(https://test.miraheze.org/ redirects to https://publictestwiki.com/)

Steps involved:

  • determine which oauth permissions are desirable for the oauth test account (the permissions granted for orain isnt recorded anywhere, afaics)
  • miraheze community approval after discussion at https://publictestwiki.com/wiki/TestWiki:Community_portal and/or https://publictestwiki.com/wiki/TestWiki:Request_permissions
  • create a developer testing account (such as JVbot-test) on the test wiki with oauth credentials and agreed upon oauth permissions
  • developer testing to ensure the test suite works with the agreed upon oauth permissions (and fix any bugs)
  • create the official test account pywikibot-test on the test wiki with oauth credentials and agreed upon oauth permissions
  • store the oauth credentials in the Travis-CI secure environment variables for rep wikimedia/pywikibot
  • add miraheze test wiki to the Travis-CI build matrix

Event Timeline

jayvdb created this task.Oct 13 2015, 7:43 AM
jayvdb assigned this task to revi.
jayvdb raised the priority of this task from to Low.
jayvdb updated the task description. (Show Details)
jayvdb added projects: Pywikibot, Pywikibot-tests.
jayvdb added subscribers: jayvdb, gerritbot, Aklapper and 2 others.
jayvdb updated the task description. (Show Details)Mar 16 2016, 2:40 AM
jayvdb updated the task description. (Show Details)Mar 16 2016, 2:42 AM
jayvdb updated the task description. (Show Details)
jayvdb added a subscriber: NDKilla.
jayvdb removed a subscriber: gerritbot.Mar 16 2016, 2:44 AM
jayvdb updated the task description. (Show Details)Mar 16 2016, 2:53 AM
jayvdb added a subscriber: VcamX.

@VcamX, do you remember which Oauth permissions were needed for test.orain.org ?

Perhaps the test suite should log which oauth permissions are granted to the test account, so in future we can refer to old logs to determine this setting, and it would be helpful to have for debugging also.

jayvdb updated the task description. (Show Details)Mar 16 2016, 3:00 AM
VcamX added a comment.Mar 18 2016, 1:19 AM

@jayvdb I think it's the same as T101682

Applicable grants: High-volume editing, Edit existing pages, Make changes to pages, View your watchlist, Edit your watchlist

AbdealiJK moved this task from Backlog to Upstream on the Pywikibot-tests board.May 5 2016, 3:51 AM

Please note that the community consensus part can be considered done per: https://test.miraheze.org/wiki/TestWiki:Community_portal#Pywikibot_official_community_approval. We don't have much of a community, since most people are just there to test, and don't systematically check the wiki, but I think the unilateral support yet can be enough to at least start testing.

@jayvdb It is now up to you to start testing it (OAuth) out. If you have any questions or need me for anything please tell me.

revi added a comment.Dec 3 2017, 1:05 PM

I was going to start this by creating a OAuth consumer for this (finally after 2 years) but I need few things: "Applicable projects" and "OAuth Callback URL".

I'm assuming Applicable project would be publictestwiki, just reconfirming.

Restricted Application added a project: User-revi. · View Herald TranscriptDec 3 2017, 1:05 PM
revi updated the task description. (Show Details)Dec 3 2017, 1:05 PM
revi moved this task from Incoming to Doing on the User-revi board.
revi removed a subscriber: JohnLewis.

@revi Yes, I'd say publictestwiki.

Xqt removed revi as the assignee of this task.May 17 2018, 10:40 AM
Xqt lowered the priority of this task from Low to Lowest.
revi claimed this task.May 17 2018, 10:45 AM
revi removed revi as the assignee of this task.Jul 4 2018, 3:25 PM
revi moved this task from Doing to Radar on the User-revi board.
Dvorapa updated the task description. (Show Details)Jul 4 2018, 3:48 PM