Page MenuHomePhabricator

unable to create topic without Javascript enabled
Closed, ResolvedPublic

Description

In Firefox, in about:config, switch javascript:enabled to false

Visit http://en.wikipedia.beta.wmflabs.org/w/index.php?title=Talk:Flow_QA&action=new-topic

User with no javascript can type a Flow title, but can not type a Flow body or save a Flow topic

This is a regression problem, see https://gerrit.wikimedia.org/r/#/c/163993/


Version: unspecified
Severity: major

Details

Reference
bz72064

Related Objects

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:54 AM
bzimport set Reference to bz72064.
bzimport added a subscriber: Unknown Object (MLST).

Gerrit 156489 deliberately set the needed textarea and buttons in flow_newtopic_form to style="display:none" in order to "Avoid flash of unstyled content on new topic form." JS then makes them visible on click.

On the standalone new-topic page both JS and no-JS should simply show the entire form from the start.

An alternative is to use the client-{,no}js classes to control display, but that would mean doing useless JS work and would have to tweak to avoid the FOUC flash. See https://www.mediawiki.org/wiki/Manual:Coding_conventions/CSS#client-js_and_client-nojs

Possible fix in gerrit 163993

Bug 72068 is another bug with no-JS new topic.

I mean possible fix is in gerrit 166711