مرسته:توپير

From mediawiki.org
This page is a translated version of the page Help:Diff and the translation is 58% complete.
PD یادونه: کله چې تاسې دا مخ سموۍ، تاسې دا هم منئ چې خپلې ونډې به د CC0 شرطونو سره سم خپروئ. د نورو مالوماتو لپاره د ټولگړي شپول لارښود مخونه وگورئ. PD
توپير (د انګليسي د  difference لنډيز دی)چې د یوې پاڼې د دوو بیاکتنو ترمنځ بدلونونه ښکاره کوي.

توپيرونه په مېډياويکي ويکيګانو کې د نيوګېشن او منځپانګې اساسي برخه ده.

د ويکي ايکوسيستم بېلابېلې نسخې لري، توپيرونه دا ټاکي چې د مېډياويکي کومه وسيله نصب او وکارول شي.

کله او ولې توپيرونو وکاروو؟

د توپیر کارولو اصلي دلیل دا دی چې ستاسو يا د بل چا په وسيله جوړې شوې پاڼې د ځانګړي بدلون بیاکتنه وکړي. د دې کارولو لپاره ډېر احتمالي دليلونه شته:

  • د ورانکارۍ موندلو کې مرسته وکړي.
  • د دې معلومولو لپاره چې کله یوه برخه، جمله یا کلمه اضافه یا لرې شوه
  • د دې لپاره چې څرګنده شي کوم سمونګر یو ځانګړی بدلون کړی
  • د نورو کړنو د پیل ټکي په توګه لکه څنګه چې د توپير په توګه سمول, ناکړ, او نور کړنې او همدارنګه د سمونګر کارن او د خبرو پاڼو ته لینکونه ورکړل شي.

د توپیر تګلاره څه ده؟

ترټولو ساده لار چې يو توپير د هغې په وسيله کتلی شو "پېښليک کتنه" دا د "پېښليک کتل" ټب له لارې د لاسرسي وړ ده. له هغه ځایه، تاسو کولای شئ د "وروستنی" په کارولو سره د یوځل د نظرونو توپیرونه وګورئ، یا د راډیو تڼیو او د "ټاکلې بڼې سره پرتلل" تڼۍ په کارولو له څو نظرونو د توپیرونو د لیدلو لپاره.

Most special pages that list changes will usually include links to diffs, such as:

Another way to view a diff is with the Special:Diff page. To use this, you must know the IDs of the revisions you want to compare. Revision IDs can be retrieved by looking at the diff=123 portion of a diff URL, where 123 is the diff ID. Additionally, you can use the value of the oldid parameter to get the diff of that revision against the previous one.

د توپير برخې

لاندې د توپير پاڼو بېلابېلې مهمې برخې کتلی شئ چې د دوه بېلابېلو نسخو ترمنځ توپير راښيي.

Components of a diff


This interactive example shows the top of the diff page (some of the links are dummy links). The older revision is shown on the left, the newer revision on the right.

