MediaWiki
REL1_22
|
Wikipedia Table style diff formatter. More...
Public Member Functions | |
__construct () | |
_added ($lines) | |
_block_header ($xbeg, $xlen, $ybeg, $ylen) | |
_changed ($orig, $closing) | |
_context ($lines) | |
_deleted ($lines) | |
_end_block () | |
_lines ($lines, $prefix= ' ', $color= 'white') | |
_start_block ($header) | |
addedLine ($line) | |
HTML-escape parameter before calling this. | |
contextLine ($line) | |
HTML-escape parameter before calling this. | |
deletedLine ($line) | |
HTML-escape parameter before calling this. | |
emptyLine () | |
Static Public Member Functions | |
static | escapeWhiteSpace ($msg) |
Private Member Functions | |
wrapLine ($marker, $class, $line) |
Wikipedia Table style diff formatter.
Definition at line 1345 of file DairikiDiff.php.
Definition at line 1346 of file DairikiDiff.php.
TableDiffFormatter::_added | ( | $ | lines | ) |
$lines | array |
Reimplemented from DiffFormatter.
Definition at line 1440 of file DairikiDiff.php.
References $lines, addedLine(), as, and emptyLine().
TableDiffFormatter::_block_header | ( | $ | xbeg, |
$ | xlen, | ||
$ | ybeg, | ||
$ | ylen | ||
) |
$xbeg | |
$xlen | |
$ybeg | |
$ylen |
Reimplemented from DiffFormatter.
Definition at line 1370 of file DairikiDiff.php.
TableDiffFormatter::_changed | ( | $ | orig, |
$ | closing | ||
) |
$orig | |
$closing |
Reimplemented from DiffFormatter.
Definition at line 1474 of file DairikiDiff.php.
References addedLine(), any, as, deletedLine(), emptyLine(), wfProfileIn(), and wfProfileOut().
TableDiffFormatter::_context | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1462 of file DairikiDiff.php.
References $lines, as, and contextLine().
TableDiffFormatter::_deleted | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1451 of file DairikiDiff.php.
References $lines, as, deletedLine(), and emptyLine().
Reimplemented from DiffFormatter.
Definition at line 1383 of file DairikiDiff.php.
TableDiffFormatter::_lines | ( | $ | lines, |
$ | prefix = ' ' , |
||
$ | color = 'white' |
||
) |
Definition at line 1386 of file DairikiDiff.php.
TableDiffFormatter::_start_block | ( | $ | header | ) |
$header |
Reimplemented from DiffFormatter.
Definition at line 1379 of file DairikiDiff.php.
TableDiffFormatter::addedLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1394 of file DairikiDiff.php.
References wrapLine().
Referenced by _added(), and _changed().
TableDiffFormatter::contextLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1412 of file DairikiDiff.php.
References wrapLine().
Referenced by _context().
TableDiffFormatter::deletedLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1403 of file DairikiDiff.php.
References wrapLine().
Referenced by _changed(), and _deleted().
Definition at line 1433 of file DairikiDiff.php.
Referenced by _added(), _changed(), and _deleted().
static TableDiffFormatter::escapeWhiteSpace | ( | $ | msg | ) | [static] |
$msg |
Definition at line 1356 of file DairikiDiff.php.
Referenced by wrapLine().
TableDiffFormatter::wrapLine | ( | $ | marker, |
$ | class, | ||
$ | line | ||
) | [private] |
$marker | |
$class | |
$line |
Definition at line 1422 of file DairikiDiff.php.
References escapeWhiteSpace(), and tags().
Referenced by addedLine(), contextLine(), and deletedLine().