Reading/Web/Desktop Improvements/Features/Sticky Header/fa

به عنوان یکی از بخش‌های پروژه بهبودهای دسکتاپ، ابزارهای متداول را که قبلاً فقط در بالای صفحه در دسترس بوده‌اند را تغییر می‌دهیم. عملکرد جدید امکان دسترسی به این ابزارها را در سرتاسر صفحه از طریق سربرگ چسبنده یا ثابت فراهم می‌کند. هدف ما این است که دسترسی خوانندگان و ویراستاران را به این ابزارها آسان کنیم. ما متوجه شده‌ایم که در حال حاضر، کاربران اغلب نیاز دارند تا به بالای صفحه بروند.

پیش‌زمینه و اهداف
در حال حاضر، بسیاری از عملکردهای صفحات ویکی فقط برای کاربران در بالای صفحه و/یا در نوار سمت چپ صفحه در دسترس است. این امر در صفحات طولانی‌تر مشکل ساز می‌شود و وقتی که از چند پاراگراف اول عبور کنید، برای دسترسی دوباره به ابزارها باید دوباره به بالا برگردید. روش پیشنهادی ما برای پرداختن به این موضوع این است که وبگاه دارای یک سربرگ چسبنده باشد این بدان معناست که با بالا یا پایین رفتن صفحه، این سربرگ همواره در بالای صفحه (بالای محتوا) ثابت می‌ماند.

علاوه بر این، در حال حاضر جهت‌گیری بسیار کمی در صفحه به خوانندگان و مشارکت‌کنندگان خود ارائه می‌دهیم. این امر تمایز بین یک صفحه و صفحه دیگر را دشوار می‌کند.

هدف ما این است که:
 * هم عملکرد و هم محتوا را در سراسر صفحه ارائه دهیم.
 * مدت زمانی را که خوانندگان و ویراستاران برای پیمایش بالا و پایین صفحه برای ناوبری صرف می کنند، کاهش دهیم.

Use cases

 * As a reader, I want to know what article I’m reading at all times, so that I can easily orient myself within the site.
 * As an editor, I want the ability to access important functionality (e.g. edit, go the the history page or the talk page of the article) from anywhere in the page, so that I do not waste time when scrolling up.
 * As a multilingual reader, I want the ability to switch languages at any point of my reading, so that I can switch directly after I find a confusing word or sentence.

Feature description and requirements
A sticky/fixed header will appear at the top of the page once a user scrolls past the current header on the page.


 * For anonymous users, the header will contain the following:
 * Wiki logo
 * Search
 * Page name
 * Section name


 * For logged-in users, the header will contain the following:
 * Wiki logo
 * User tools menu (see user tools page)
 * Search
 * Page name
 * Section name
 * Link to talk page
 * Link to history page
 * Link to source and/or edit (following the preferences of the wikis itself)
 * Language switching functionality

The scrolling behavior of the header must adapt to the needs of logged-in users The header must be adaptable at lower screen resolutions (down to 500px)
 * Note: we are currently testing a variety of scrolling and triggering behavior including allowing the header to appear upon scrolling up the page and when switching tabs. We will also be exploring displaying the header in a persistent manner

نمونه اولیه
https://people.wikimedia.org/~jdrewniak/dip/p4.html#/en/wiki/Moon

کاربران ناشناس
Note: for the first iteration of the sticky header, the header will only be available for logged-in users

آزمایش کاربر
We performed user testing of the sticky header with readers and editors in three locations and languages with the goal of determining which functionality was highest priority in order to include within a sticky header. For the first iteration of the sticky header, we will be removing triggering behavior and making the sticky header persistent as per request of a number of the editors involved in the user testing. We will then evaluate the change once live. We also tested the usability of our current prototype.

The results of the test were used to iterate on the links available within the header as well as the triggering and persistent behavior of the header. See the full results of this test.

Prototype testing
In May 2021, we performed prototype testing with logged-in users across 30 wikis. The test was designed to gather feedback on the usability and functionality of the sticky header and user menu.

Our preliminary results show that an overwhelming majority of test participants reported positive experience with a sticky header. Participants mentioned they enjoyed the ability to access important functionality from any part of the page.

However, a large number of participants (~20%) indicated issues with the appearance of the sticky header itself. The majority of these participants indicated that they wished for the header to appear on the page permanently rather than by a variety of triggers. Some of the participants indicated that while they enjoyed the appearance of the header on trigger, they experienced issues with the header appearing/disappearing too quickly.

As next steps, we will be reviewing the triggers that allow the header to appear and disappear. We are also planning on further experimentation with the sticky header appearing persistently on the page. These changes will be expected to appear within the first iteration of the sticky header deployed to our pilot wikis.

آزمایش کمّی
We will be monitoring the before and after usage of the links included in the sticky header on our pilot wikis following our initial deployments. We expect to see a small but significant rise in access to some of these links, in particular, to the talk page and history page.

جستارهای وابسته

 * ابزار سربرگ چسبنده در ویکی‌پدیای انگلیسی
 * اسکریپت سربرگ چسبنده
 * اسکریپت سربرگ چسبنده
 * اسکریپت سربرگ چسبنده

My templates use sticky elements. How do I get them to work with the sticky header?
Add the `.mw-sticky-header-element` class to any elements that you want to stick to the bottom of the sticky header.