(Edit summaries in diffs are great)
و (correction, + MediaWiki User's Guide)
 
۸ کرښه: ۸ کرښه:
  For sysops and those with the rollback flag, a revert button is shown allowing them to revert from the new version to the old one.   For sysops and those with the rollback flag, a revert button is shown allowing them to revert from the new version to the old one.
This is only shown when viewing the diff between the current version and the one immediately preceding it. + This is only shown when viewing the diff between the recent version of a page and the last version by an author other than the one of the most current version.
  This example shows the top of the diff page, with the links described above.   This example shows the top of the diff page, with the links described above.
۲۵ کرښه: ۲۵ کرښه:
  </table>   </table>
+ [[MediaWiki User's Guide]]
+

نابدل شوی ليک

Unchanged text is dark grey on light grey (only parts before and after changed text are shown).

رنګونو کونجي
مخکينی توپير نوی توپير
نابدل شوی نابدل شوی

لېږدول شوی ليک

د یو ځای څخه بل ځای ته د تګ سره ورته متن معمولا د اضافه او لرې شوي متن په توګه وړاندې کیږي. On MediaWiki installations using Wikidiff2 , there may be an arrow icon more clearly indicating where the moved text went to.

ورزيات شوی ليک

هغه کرښې چې متن پکې ورزيات شوی دی د جمعې نښه (+) يې په مخ کې وي. ورزيات شوي ويوکي او نښې په غټ ډول نښه شوي دي.

لرې شوی ليک

د لرې شوي متن لرونکي کرښې د دوی مخې ته د منفي () نښه لري. لرې شوي کلمې او کرکټرونه په ټینګار او په لویو ټکو کې دي.

بدل شوی ليک

موږ کولی شو وګورو چې څه نوي مینځپانګې سره ځای په ځای شوي کله چې د + نښه او د − نښه د هغه جمله تر څنګ وي چیرې چې بدلون راغلی.

Paragraphs which have changed are black on white, with an orange border on the old revision side and a blue border on the new version side.

Inserted and removed text is highlighted with the border color and in bold. Where whole paragraphs have been removed or inserted, no highlighting or bolding is applied and the other side is blank.

رنګونو کونجي
پخوانۍ بیاکتنه نوې بیاکتنه
د دې برخې بدلون د دې برخې بدلون
رنګونو کونجي
پخوانۍ بیاکتنه نوې بیاکتنه
لرې شوې برخه  
  ورزياته شوې برخه
رنګونو کونجي
پخوانۍ بیاکتنه نوې بیاکتنه
له منځه وړل شوي کرکټرونه د کرکټرونو اضافه کول

توپير سره تړنې

Diffs can be linked to by copying the URL while viewing the diff — this URL has two parameters, diff and oldid.

Linking to a diff from outside a wiki can be done by using the full URL, for example:

  • https://mediawiki.org/w/index.php?diff=1242287

The diff special page at Special:Diff makes it easier to create shorter URLs which redirect to diffs.

From within a wiki, these links can take the following forms:

These links may be used in the edit summary as well as being adapted like any other internal links, e.g. [[Special:Diff/1242286/1242287|see this diff]]see this diff.

For example, the full URL [https://mediawiki.org/w/index.php?diff=1242287 1242287] could also be written as [[Special:Diff/1242287|1242287]].

By default, the later revision of the page is displayed in full below the diff — this can be turned off via a preference ("د توپيرونو نه لاندې د مخ مېنځپانگه پټول") or by setting diffonly=1 in the URL. Links to diffs without the page text can be created:

دننني توپيرونه

MediaWiki version:
1.35

Since MediaWiki 1.35, an inline diff (also known as a unified diff) is available. As of 2022 this is only available with the wikidiff2 engine. Inline diffs can be accessed by passing the diff-type=inline parameter in the URL (example).

MediaWiki version:
1.41

As of MediaWiki 1.41, a toggle was added to diff pages that allows users to switch between inline and two-column in the user interface (T336716).

Content added Content deleted
(Edit summaries in diffs are great)
و (correction, + MediaWiki User's Guide)
 

For sysops and those with the rollback flag, a revert button is shown allowing them to revert from the new version to the old one.

This is only shown when viewing the diff between the current version and the one of a page and the last version by an author other than the one of the most current version.. This example shows the top of the diff page, with the links described above.

</table>

[[MediaWiki User's Guide]]

↲ newline

The following changes were introduced for inline diff:

  • Legends and tooltips that explain the blue and yellow highlights. (T324759)
  • Annotation that represent when one or more lines are added or deleted. (T330247)

د بګ راپور ورکولو څرنګوالی؟

Bugs should be reported on Phabricator under the #MediaWiki-Page-diffs tag.

کارن سرچينې

The following user preferences are available in the "توپيرونه" section of the "ښکارېدنه" preferences tab:

د توپيرونو نه لاندې د مخ مېنځپانگه پټول
Toggle the display of the page text below the diff. This text is the later of the two revisions of the page.
د بیرته راګرځیدو وروسته، فرق څرګند نسو
Whether to show the diff of the rolled back revision after a rollback.

Some extensions also add their own preferences related to diffs. One such extension is Extension:RevisionSlider , which can be disabled in preferences using the "Don't show the revision slider" preference in that section.


داهم وګورئ

  • Help:History — د چلوونکو او پوهنيزو پاڼو پېښليک
  • Visual diffs — د کتنمل سمونګر او کتنمل توپيرګر شاتړي ترمنځ توپير