diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2012-05-03 13:01:35 +0200 |
commit | d9022f63880ce039446fba8364f68e656b7bf4cb (patch) | |
tree | 16b40fbf17bf7c9ee6f4ead25b16dd192378050a /docs/uidesign/mediawiki.action.history.diff.html | |
parent | 27cf83d177256813e2e802241085fce5dd0f3fb9 (diff) |
Update to MediaWiki 1.19.0
Diffstat (limited to 'docs/uidesign/mediawiki.action.history.diff.html')
-rw-r--r-- | docs/uidesign/mediawiki.action.history.diff.html | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/docs/uidesign/mediawiki.action.history.diff.html b/docs/uidesign/mediawiki.action.history.diff.html new file mode 100644 index 00000000..fdc54aa3 --- /dev/null +++ b/docs/uidesign/mediawiki.action.history.diff.html @@ -0,0 +1,57 @@ +<!DOCTYPE html> +<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <link rel="stylesheet" href="../../resources/mediawiki.action/mediawiki.action.history.diff.css" /> +</head> +<body style="background-color: #C0C0C0;"> +<p> +This show various styles for our diff action, the background being hardcoded to gray (<tt>#C0C0C0</tt>) The reference style sheet is:</p> +<p> +<tt><a href="../../resources/mediawiki.action/mediawiki.action.history.diff.css">resources/mediawiki.action/mediawiki.action.history.diff.css</a></tt>. +</p> +<p> +This file might help us fix our diff colors which have been a recurring issues among the community for a loooong time.</p> + +<p> +First, show the diff mostly like it would be chown on a wiki</p> +<table class="diff"> +<tr> + <td class="diff-marker">-</td> + <td class="diff-deletedline"><div> + Some content <span class="diffchange diffchange-inline">deleted / replaced</span> + </div></td> + <td class="diff-marker">+</td> + <td class="diff-addedline"><div> + Some content <span class="diffchange diffchange-inline">added / replacement</span> + </div></td> +</tr> +</table> + + +<p> +Below are some basic lines being applied one or two classes. Mainly for debugging purposes</p> + +<table class="diff"> + + <tr><th>Diff</th></tr> + + <tr><td class="diff-addedline"><tt>diff-addedline</tt>: added line</td></tr> + <tr><td class="diff-deletedline"><tt>diff-deletedline</tt>: deleted line</td></tr> + <tr><td class="diff-context"><tt>diff-context</tt>: context</td></tr> + + + <tr><th>Same as above with a <tt><span></tt> child element having the <tt>diffchange</tt> class</th></tr> + + <tr><td class="diffchange">Diffchange</td></tr> + <tr><td class="diff-addedline"> + <span class="diffchange">Added line + diffchange</span> + </td></tr> + <tr><td class="diff-deletedline"> + <span class="diffchange">Deleted line + diffchange</span> + </td></tr> + <tr><td class="diff-context"> + <span class="diffchange">Context + diffchange</span> + </td></tr> +</table> + +</body></html> |