Lines Matching full:diff
5 use Diff; alias
34 case 'diff':
36 $opt = ['rev' => $this->getRev(), 'do' => 'diff'];
48 case 'diff':
49 $diff = $this->getDiff();
50 // note: diff output must be escaped, UnifiedDiffFormatter provides plain text
52 return "<pre>\n" . hsc($udf->format($diff)) . "\n</pre>";
55 $diff = $this->getDiff();
56 // note: no need to escape diff output, TableDiffFormatter provides 'safe' html
61 $content .= $tdf->format($diff);
199 * Get a diff between this and the previous revision
201 * @return Diff
208 return new Diff(
213 return new Diff([''], explode("\n", rawWiki($this->getId(), '')));