Extension:RevisionSlider/fa

This page is a translated version of the page Extension:RevisionSlider and the translation is 36% complete.
Outdated translations are marked like this.
راهنمای افزونهٔ مدیاویکی
RevisionSlider
وضعیت انتشار: پایدار
انجام رابط کاربری
توضیحات اضافه می شود یک لغزنده(اسلایدر) جهت نمایش نسخه های تاریخچه برای انتقال بهتر به نسخه های دیگر تفاوت
نویسنده(گان) Wikimedia Germany (WMDE)
سیاست سازگاری Snapshots releases along with MediaWiki. Master is not backward compatible.
MediaWiki 1.25+
تغییر پایگاه داده خیر
مجوز GNU General Public License 2.0 or later
بارگیری
Quarterly downloads 70 (Ranked 76th)
Public wikis using 957 (Ranked 262nd)
Translate the RevisionSlider extension if it is available at translatewiki.net
Issues Open tasks · گزارش یک مشکل

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

نصب

  • Download and move the extracted RevisionSlider folder to your extensions/ directory.
    Developers and code contributors should install the extension from Git instead, using:cd extensions/
    git clone https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
  • کد زیر را در انتهای $LocalSettings خودتان اضافه کنید:
    wfLoadExtension( 'RevisionSlider' );
    
  •   انجام شد – به Special:Version در ویکی خودتان بروید تا مطئمن شوید که افزونه با موفقیت نصب شده است.

کاربرد

 

ابزار RevisionSlider کمک می‌کند تا شما برای مقایسه و مرور نسخه راحت‌تر حرکت کنید.

 

Once expanded, the RevisionSlider fetches data about the revisions and allows you to navigate and compare revisions on the diff page.

 

هر میله نشان‌دهندهٔ یک ویرایش از این صفحه است.

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

 

برای مقایسه ویرایش‌ها، با استفاده از نشانگر زرد و آبی ویرایش‌ها را انتخاب کنید. اشاره گر آبی کنترل نسخه جدیدتر ، اشاره گر زرد به نسخه قدیمی تر.

There are several ways to do this:
  • You can drag and drop the knob to the desired position on the slider.
  • You can click on the desired position on the slider line.
To select the newer revision, click on the blue line, and for selecting the older revision, click on the yellow line. To indicate which revision you're about to select, a preview of a blue or yellow knob appears and the bar turns blue or yellow.
  • You can click into the bar above the middle line (to select the newer revision) or below the line (to select the older revision). This also gives you a preview of the knob on the middle line.

If you move the blue knob to a position left of the yellow knob, the yellow knob is automatically moved along, and vice versa if you move the yellow knob to a position right of the blue knob.

 

استفاده از فلش رو به عقب و جلو به طول تاریخ تجدید نظر حرکت و نشان می دهد نسخه های قدیمی تر و جدیدتر.

Opt-out

If you are not using the RevisionSlider at all and also don't want to see the collapsed RevisionSlider bar at the top of the diff page, you can opt-out by checking "لغزنده نسخه‌ها را نمایش نده" in your preferences under "نمایش صفحه" → "تفاوت‌ها".

Technical Background

JavaScript Hooks

The RevisionSlider uses AJAX to reload the diff page when new revisions are selected. Once the page has been reloaded both the wikipage.content and wikipage.diff hooks are fired. If user JavaScript or extension JavaScript acts on the diff page you may need to listen to these hooks.

Examples

API calls & fetching data

Unless expanded, the tool is not doing any API calls. Only when the user expands the slider, it fetches data about revisions (revision-id, timestamp, user, comment, size and flags). The tool only fetches data for revisions that are currently visible on the screen (maximum 500 revisions) and data about additional revisions is only loaded when the user navigates back or forth on the timeline using the arrows.

پیشینه

ابزار RevisionSlider[1] یکی از ویژگی های را به انجام برسانند یکی از خواسته های بالای لیست علاقه مندی های آلمان جامعه است[2] و توسعه یافته توسط تیم WMDE's TCB . این است که توسط الهام DerHexer's revisionjumper ابزار و بر اساس a prototype توسط WMF انجمن تیم فنی.

Notes (for rather technical audience) on RTL issues discovered while developing the extension have been published on the separate subpage.

منابع