Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Wiki diff/doc

From Wikipedia, the free encyclopedia

This is a template for simulating diffs. It has a number of limitations, and can behave oddly at times.

It uses the old diff appearance. This is no longer the default, but can be set in the preferences panel: Gadgets > Appearance > Display diffs with the old yellow/green colors and design.

Full parameters

[edit]
{{wiki diff
|user_1=
|user_2=
|date_1=
|date_2=
|minor_1=
|summary_1=
|minor_2=
|summary_2=
<!-- changed -->
|line_mid=
|same_a=
|removed_a=
|added_a=
|same_b=
|removed_b=
|added_b=
|same_c=
|removed_c=
|added_c=
|same_d=
|removed_d=
|added_d=
|same_e=
|removed_e=
|added_e=
|same_f=
|removed_f=
|added_f=
|same_g=
|removed_g=
|added_g=
<!-- bottom -->
|line_bottom=
|bottom=
}}

Example

[edit]
Revision as of date_1 (edit)

user_1 (talk | contribs)
m (summary_1)
Previous edit

Revision as of date_2 (edit) (undo)
user_2 (talk | contribs)    (rollback | undo)
(summary_2)
Line line_mid: Line line_mid:
- same_a removed_a same_b removed_b same_c removed_c same_d removed_d same_e removed_e same_f removed_f same_g removed_g + same_a added_a same_b added_b same_c added_c same_d added_d same_e added_e same_f added_f same_g added_g
Line line_bottom: Line line_bottom:
bottom bottom

See also

[edit]