X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fchanges%2FChangesList.php;h=b8ab971b94d3750ff47eb33092f23e977d6d2f72;hb=d4ad0cd865837fe03b9a733e65fa70023e17d5c6;hp=a39568ba917da729e0ffceedbbfc1ad3aff4befa;hpb=508c30e38fe1db714f3bd99478c811b4094a9f7f;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/changes/ChangesList.php b/includes/changes/ChangesList.php index a39568ba91..b8ab971b94 100644 --- a/includes/changes/ChangesList.php +++ b/includes/changes/ChangesList.php @@ -58,8 +58,6 @@ class ChangesList extends ContextSource { protected $filterGroups; /** - * Changeslist constructor - * * @param Skin|IContextSource $obj * @param array $filterGroups Array of ChangesListFilterGroup objects (currently optional) */ @@ -474,17 +472,6 @@ class ChangesList extends ContextSource { ' '; } - /** - * @param string &$s Article link will be appended to this string, in place. - * @param RecentChange $rc - * @param bool $unpatrolled - * @param bool $watched - * @deprecated since 1.27, use getArticleLink instead. - */ - public function insertArticleLink( &$s, RecentChange $rc, $unpatrolled, $watched ) { - $s .= $this->getArticleLink( $rc, $unpatrolled, $watched ); - } - /** * @param RecentChange &$rc * @param bool $unpatrolled @@ -561,7 +548,13 @@ class ChangesList extends ContextSource { } else { $s .= $this->getLanguage()->getDirMark() . Linker::userLink( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] ); - $s .= Linker::userToolLinks( $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'] ); + $s .= Linker::userToolLinks( + $rc->mAttribs['rc_user'], $rc->mAttribs['rc_user_text'], + false, 0, null, + // The text content of tools is not wrapped with parenthesises or "piped". + // This will be handled in CSS (T205581). + false + ); } }