MaxSem has uploaded a new change for review. https://gerrit.wikimedia.org/r/276818
Change subject: Update documentation ...................................................................... Update documentation * Instructions on compilation with HHVM * Remove changelog, unmaintained and duplicates debian/changelog * Minor fixes Change-Id: Iad7b78646979c9a68fd28181ed30d14b2f3c2d09 --- M README M tests/003.phpt 2 files changed, 9 insertions(+), 16 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/php/wikidiff2 refs/changes/18/276818/1 diff --git a/README b/README index f4e14f4..67067fe 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Wikidiff2 is partly based on the original wikidiff, partly on DifferenceEngine.php, and partly my own work. It performs word-level (space-delimited) diffs on general text, and character-level diffs on text composed of characters from the Japanese and Thai alphabets and the unified han. Japanese, Chinese and Thai do not use spaces to separate words. The input is assumed to be UTF-8 encoded. Invalid UTF-8 may cause undesirable operation, such as truncation of the output, so the input should be validated by the application. The input text should have unix-style line endings. +Wikidiff2 is partly based on the original wikidiff, partly on DifferenceEngine.php, and partly Tim Starling's own work. It performs word-level (space-delimited) diffs on general text, and character-level diffs on text composed of characters from the Japanese and Thai alphabets and the unified han. Japanese, Chinese and Thai do not use spaces to separate words. The input is assumed to be UTF-8 encoded. Invalid UTF-8 may cause undesirable operation, such as truncation of the output, so the input should be validated by the application. The input text should have unix-style line endings. The output is an HTML fragment -- a number of HTML table rows with the rest of the document structure omitted. The characters "<", ">" and "&" will be HTML-escaped in the output. @@ -19,29 +19,22 @@ * libthai, a Thai language support library http://linux.thai.net/plone/TLWG/libthai/ + On Debian-based systems, you need libthai0 and libthai-dev packages -To compile and install it: +== Compilation and installation with Zend PHP == $ phpize $ ./configure $ make $ sudo make install -== Changelog == +== Compilation and installation with HHVM == -2013-08-07 -* (bug 52616) Use <ins> and <del> for insertions and deletions +$ hphpize +$ cmake . +$ make +$ sudo make install -2012-01-03 -* (bug 26354) Add class to dummy cells containing -* (bug 25697) Add   to empty context lines -2010-09-30 -* Automatically use CXXFLAGS=-Wno-write-strings - -2010-06-14 -* Converted the extension from swig to PHP native. -* Added Thai word break support -* Added PHP allocator support vim: wrap diff --git a/tests/003.phpt b/tests/003.phpt index 2bd90fa..1a3399e 100644 --- a/tests/003.phpt +++ b/tests/003.phpt @@ -1,5 +1,5 @@ --TEST-- -Diff test C: https://bugzilla.wikimedia.org/show_bug.cgi?id=27993 +Diff test C: https://phabricator.wikimedia.org/T29993 --SKIPIF-- <?php if (!extension_loaded("wikidiff2")) print "skip"; ?> --FILE-- -- To view, visit https://gerrit.wikimedia.org/r/276818 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iad7b78646979c9a68fd28181ed30d14b2f3c2d09 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/php/wikidiff2 Gerrit-Branch: master Gerrit-Owner: MaxSem <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
