Page MenuHomePhabricator

Special:Translate doesn't degrade gracefully for non js users
Closed, ResolvedPublic

Description

The Special:Translate page doesn't work for older browsers who we do not support JavaScript for. If we decide not to support it we should at least inform the user rather than giving a broken experience.

This currently impacts mobile users who by default also run in non JavaScript mode (see parent bug)

Event Timeline

Jdlrobson raised the priority of this task from to Medium.
Jdlrobson updated the task description. (Show Details)

Why not redirect them to the non-TUX interface, as long as we have it?

Because it would violate the policy of maintaining deprecated interface. We wont have it for long in any case.

I have added a message that JavaScript is required.

I am hoping to do very minimal non-JS version in the far away future.

@Jdlrobson is this fix enough to resolve the task? If not this bug should be retitled (or better yet new bug created for creating non-JS light version).

I'm not seeing any message on https://m.mediawiki.org/wiki/Special:Translate so not sure to test.

I expect a message saying "Special:Translate requires the desktop version." would be okay
Another short term fix is all that's needed a redirect forced via wgMFNoMobilePages[] = "Special:Translate" may suffice (see (T102922))

I was thinking of this bug as actually making the page work on a mobile optimised screen, so feel free to retitle.

I expect a message saying "Special:Translate requires the desktop version." would be okay

But why would it? Special:Translate works perfectly in most browsers.

I attempted to translate some English translations to French.

The JavaScript loads but I must point out that the language selector is inaccessible due to the overlay being created off the screen. This means I couldn't complete the task I set out to do.

Great progress but I would suggest fixing this before closing this task as being able to switch language is essential to translate.

Screenshot_20160923-072339.png (1×1 px, 179 KB)

Also if I use opera mini or ie8 (browsers where we do not run JavaScript) it still doesn't degrade nicely or show an error message.

Screenshot_20160923-072942.png (1×1 px, 125 KB)

Also if I use opera mini or ie8 (browsers where we do not run JavaScript) it still doesn't degrade nicely or show an error message.

It should now show an error message.

Nikerabbit claimed this task.

The JavaScript loads but I must point out that the language selector is inaccessible due to the overlay being created off the screen. This means I couldn't complete the task I set out to do.

This is tracked in T161957: Universal Language selector does not have responsive design (mobile styles for jquery.uls unmaintained). Issue is relevant, but outside the scope of this task.