Reading/Web/Desktop Improvements/Features/Page tools

One of the main goals of the desktop improvements project is to make it easier for users to intuitively use all the links and tools within our interfaces.

Currently, our interface does not distinguish between the links and tools that are relevant to the website and the links and tools that are relevant to the page itself. Main page, random page, recent changes, are in the first group. What links here, related changes, cite this page, belong to the second one. This mix is confusing to new readers. Also new editors are not familiar with what each link does. Mixing these groups makes it significantly less likely for people to explore these tools naturally.

Background and Goals
We would like to revisit the way we display our page tools in order to:


 * Make it easier to distinguish which tools are for the individual page and which are for the entire website
 * Make it easier to understand what the purpose of each link intuitively, without having to interact with it
 * Continue providing persistent access to these tools

Our previous testing with the table of contents highlighted the importance of our tools and the significance of persistent menus. When designing this feature, we were focused on ensuring access was easy for those who needed it. It was also important not to make it preventing or intruding upon the reading experience.

Use Cases

 * As a reader or editor, I want to quickly distinguish between page tools and global tools so that I can better understand the structure of the page
 * As a reader or editor, I want quick access to page tools and global tools so that I don’t spent a lot of time finding the tool I need
 * As a reader or editor, I want the ability to select which tools I want to see all the time, so that my experience is catered to my needs

Feature description and requirements

 * 1) A new menu is created that contains the only the page tools
 * 2) The new menu is located in a place more intuitive for the page tools, making a visual link between the location of the links and their purpose
 * 3) People have the option of making the global tools or page tools persistent to fit their reading or editing needs
 * 4) The global tools and page tool menus are available persistently by default for logged-in users
 * 5) The global tools and page tools are not available persistently by default for anonymous users

Research & Design
One of the changes we’re most excited about is moving the table of contents to the side of the page, and making it sticky so that it’s available while you scroll down the page. We’ve learned through research and testing that this change will benefit people by allowing them to get an overview of the page as soon as they land on it, and will help them navigate the page more easily throughout their reading experience.

The majority of the feedback was positive. Most community members like the new location and functionality of the table of contents, and support the change overall. As with most changes to the interface, moving the table of contents comes with some challenges. The main challenge community members raised was: where should we put the sidebar menu, which is currently located in the space that we’re moving the table of contents to? Below we explain our proposal for addressing this challenge, which will also be the subject of our next round of prototype testing.

Our short-term solution
As a short term solution the entire sidebar will remain available in its current location, will remain collapsible, and the state (i.e. open vs. collapsed) of the sidebar will continue to persist between pages (so if you open it, it will stay open as you navigate around the site). What will change is: when it is open, it will push the table of contents down the page. Here is a screen recording of how it will work:



We don’t think this is the optimal solution, it is more like a quick fix that will allow us to release the table of contents and keep moving forward. And we understand how this might feel like a step backwards to some, because the table of contents is now further down the page than it was previously. But don’t worry — we too think we can do better. Below is our proposal for a long-term solution.

Our proposal
A few things we learned from recent community feedback, and from data collection, are informing our proposal:


 * 1) Most editors like the new location of the table of contents
 * 2) For some editors it is important to have page tools (e.g. What links here, Related changes, Wikidata item, etc.) available as soon as they land on a page
 * 3) Most of the global navigation items in the main menu (e.g. Current events, Contents, etc.) are used infrequently
 * 4) Some editors have large screens and would like the interface to make better use of the space on the far side of the page

Additionally, something that we’ve been trying to accomplish throughout this project is moving things into logical places. We think it makes sense for all of the page tools to be in one area, rather than the current situation where some of them are in the sidebar and others are in the toolbar above the content of the page.

There are two main parts of our proposal:

Here is a visualization of those two parts:
 * 1) Splitting the sidebar into two menus: a main menu with global links, and an page tools menu with page-specific links
 * 2) Moving the page tools to the far side of the page, so that they are near the other page tools (History, Edit, Move, etc.)

Step 1: Splitting into two menus



Step 2: Moving page tools



The updated interface would look something like this:



Here is a screen recordings showing some of the possible configurations of the updated interface:



Prototype testing with editors
In December 2021, we ran prototype testing of our table of contents across 30 wikis. The results of this prototype testing were crucial to the development of the page tools menu. Please see the results of our ToC prototype testing and our ideas for next steps for details.

In April 2022 we tested a prototype where the page tools were separated from the main menu, and moved to the opposite side of the page. The prototype also placed the page title above the page toolbar.

Feedback summary:


 * We received feedback from 244 editors in over 15 different languages.
 * ✅ The majority of people support separating the page tools from the main menu, and moving them to the opposite side of the page
 * ✅ The majority of people support moving the page title above the page toolbar
 * ⚖️ The feedback was split pretty evenly between the two menus being open vs. closed by default
 * 😀 Many people mentioned how much they like having the table of contents on the side of the page, and available as they scroll down the page
 * The most detailed feedback was regarding the behavior for hiding and showing the main menu, table of contents, and tools menu. The main points were:
 * When you hide a menu it should hide completely (without having to click a second time)
 * When you hide a menu it should be more obvious where it has gone
 * The hamburger menu icon should disappear when the main menu is moved to the sidebar
 * The labels for hiding/moving the menus should be better (or use icons instead)
 * The tools menu, if it has been moved to the sidebar, should remain visible as you scroll down the page
 * The tools menu, table of contents, and main menu should hide automatically when the screen gets narrow
 * You should be able to collapse the table of contents manually, at any screen size

We've attempted to address all of the points above in this updated prototype. Keep in mind that the prototype is not perfect. Hopefully it is sufficient to communicate the main ideas.


 * Deutsch: https://di-collapsible-menus.web.app/Erde?de
 * English: https://di-collapsible-menus.web.app/Earth
 * Nederlands: https://di-collapsible-menus.web.app/Aarde_(planeet)?nl
 * Tiếng Việt: https://di-collapsible-menus.web.app/Tr%C3%A1i_%C4%90%E1%BA%A5t?vi
 * Español: https://di-collapsible-menus.web.app/Tierra?es
 * Français: https://di-collapsible-menus.web.app/Terre?fr
 * Italiano: https://di-collapsible-menus.web.app/Terra?it
 * Polski: https://di-collapsible-menus.web.app/Ziemia?pl
 * Svenska: https://di-collapsible-menus.web.app/Jorden?sv
 * Pусский: https://di-collapsible-menus.web.app/%D0%97%D0%B5%D0%BC%D0%BB%D1%8F?ru
 * Yкраїнська: https://di-collapsible-menus.web.app/%D0%97%D0%B5%D0%BC%D0%BB%D1%8F?uk
 * فارسی: https://di-collapsible-menus.web.app/%D8%B2%D9%85%DB%8C%D9%86?fa
 * 中文: https://di-collapsible-menus.web.app/%E5%9C%B0%E7%90%83?zh
 * 日本語: https://di-collapsible-menus.web.app/%E5%9C%B0%E7%90%83?ja

See also the updated prototype: https://vector-2022.web.app/Moth