Page MenuHomePhabricator

WikiEditor and MobileFrontend seem to be incompatible - redirect to void
Open, Stalled, Needs TriagePublic0 Story Points

Description

Setup

  • MediaWiki 1.28.1 (819c0d2) 00:51, 7 April 2017
  • PHP 5.6.30-0+deb8u1 (apache2handler)
  • MariaDB 10.0.30-MariaDB-1~jessie
  • MobileFrontend 1.0.0 (a0c8024) 23:14, 25 October 2016
  • WikiEditor 0.5.0 (ff440d6) 23:21, 25 October 2016

Issue
When clicking on the edit button I get a message that a redirect to the editor is being done, however I end up at URL like this one. I am not sure if this issue was already present with MW 1.27.

Event Timeline

Kghbln created this task.Apr 11 2017, 3:39 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 11 2017, 3:39 PM
Kghbln updated the task description. (Show Details)Apr 11 2017, 3:39 PM
Jdlrobson assigned this task to Kghbln.EditedApr 11 2017, 4:10 PM
Jdlrobson added a project: Readers-Web-Backlog.
Jdlrobson added a subscriber: Jdlrobson.

This is probably a duplicate of T162708
If you enable $wgMFAllowNonJavaScriptEditing does the problem go away?

e.g. put this in LocalSettings.php

$wgMFAllowNonJavaScriptEditing = true;
Kghbln removed Kghbln as the assignee of this task.EditedApr 11 2017, 9:50 PM

This is probably a duplicate of T162708

I detected a circular reference here. ;)

If you enable $wgMFAllowNonJavaScriptEditing does the problem go away?
e.g. put this in LocalSettings.php

$wgMFAllowNonJavaScriptEditing = true;

It does already help a lot. I now get an edit screen which at least allows me to edit. However WikiEditor is still not loading for the edit fields:

I don't know much about WikiEditor but sounds like this is a different bug. Any WikiEditor experts reading?

I'm hoping the editing team can help here. Casual glance at https://phabricator.wikimedia.org/diffusion/EWED/browse/master/extension.json;364ac4a02b9c21cf5a8c2721829e8524e9bf50ab$50 suggests you might be able to add 'targets': ['mobile','desktop'] to all those Resources to get this to work on your local instance.

I'm hoping the editing team can help here.

This will be great. WikiEditor is still a preferred editor of power users I guess. Adding in my hopes too.

Jdforrester-WMF changed the task status from Open to Stalled.Apr 18 2017, 7:31 PM
Jdforrester-WMF set the point value for this task to 0.
Jdforrester-WMF added a subscriber: Jdforrester-WMF.

Wikimedia doesn't offer support for third party users beyond best efforts. Mobile use of WikiEditor is in particular not a supported target (we're replacing it after all). Can you say whether the hack Jon suggested worked?

Wikimedia doesn't offer support for third party users beyond best efforts

I could swear WikiEditor used to be installed on Wikipedias which were also bringing MobileFrontend. Glad this is is obviously no longer the case so this is indeed kinda non issue for Wikipedias and friends.

I do agree that serious editing is not possible with mobile devices no matter which editor one is using so this is indeed not a front burner thing.