Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

Re: [MediaWiki-CVS] SVN: [37884] trunk/phase3/includes/GlobalFunctions.php

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


Simetrical+wikilist at gmail

Jul 21, 2008, 2:33 PM

Post #1 of 1 (334 views)
Permalink
Re: [MediaWiki-CVS] SVN: [37884] trunk/phase3/includes/GlobalFunctions.php

On Mon, Jul 21, 2008 at 12:24 PM, <ialex [at] svn> wrote:
> Revision: 37884
> Author: ialex
> Date: 2008-07-21 16:24:39 +0000 (Mon, 21 Jul 2008)
>
> Log Message:
> -----------
> Use the internal diff engine if the diff excutable is not found
> ...
> + $diffs = new Diff( explode( "\n", $before ), explode( "\n", $after ) );
> + $format = new UnifiedDiffFormatter();

Maybe it would make sense to have diff engine do the fallback to the
diff utility, rather than the caller? It seems like
$wgExternalDiffEngine currently must be manually set to true to take
advantage of utilities like Unix diff. Unless there are problems with
the option, it seems like it would be sensible to use command-line
utilities automatically if available.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.