# - optional message
return array(
- ### ANONYMOUS USER ########################################
+ # ## ANONYMOUS USER ########################################
array(
'<a href="/wiki/Special:Contributions/JohnDoe" '
. 'title="Special:Contributions/JohnDoe" '
'Anonymous with IPv4 and an alternative username'
),
- ### Regular user ##########################################
+ # ## Regular user ##########################################
# TODO!
);
}
* @covers Linker::formatAutocomments
* @covers Linker::formatLinksInComment
*/
- public function testFormatComment( $expected, $comment, $title = false, $local = false, $wikiId = null ) {
+ public function testFormatComment(
+ $expected, $comment, $title = false, $local = false, $wikiId = null
+ ) {
$conf = new SiteConfiguration();
$conf->settings = array(
'wgServer' => array(
public function provideCasesForFormatComment() {
$wikiId = 'enwiki'; // $wgConf has a fake entry for this
+ // @codingStandardsIgnoreStart Generic.Files.LineLength
return array(
// Linker::formatComment
array(
false, false, $wikiId
)
);
+ // @codingStandardsIgnoreEnd
}
/**
}
public static function provideCasesForFormatLinksInComment() {
+ // @codingStandardsIgnoreStart Generic.Files.LineLength
return array(
array(
'foo bar <a href="/wiki/Special:BlankPage" title="Special:BlankPage">Special:BlankPage</a>',
'enwiki',
),
);
+ // @codingStandardsIgnoreEnd
}
}