Page MenuHomePhabricator

Clicking on the "+" with JavaScript disabled links to the category's corresponding main namespace page
Closed, ResolvedPublic

Description

Author: brianna.laugher

Description:
I noticed today when I have JavaScript disabled, browsing categories at Commons: clicking on the "+" to expand subcategories, follows a link to a main namespace page of the same name as the category that I was trying to expand.

Perhaps this intended behaviour; it seems kinda unexpected. I would guess is JavaScript was not enabled the "+" link should not appear at all?

thanks.


Version: unspecified
Severity: minor

Details

Reference
bz13680

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:02 PM
bzimport set Reference to bz13680.
bzimport added a subscriber: Unknown Object (MLST).

I don't know how you got that behavior -- the link always pointed to "#", i.e. "the top of the page you are currently viewing".

The bahavior has now been changed in r36773 so that the [+] always links to the category. Hiding it in case JS is not enabled would only work by hiding it per default, and dynamically showing it if JS is enabled. Which may cause layout flickering, etc. Also, without the [+] and JS turned off, it would become a plain link, which may be confusing (tree? what tree?).

Marking this as fixed. If the new behavior seems wrong to you, please file a new bug report.