History of Inline Diff

{maketoc}

!! Inline Diff and WYSIWYG
If you're using the -+HTML+- format, and possibly a -+WYSIWYG+- editor like ((FCKEditorPackage|FCKEditor)) or ((TinyMCEPackage|TinyMCE)), you can compare different versions of a Wiki page efficiently with -+Text_Diff+- (a PEAR package that needs to be installed on your system).

If content is present in -+HTML+- (-+format_guid=bithtml+-), Bitweaver decodes entities in order to display only the content of the text, not the markup. The goal is to be able to see the differences between two pages colorful like in the following image. Note that the colors themselves have to be set in your style's CSS. -+Text_Diff+- wraps deleted and inserted sequences in XHTML compliant semantic markup (-+~np~<del>~/np~+- and -+~np~<ins>~/np~+-).

{attachment id=791 size=medium style="border:1px solid #000;width:400px"}

!! Inline VS line-based
Enable __Inline Diff__ in ''Admin > Liberty > General Settings > Misc''. If enabled, comparing two wiki pages will look similiar to the second half of this indicating screenshot:

{attachment id=909 size=medium link="http://www.bitweaver.org/storage/users/32/32/images/909/inline_diff.png" style="border:1px solid #000;width:400px"}


!! Notes
* To make -+Text_Diff+- work with -+UTF-8+-, you ''might'' have to stop the -+WYSIWYG+--editor from processing special characters (Motörhead VS Mot~np~&ouml;~/np~rhead). This is very specific to your site's and editor's setup and might not be needed at all.
* add yours ...
Page History
Date/CommentUserIPVersion
17 Sep 2008 (18:31 UTC)
laetzer85.178.14.2161
Current • Source
No records found