mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-16 20:58:28 +00:00
8b71a2b5dc
This fixes missing reply links in arwiki test output. Change-Id: I24d3b8371a8343c4445c716fadf0692be0924eed
22 lines
493 B
PHP
22 lines
493 B
PHP
<?php
|
|
|
|
namespace MediaWiki\Extension\DiscussionTools\Tests;
|
|
|
|
use DOMElement;
|
|
use MediaWiki\Extension\DiscussionTools\CommentFormatter;
|
|
use MediaWiki\Extension\DiscussionTools\CommentParser;
|
|
|
|
class MockCommentFormatter extends CommentFormatter {
|
|
|
|
public static $data;
|
|
|
|
/**
|
|
* @param DOMElement $container
|
|
* @return CommentParser
|
|
*/
|
|
protected static function getParser( DOMElement $container ) : CommentParser {
|
|
return CommentTestCase::createParser( $container, static::$data );
|
|
}
|
|
|
|
}
|