MediaWiki
REL1_19
|
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 1326 of file DairikiDiff.php.
Definition at line 1327 of file DairikiDiff.php.
TableDiffFormatter::_added | ( | $ | lines | ) |
$lines | array |
Reimplemented from DiffFormatter.
Definition at line 1421 of file DairikiDiff.php.
References $lines, addedLine(), echo, and emptyLine().
TableDiffFormatter::_block_header | ( | $ | xbeg, |
$ | xlen, | ||
$ | ybeg, | ||
$ | ylen | ||
) |
$xbeg | |
$xlen | |
$ybeg | |
$ylen |
Reimplemented from DiffFormatter.
Definition at line 1351 of file DairikiDiff.php.
TableDiffFormatter::_changed | ( | $ | orig, |
$ | closing | ||
) |
$orig | |
$closing |
Reimplemented from DiffFormatter.
Definition at line 1455 of file DairikiDiff.php.
References addedLine(), deletedLine(), echo, emptyLine(), wfProfileIn(), and wfProfileOut().
TableDiffFormatter::_context | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1443 of file DairikiDiff.php.
References $lines, contextLine(), and echo.
TableDiffFormatter::_deleted | ( | $ | lines | ) |
$lines |
Reimplemented from DiffFormatter.
Definition at line 1432 of file DairikiDiff.php.
References $lines, deletedLine(), echo, and emptyLine().
Reimplemented from DiffFormatter.
Definition at line 1364 of file DairikiDiff.php.
TableDiffFormatter::_lines | ( | $ | lines, |
$ | prefix = ' ' , |
||
$ | color = 'white' |
||
) |
Definition at line 1367 of file DairikiDiff.php.
TableDiffFormatter::_start_block | ( | $ | header | ) |
$header |
Reimplemented from DiffFormatter.
Definition at line 1360 of file DairikiDiff.php.
References echo.
TableDiffFormatter::addedLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1375 of file DairikiDiff.php.
References wrapLine().
Referenced by _added(), and _changed().
TableDiffFormatter::contextLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1393 of file DairikiDiff.php.
References wrapLine().
Referenced by _context().
TableDiffFormatter::deletedLine | ( | $ | line | ) |
HTML-escape parameter before calling this.
$line |
Definition at line 1384 of file DairikiDiff.php.
References wrapLine().
Referenced by _changed(), and _deleted().
Definition at line 1414 of file DairikiDiff.php.
Referenced by _added(), _changed(), and _deleted().
static TableDiffFormatter::escapeWhiteSpace | ( | $ | msg | ) | [static] |
$msg |
Definition at line 1337 of file DairikiDiff.php.
Referenced by wrapLine().
TableDiffFormatter::wrapLine | ( | $ | marker, |
$ | class, | ||
$ | line | ||
) | [private] |
$marker | |
$class | |
$line |
Definition at line 1403 of file DairikiDiff.php.
References escapeWhiteSpace(), and Xml\tags().
Referenced by addedLine(), contextLine(), and deletedLine().