ထႅမ်းပလဵတ်ႉ:diff
Appearance
- The following documentation is located at ထႅမ်းပလဵတ်ႉ:diff/documentation. [edit]
- Useful links: subpage list • links • redirects • transclusions • errors (parser/module) • sandbox
Displays the link for a diff. This is an enhanced version of Special:diff
လၢႆးၸႂ်ႉတိုဝ်း
[မႄးထတ်း]The first two numbered parameters are the ID numbers of the revisions (in either order). If only the first parameter is given, the diff is to the previous revision. If only the second is given, the diff is to the current revision. If neither is given, the diff is to the current revision of the main page. Thus:
{{diff|4055082|3025433}}
yields diff{{diff|3025433|4055082}}
yields diff (the same as above){{diff|4055082}}
yields diff{{diff|4055082|}}
yields diff{{diff||4055082}}
yields diff{{diff}}
yields diff
Moreover, there's an optional named Boolean parameter, only
, or you can use diffonly
, which, if nonzero, makes the diff URL have diffonly set.
{{diff|4055082|3025433|only=1}}
yields diff{{diff|4055082|3025433|diffonly=1}}
yields diff{{diff|3025433|4055082|only=}}
yields diff
The third, or text
, parameter, yields the text to be displayed:
{{diff|4055082|3025433|this diff}}
yields this diff{{diff|4055082|3025433|text=some text}}
yields some text
dir
(direction) changes default 'current revision' to: