ထႅမ်းပလဵတ်ႉ:Compare pages/doc
ၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းပဵၼ် ၽိုၼ်ၵႅမ်မိုဝ်း လၢႆးၸႂ်ႉတိုဝ်း (documentation) ႁင်း တွၼ်ႈတႃႇ ၼႃႈလိၵ်ႈၽႄ (subpage) ထႅမ်းပလဵတ်ႉ:Compare pages ၼၼ်ႉယဝ်ႉ။ တီႈၼႃႈလိၵ်ႈဢၼ်ၼႆႉၼႆႉ မၼ်းတေၶဝ်ႈပႃးဝႆႉ လၢႆးၸႂ်ႉတိုဝ်း လႄႈ ၶေႃႈၶၢဝ်ႇဢၼ်ၵဵဝ်ႇၵပ်း၊ ပိူင်ထၢၼ်ႈ လႄႈ ၶေႃႈမုၼ်းတၢင်ႇၸိူဝ်း ဢၼ်ဢမ်ႇၵဵဝ်ႇၵပ်း တင်း ထႅမ်းပလဵတ်ႉ page ၼၼ်ႉယဝ်ႉ။ |
Similar to the {{Diff}} template, this template is intended to be useful for creating links to "diffs"; that is, links to pages that show the differences between two versions of a wiki page. The major difference is that {{Diff}}
is intended to show two versions of the same page, and this creates a link to Special:ComparePages to show one version of two different pages.
Every version of a page has a revision ID, which you can find from the history of the page by looking at the link for the timestamp, which is of the form:
https://en.wikipedia.org/w/index.php?title=SomePageName&oldid=442212827
The number after oldid= is the revision ID.
Given a page name and one or two revision IDs, you can construct links to several types of diffs.
လွင်ႈၸႂ်ႉတိုဝ်း
[မႄးထတ်းငဝ်ႈငႃႇ]{{Compare pages|page or oldid for page 1|page or oldid for page 2}}
- page – The title of the page.
- oldid – The revision ID onto which the diff is generated.
All parameters are required. Omitting parameters will return an error.
တူဝ်ယၢင်ႇ
[မႄးထတ်းငဝ်ႈငႃႇ]Code | Output |
---|---|
{{Compare pages|Foo|Bar}}
|
compare Foo to Bar
This is the form that would be used most often. |
{{Compare pages|Foo|Bar|Difference between pages}}
|
Difference between pages |
{{Compare pages|Foo}}
|
Two pages are needed to compare. |
{{Compare pages||Bar}}
|
Two pages are needed to compare. |
တူၺ်းပႃး
[မႄးထတ်းငဝ်ႈငႃႇ]- {{Oldid}} – simplifies the case for linking to a known old version
- {{Diff}}
- {{Diff2}}
- {{Querylink}} – generic template to construct query strings
- diff utility – syntax highlight on wiki pages with mw:Extension:SyntaxHighlight GeSHi
- User:Scottywong/diffconverter, a tool for converting from raw form
- Special:ComparePages