From d383f5a5e898f0d2bbd17f5ca5cc2193da08462d Mon Sep 17 00:00:00 2001
From: Antoine Musso
-This show various styles for our diff action. The reference style sheet is:
resources/mediawiki.action/mediawiki.action.history.diff.css.
This file might help us fix our diff colors which have been a recurring issues among the community for a loooong time.
+ ++First, show the diff mostly like it would be chown on a wiki
+- | +
+ Some content deleted / replaced
+ |
+ + | +
+ Some content added / replacement
+ |
+
+Below are some basic lines being applied one or two classes. Mainly for debugging purposes
+Diff |
---|
diff-context: context |
Same as above with diffchange class |
Same as above with a <span> child element having the diffchange class |
Diffchange |
Added line + diffchange |
Deleted line + diffchange |
Context + diffchange |
+ Added line + diffchange + |
+ Deleted line + diffchange + |
+ Context + diffchange + |