https://bugzilla.wikimedia.org/show_bug.cgi?id=72068

            Bug ID: 72068
           Summary: empty Flow board has bad link to start a new topic
                    without JavaScript enabled
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Flow
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]
       Web browser: ---
   Mobile Platform: ---

Disable JavaScript and visit an empty Flow board, e.g.
http://ee-flow.wmflabs.org/wiki/User_talk:EmptyUserTalkPageC

The _Start a new topic_ input field is a link.  It's supposed to take you to
the Flow page with ?action=new-topic, showing a form to enter a topic and its
first comment.  But on a brand-new board, the href parameter to the link is
blank, so clicking it just redisplays the current page.  It seems in
flow_block_topiclist.handlebars,
    href="{{links.newtopic}}">
is empty if the board is brand new.

Once the board has a header or a first topic, the no-JS href is there.
Compare http://ee-flow.wmflabs.org/wiki/User_talk:EmptyUserTalkPageA and
...EmptyUserTalkPageB.

The board could be smart enough in no-JS mode to detect "I have no topics to
show, so I can show an expanded new-topic form in-place."

This seems low-priority while the Flow team manually enables each Flow board,
ensuring each has some content.

See also bug 72064, another bug with no-JS new topic.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to